Base64 Encoder & Decoder
Text from an encoded payload? Decode it here, or turn Unicode text into a Base64 value.
Check the decoded text, including invisible characters
HelloSGVsbG8=Paste readable text and choose Encode Base64, or paste the encoded value and choose Decode Base64. UTF-8 conversion preserves emoji and non-English characters. A newline in the original text will return as a newline too.
Valid Base64, but no readable result?
The bytes may be an image, archive or another binary format rather than UTF-8 text. This decoder rejects invalid UTF-8 instead of showing replacement characters. Paste only the encoded value, without a data-URL prefix.
Does the value contain - and _?
It may use Base64URL, a different alphabet often found in tokens. For a three-part JSON Web Token, use the JWT decoder.
Base64 is a transport encoding. Anyone who has the value can attempt to decode it; it does not protect secrets.
