Encode and decode Base64 text, files, and images instantly. URL-safe mode, data URI generation, and full UTF-8 support. 100% client-side — your data never leaves your browser.
Base64 is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format. It uses a set of 64 characters — uppercase letters (A-Z), lowercase letters (a-z), digits (0-9), and two symbols (+ and /) — to encode arbitrary bytes into text that can be safely transmitted over text-based protocols.
Common use cases include embedding images directly in HTML or CSS via data URIs, encoding binary attachments in email (MIME), transmitting data through JSON APIs, and storing complex data in cookies or URL parameters. Base64-encoded data is roughly 33% larger than the original binary data.
This tool runs entirely in your browser using the native btoa() and atob() functions with TextEncoder/TextDecoder for proper UTF-8 handling. No data is ever sent to a server.