Developer tools
Base64 Encode/Decode
Encode and decode Base64, UTF-8 safe.
How it works
- 1Choose Encode or Decode.
- 2Paste your input.
- 3Copy the result.
Use cases
- Embed small assets in source code
- Decode Authorization headers
- Transport binary data in JSON
Frequently asked questions
Why is base64 longer than the input?
Base64 encodes 3 bytes into 4 characters, growing the size by ~33%.
Read the guide
Base64 explained, and when you actually need it
Base64 is not encryption. It is not compression. Here is what it actually is and the five real-world use cases that justify it.