Base64 Decode
Base64 Decode converts a Base64 string back into the original text. It accepts both the standard +/ alphabet and the URL-safe base64url variant, and it tolerates whitespace, line breaks and missing padding.
Decoding runs locally in your browser, so tokens and payloads you paste stay on your machine.
Paste Base64 (standard or URL-safe). Whitespace, line breaks and missing padding are tolerated, and the result is decoded as UTF-8 text.
How to use Base64 Decode
- 1
Paste your Base64
Drop the Base64 string into the input box. Standard or URL-safe, with or without padding — both work.
- 2
Read the decoded text
The UTF-8 result appears instantly. If the input is not valid Base64, a clear error explains why.
- 3
Copy the result
Use the Copy button to grab the decoded text.
Decoding standard and URL-safe Base64
This tool normalises the URL-safe alphabet (- and _) back to the standard +/ before decoding, and re-adds any = padding that was stripped. That means a base64url value copied out of a JWT or a query string decodes without manual cleanup.
The decoded bytes are interpreted as UTF-8, so text in any language comes back intact.
Common decoding errors
If decoding fails, the input usually contains characters outside the Base64 alphabet — a stray space inside the value, a truncated copy, or text that was never Base64 to begin with.
Remember that Base64 is not encryption: decoding reveals the original data exactly, so it is a debugging aid, not a security boundary.
Frequently asked questions
- Does it support URL-safe Base64?
- Yes. base64url input (using - and _, often without padding) is normalised automatically before decoding.
- Why do I get an 'invalid Base64' error?
- The input contains characters that are not valid Base64, or it was truncated. Check for stray characters and make sure you copied the whole string.
- Is my data sent anywhere?
- No. Decoding runs entirely in your browser.
Last updated: