About Base64 Encoder / Decoder
This tool converts plain text and files to and from Base64 — a text-based encoding commonly used to embed binary data (images, fonts, documents) inside text formats like JSON, HTML, CSS, or email attachments. You can encode any file into a Base64 string, or decode a Base64 string back into a downloadable file. All conversion happens entirely inside your browser; your files and text are never uploaded anywhere.
Understanding Base64 Encoding
Base64 represents binary data using only 64 printable ASCII characters (A–Z, a–z, 0–9, +, /), which makes it safe to transmit through systems designed to handle text, such as email or JSON payloads. Every 3 bytes of the original data are converted into 4 Base64 characters, which is why Base64-encoded data is roughly 33% larger than the original. A common use case is a Data URI — a Base64 string prefixed with its MIME type (e.g. data:image/png;base64,...) — which lets a browser render an image directly from the string without a separate file request.
Send Feedback
For any questions, bug reports, or feature requests, please drop your comments below.