Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to readable text, with full UTF-8 support — accents, symbols and emoji included.
How to use this tool
- Type or paste text (or a Base64 string) into the input box.
- Press “Encode” or “Decode”.
- Use “Swap” to move the output back into the input for round-trips.
- Copy the result, or upload a small text file to encode it.
Key features
- Proper UTF-8 handling — no mangled characters.
- Friendly errors when the input is not valid Base64.
- Swap button for quick encode/decode round-trips.
- Runs locally in your browser; nothing is transmitted.
Frequently asked questions
No. Base64 is an encoding, not encryption — anyone can decode it. Never use it to protect sensitive information.
Base64 only contains letters, digits, +, / and = padding. If your input has other characters, is truncated, or decodes to binary data rather than text, we show a message explaining the problem.
Embedding data in text formats — for example data URIs, email attachments, basic-auth headers and storing binary data in JSON or XML.
This tool runs entirely in your browser — your data is never sent to or stored on our server.
Related tools
Format, validate and minify JSON with clear error messages.
Generate up to 100 secure random UUIDs (v4) at once.