Base64 decode
EncodeExperimentalLimited support. Verify anything critical.
Base64 decode reverses a standard or URL-safe 64-character alphabet sequence back to UTF-8 text. Whitespace is ignored; illegal characters fail immediately. Use it to unpack data that was Base64-packed for transport through headers, APIs, or MIME payloads, and download raw bytes when the payload is binary rather than text.
Skip to the toolThis tool processes text on your device. The text is not uploaded.
Steps
Paste the Base64 string
Run locally
Copy text or download bytes
How to use Base64 decode
When text looks wrong
If the output is mojibake, the original payload was probably binary. Prefer Download decoded bytes and inspect with a hex viewer rather than treating the textarea as UTF-8.
Padding and variants
Trailing = characters are padding. URL-safe strings that use - and _ are normalized before atob.
How it works
- Enter what you haveType or pick your text. Nothing is submitted anywhere.
- It runs in this tabThe calculation happens on your device, using your browser's own data.
- Take the resultRead the text, then copy or download.
Reimplemented locally. Not derived from IT-Tools source.
- Basis
- independent
- Licence
- MIT
- Last reviewed
Frequently asked questions
Why do some Base64 strings decode to meaningless gibberish?
If the decoded bytes do not form valid UTF-8 text (e.g. they represent an image file, a compiled binary, or compressed gzip data), rendering them as a text string will result in unreadable replacement characters.
Does this decoder support URL-safe Base64?
Yes. The decoder automatically handles URL-safe variants by translating '-' to '+' and '_' to '/' before decoding.
Is whitespace allowed in the input?
Yes. All whitespace characters (spaces, tabs, newlines) are safely stripped from the input string prior to decoding.