Base64 Encoder & Decoder
Encode and decode text strings or upload files to raw Base64 and Data URI formats.
How to Encode and Decode Base64
Select whether you want to "Encode" or "Decode".
Choose your input type: "Text String" or "Binary File Upload".
For text: type or paste your characters to get instant Base64 output. For files: drag & drop images, documents, or audio files to generate Data URIs.
Toggle URL-Safe encoding if you plan to pass Base64 strings in URL query parameters.
Copy the result or download the decoded file directly to your drive.
Why use this base64 encoder & decoder?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation. It is widely utilized across web applications for inlining small image assets into CSS/HTML data URIs, encoding email attachments in MIME, and transmitting binary payloads over text-only protocols.