How to encode or decode Base64
- 1
Pick Encode to turn text into Base64, or Decode to turn Base64 back into text.
- 2
Paste or type into the box. The result updates as you type.
- 3
Copy the result.
Questions
What is Base64?
A way to write any data using only 64 plain characters (A–Z, a–z, 0–9, + and /). It's used to put images, files or binary data inside text, like emails, JSON or data URLs.
Is Base64 encryption?
No. It's an encoding, not encryption: anyone can decode it. Don't use it to hide passwords or secrets.
Why does the result end with = signs?
Base64 works in groups of 3 bytes. When the input doesn't divide evenly, one or two = signs pad the end.
Is my data uploaded anywhere?
No. This tool runs entirely in your browser, so what you paste never leaves your device.