base64decode

Decode Base64 With Emoji and Special Characters

Get emoji, accented letters and non-Latin text back intact. The decoder reads UTF-8 by default and lets you switch to GBK, Shift_JIS, Windows-1252 and more.

0 characters
Decoded outputWaiting for input

      
    

Decoding runs entirely in your browser. Nothing you paste is uploaded.

Why Base64 text turns into strange characters

Base64 stores bytes, not letters. To turn those bytes back into readable text, a decoder has to know which character set was used when the text was saved. If it guesses wrong, the bytes are valid but the letters come out garbled.

Almost every modern system uses UTF-8, so this decoder reads text as UTF-8 by default. That covers emoji, accented letters, Chinese, Japanese, Korean, Arabic and every other script. If the text came from an older system, pick its character set from the Character set list in the tool above and the output updates immediately.

Decode Base64 with emoji

Emoji are stored in UTF-8 as four bytes each. A good decoder must read them as one character:

Base64 Decoded
8J+Riw== 👋
SGVsbG8sIHdvcmxkISDwn5GLIOS9oOWlvQ== Hello, world! 👋 你好

Paste either string above with the character set left on Auto (UTF-8). If you see ð followed by odd symbols instead of 👋, the tool you used read the bytes one at a time, which is a common bug with JavaScript's atob on its own. The fix in code is in Base64 decode in JavaScript.

Which character set should I pick?

What the garbled text looks like Likely original Pick
"Binary data" label, text from an old Windows program in Western Europe Windows-1252 Windows-1252 / Latin-1
Chinese text shows as binary data GBK or GB18030 GBK or GB18030
Traditional Chinese from Taiwan or Hong Kong Big5 Big5
Japanese text from older systems or email Shift_JIS or EUC-JP Shift_JIS, then EUC-JP
Korean text EUC-KR EUC-KR
Russian text from older systems Windows-1251 or KOI8-R Windows-1251, then KOI8-R
Every second byte is 00 in the Hex view UTF-16 UTF-16 LE

If you are unsure, switch between candidates. The right one produces words that make sense; the wrong ones produce symbols. When the label says Binary data and no character set gives readable text, the bytes are probably not text at all: try the Hex or Preview tab.

Text that shows é instead of é

This is the opposite problem, and it happened before the text was encoded. Somewhere, UTF-8 bytes were read as Latin-1 and saved again, so the Base64 now contains the broken text. No decoder setting can fully undo it. The fix belongs in the system that produced the string.

Special characters in the Base64 itself

The Base64 alphabet is only A–Z, a–z, 0–9, +, / and =, plus - and _ for the URL-safe variant. Other characters in the input are not part of the data:

Turn on Strict in the tool to see the position of the first character that is not Base64.

For anything else, use the main Base64 decoder.

Last updated:

Special characters FAQ

Which character set does the decoder use?

UTF-8 by default, which covers emoji and every modern script. You can switch to Windows-1252, ISO-8859-2, Windows-1251, KOI8-R, GBK, GB18030, Big5, Shift_JIS, EUC-JP, EUC-KR or UTF-16.

Why do emoji come out as symbols like ð?

The tool you used read UTF-8 bytes one at a time. Decode with UTF-8 support, such as the decoder on this page or TextDecoder in JavaScript.

Why does Chinese text show as binary data?

The text was probably saved as GBK or GB18030. Pick that character set from the list and the text appears.

Can I fix text that shows é instead of é?

Not by a decoder setting. The text was already damaged before it was encoded, so the system that created it must be fixed.

What do %2B and %3D mean in a Base64 string?

The string was URL-encoded. %2B, %2F and %3D stand for +, / and =. Replace them, then decode.