About Base64 Encoder / Decoder
Convert Unicode text to and from Base64 using browser byte APIs instead of Latin-1-only shortcuts.
The encoder converts Unicode text to UTF-8 bytes before Base64 encoding, avoiding the character corruption caused by older Latin-1-only shortcuts. Decoding validates the alphabet and requires valid UTF-8 output.
How to use it
- Enter or select your source data.
- Adjust the available options and run the tool.
- Review, copy, or download the result.
Common use cases
- Inspect Base64 text from APIs or configuration files.
- Encode Unicode sample values for tests and documentation.
- Decode small text payloads without using an online service.
Worked example
Encode “Hello, 世界” and decode it again without losing Unicode.
Limitations and responsible use
- Base64 is an encoding, not encryption, compression, or password protection.
- This tool expects decoded bytes to be UTF-8 text; use Base64 to File for binary data.
- Very large pasted values can consume significant browser memory.
Frequently asked questions
Is Base64 safe for storing secrets?
No. Anyone can decode it; use appropriate encryption or a secret manager instead.
Why can a valid Base64 value fail to decode as text?
Its bytes may represent an image, archive, or another non-UTF-8 binary format.