About the Base64 Decoder
The Base64 Decoder turns a Base64 string back into readable text, interpreting the bytes as UTF-8. Whitespace and line breaks are ignored, and invalid input is reported clearly: illegal characters, a length that is not a multiple of 4, or bytes that are not valid UTF-8 text.
How to use the Base64 Decoder
- Paste the Base64 string.
- Read or copy the decoded text.
Example
Decoding
SGVsbG8= decodes to “Hello”.
Frequently asked questions
Does it accept URL-safe Base64?
No. URL-safe Base64 uses “-” and “_” instead of “+” and “/”. Replace them, and add “=” padding to a multiple of 4 characters, before decoding.
Why “could not decode”?
The data is valid Base64 but not UTF-8 text. It is probably binary data such as an image or a compressed file.
Can I decode a JWT with it?
Use the JWT Decoder, which handles the URL-safe encoding JWTs use.