Home / Text & data tools / Base64
Base64 encode / decode
Text or files, both directions — Unicode-safe encoding, data-URI output for images, and instant file rebuild from Base64.
Everything runs locally — tokens, secrets and files never leave your device.
How it works
- Text mode: type or paste, click Encode or Decode — done.
- File → Base64: drop any file and copy its Base64 (or data URI) string.
- Base64 → File: paste a Base64 string, name the file, and download the rebuilt original.
Frequently asked questions
What is Base64 used for?
Embedding binary data where only text is allowed: images inside CSS/HTML (data URIs), email attachments, API payloads, config files and JWT tokens.
Why does my decoded text look garbled?
The Base64 probably wasn't UTF-8 text — it may be binary data (use Base64 → File mode instead) or encoded with a different charset.
Is Base64 encryption?
No — it's an encoding, not encryption. Anyone can decode it; never use it to “hide” secrets.
