Converter
Base64, UTF-8, UTF-16, ANSI, Hex & Every Format In Between
Convert text between any two encodings, directly - no plain-text stopover required
Results are provided for informational purposes only and may contain errors. Please verify important information independently. Use of this tool is at your own risk.
How to decode Base64
Decode Base64 back to readable text instantly: paste the Base64 and the original text appears as you type.
- Type or paste your input, such as SGVsbG8sIFdvcmxkIQ==, into the box above.
- The result appears right away: SGVsbG8sIFdvcmxkIQ== becomes Hello, World!.
- Copy the result, or choose from 30 encodings in the From and To boxes.
How Base64 works
Base64 takes the text's UTF-8 bytes three at a time (24 bits) and splits them into four groups of 6 bits. Each group is one of 64 characters. When the number of bytes is not a multiple of three, = signs pad the end.
Base64 to text examples
| Base64 | Text |
|---|---|
SGVsbG8= | Hello |
SGVsbG8sIFdvcmxkIQ== | Hello, World! |
NERldi5OZXQ= | 4Dev.Net |
YStiPWM/ | a+b=c? |
Y2Fmw6k= | café |
MTAwJSBmcmVl | 100% free |
Base64 and text explained
Base64 writes any data with 64 safe characters (A-Z, a-z, 0-9, + and /). It is used in email attachments, data: URLs, JSON Web Tokens and HTTP Basic authentication.
Plain text is read and written as UTF-8, so accents, emoji and every writing system are supported.
Frequently asked questions
Is Base64 a form of encryption?
No. It only changes how the data is written, and anyone can reverse it without a key. Never use it to hide passwords or secrets.
Which character set is used?
UTF-8, the standard of the web. Accents, emoji and non-Latin scripts are encoded as their UTF-8 bytes and decoded back exactly.
Why does decoding give an error?
The input is not valid for the chosen encoding: a missing or extra character, a line break in the middle, or text that was encoded differently. Check that you copied the whole value.
Is this tool free?
Yes, it's free to use. No signup, no email required. Get results on this page.
How do I get my result?
Use the tool on this page. Your result appears here; no email delivery is required.