Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 back to readable text online free. Handles UTF-8, accents and emoji correctly and runs entirely in your browser.

Runs in your browserNothing uploadedFree · no signup

Frequently asked questions

Does this handle non-English characters?
Yes. Encoding and decoding are UTF-8 safe, so emoji and non-Latin scripts convert correctly.
Is my data sent to a server?
No. All encoding and decoding happens locally in your browser. Nothing is uploaded.
Is Base64 a form of encryption?
No. Base64 is an encoding, not encryption — it has no key, and anyone can decode it in a second. Use it to carry data through systems that only accept text, never to hide passwords or secrets.
Why does decoding fail with an error?
The input has a character Base64 doesn't use, or it was cut off. A common case is URL-safe Base64 (used in JWTs), which writes - and _ instead of + and /; swap those back before decoding. Spaces and line breaks inside the string are ignored, so wrapped Base64 decodes fine.
Can I convert an image or file to Base64?
This tool converts text. For images, use the Image to Base64 tool, which turns a picture into a Base64 data URI and can also decode one back into an image.