Base64 Decoder
Decode Base64 back to readable text. If the data is binary, such as an image or PDF, download it as a file instead.
Base64
Text
Encoded and decoded in this browser tab. Nothing is uploaded.
How to use the Base64 Decoder
- Paste Base64 or a data: URL. Whitespace and line breaks are ignored.
- Decoded text appears as you type.
- If the result is binary, the tool detects its type so you can download it.
Example
Input
SGVsbG8sIHfDtnJsZCDwn5GLResult
Hello, wörld 👋What it does
- Standard and URL-safe
- Accepts both alphabets, with or without = padding.
- Binary detection
- Recognises PNG, JPEG, GIF, WebP, PDF and ZIP data and offers a download with the right extension.
- Helpful errors
- Shows the position of the first invalid character instead of a generic failure.
Frequently asked questions
Why do I get an error about an invalid character?
Base64 only uses A–Z, a–z, 0–9, +, / (or - and _ in URL-safe form) and = for padding. Spaces and line breaks are fine; anything else usually means the text was cut off or mixed with other content.
Can I decode a JWT with this?
Yes. Paste one part of the token (between the dots) to read the header or the payload. Remember that decoding a JWT does not verify its signature.
Is my data sent to a server?
No. The conversion runs in your browser, and nothing you paste is uploaded, logged or stored.