Base64 Encoder & Decoder
Convert text to Base64 for transport or decode a UTF-8 Base64 value without uploading either value.
A QUICK WALKTHROUGH
How to use this tool
- Paste text or a Base64 value up to 100,000 characters.
- Choose Encode to Base64 or Decode from Base64.
- Review and copy the result.
UTF-8 text handling
The tool encodes and decodes UTF-8 bytes with TextEncoder and TextDecoder. It works for Unicode text such as accented letters, non-Latin scripts, and emoji.
Base64 is not encryption
Base64 is an encoding for bytes, not a way to protect private data. Do not treat an encoded secret as hidden, and check the decoded text before using it.
GOOD TO KNOW
Common questions
Why does decoding fail?
The value may contain invalid Base64 characters, bad padding, or bytes that are not valid UTF-8 text.
Can I encode emoji?
Yes. The encoder converts Unicode text to UTF-8 bytes first.
Is Base64 secure?
No. Anyone can decode Base64; it is not encryption.