Transforms & generators
Base64 encode and decode
Turn text into Base64, or Base64 back into text, using UTF-8. Useful for data URLs, tokens, and quick inspections.
Processed in your browser — nothing is uploaded
Base64 is how text hitchhikes through systems that prefer ASCII. Encode to embed; decode to read. Both directions stay in this tab.
If you are staring at a JSON blob that happens to contain a Base64 field, format the wrapper with the JSON formatter first.
Last reviewed 2026-09-10.
FAQ
Questions, answered
Is Unicode supported?
Yes. Encoding uses UTF-8 bytes, so emoji and non-Latin letters round-trip correctly.
What if the string is not valid Base64?
Decode mode checks the alphabet and padding. On failure you keep the original text and see an error.
Does this work for files?
This MVP encodes text. Drop a .txt file into the tool if you want the file’s contents as Base64. Binary file helpers come later.
Is Base64 encryption?
No. It is encoding. Anyone can decode it. Do not treat it as a way to hide secrets.
Related