Base64 Encoder & Decoder
Turn text into Base64, or decode Base64 back into readable text.
Encoding text or small files to Base64 (or decoding Base64 back to readable text) comes up constantly in web development, email attachments, and API work — do it instantly without a command-line tool.
How it works
- Paste your textType or paste whatever you want to encode or decode into the box.
- Pick a directionClick Encode to turn text into Base64, or Decode to turn Base64 back into text.
- Copy the resultThe box updates in place — copy it straight from there.
Good to know
- Correctly handles non-ASCII text — emoji, accented characters, and non-Latin scripts encode and decode without corruption
- Decoding invalid Base64 shows a clear error instead of garbled output
- Works entirely offline once the page has loaded
- No length limit beyond what your browser's memory can hold