Base64 Encoder / Decoder
Base64 turns text or data into a string of letters, numbers, + and /, and is common in email and web development. Unicode text such as emoji or non-Latin scripts is handled as UTF-8 so it does not break.
How to use
- Put text or a Base64 string in the top box.
- Click Encode or Decode.
- Copy the result from the bottom box.
Good for
- Creating values for API testing
- Reading Base64 values in config files
- Passing small bits of data
What is Base64?
It turns binary data or any text into just 64 characters (A–Z, a–z, 0–9, + and /) plus = for padding. It is used to put data where only plain text is allowed, such as email attachments, JSON and parts of URLs.
| Original | Base64 |
|---|---|
| hello | aGVsbG8= |
| A | QQ== |
| café | Y2Fmw6k= |
Good to know
- It is not encryption. Anyone can decode it instantly, so never use it to hide passwords or personal data.
- Encoded text is about 33% longer, because every 3 bytes become 4 characters.
- Text is encoded as UTF-8, so results match other UTF-8 Base64 tools.
- The URL-safe variant (- instead of +, _ instead of /) will not decode. Replace - with + and _ with / first.
FAQ
- Is Base64 encryption?
- No. Anyone can reverse it, so never use it to hide passwords or sensitive data.
- Why does decoding fail?
- The input is not valid Base64 or is cut off. Remove extra spaces and line breaks and try again.
- Decoding failed.
- The input has characters Base64 does not use, the trailing = signs are off, or the original data was a file such as an image rather than text.
- Can it encode image files?
- Text only for now.
Last updated: November 20, 2026
Efficient Free Web Tools for Daily Productivity
Daily Tools Pro is an all-in-one online utility platform designed to simplify your digital life. Why install multiple apps when you can access essential tools like the Word Counter, QR Generator, and Metronome directly from your browser?
We take Privacy & Security seriously. All calculations and text processing happen locally in your browser. This means your sensitive data never reaches our servers, keeping your information secure.