Developer utility
Base64 Encode / Decode
Encode text as Base64 or decode Base64 back to UTF-8 text. Your input stays in this browser.
Encode or decode Base64
How to use this Base64 tool
Convert UTF-8 text and standard Base64 in three browser-only steps.
- Paste or type text when you want to encode, or paste standard Base64 when you want to decode.
- Choose Encode to create Base64 or Decode to restore UTF-8 text.
- Copy the result when you are ready to use it elsewhere.
Frequently asked questions
- Is my text sent to a server?
- No. Encoding and decoding happen entirely in your browser, so the text you enter stays on your device.
- Can I encode Chinese characters and emoji?
- Yes. The encoder converts text to UTF-8 bytes before creating Base64, so Unicode text such as Chinese characters and emoji is preserved.
- Why does valid Base64 sometimes fail to decode as text?
- Base64 can represent any bytes, not only text. This tool reports a separate error when valid Base64 decodes to bytes that are not valid UTF-8 text.
Related developer tools
Format structured data or generate identifiers for your next development task.