Base64 Encoder & Decoder
Encode and decode text or files to Base64 — with UTF-8 support, URL-safe output, drag-and-drop file encoding and image preview. Everything runs in your browser.
About the Base64 Encoder & Decoder
Base64 encoding represents binary or text data using a 64-character ASCII set, so it can travel safely through systems that only handle text — email bodies, JSON fields, data URIs and HTTP headers. Bytewrench's encoder converts any text to Base64 and decodes Base64 strings back to readable text instantly.
The tool handles full Unicode (UTF-8) correctly, so emoji and non-Latin characters round-trip without corruption, and it runs entirely in your browser.
Convert text to Base64 and back with a single click, including a quick swap button.
Correctly encodes emoji, accents and non-Latin scripts without mangling characters.
Runs locally — no requests, no waiting, works even without a connection.
Your text is processed in the browser and never sent anywhere.
Frequently asked questions
What is Base64 used for?
Base64 lets binary or text data pass through text-only channels such as email, JSON, XML, data URIs and HTTP headers without being altered.
Is Base64 the same as encryption?
No. Base64 is encoding, not encryption. Anyone can decode it, so it provides no security — never use it to protect secrets.
Does it support Unicode and emoji?
Yes. The encoder uses UTF-8 so emoji and non-Latin characters encode and decode correctly.
Why does my decode fail?
Decoding fails if the input is not valid Base64 — check for stray spaces, line breaks or characters outside the Base64 alphabet.