About Base64 Decode
Paste a Base64 string to see the text inside it, whether it came from an API response, an email source, a config file or the payload part of a JWT. Line breaks in the input are ignored, so wrapped Base64 from emails works as is.
Both alphabets are accepted: the URL-safe characters - and _ are handled, and missing = padding is added for you. If the string contains characters Base64 cannot have, or the bytes are not valid text, you get a clear message instead of garbage. Nothing you paste is uploaded.
How to use it
- Paste the Base64 string into the Input box.
- Make sure Mode is set to Decode.
- Read the decoded text on the right, or the error that explains what is wrong.
- Copy the result, download it as .txt, or press Use as input to keep working on it.
Frequently asked questions
Can I decode a JWT payload?
Yes. Paste the middle part of the token (between the two dots); it uses URL-safe Base64 without padding, which this decoder accepts. The tool does not check the signature.
Why do I get “not valid UTF-8 text”?
The Base64 decodes to binary data, such as an image or a ZIP file, rather than text. This tool only shows text output.
Do I need to remove the data:...;base64, prefix?
Yes. For a data URI, delete everything up to and including the comma and paste only the Base64 part.