Base64 Decode
Decode Base64 to text or a file. Reads URL-safe Base64 and restores missing padding.
The result appears here as you type.
How to use this tool
- Paste the Base64Spaces and line breaks are ignored, so MIME-wrapped text works as pasted.
- Pick a character setUTF-8 for almost everything; Latin-1 for older Western text. One value per line is an option.
- Copy the text, or save the fileIf the bytes are an image or another file, it is previewed and offered as a download instead.
What problem does this solve?
Base64 turns up in logs, emails, tokens and data URIs, and an online decoder that sends it to a server is the wrong place to paste it. This one decodes on your device, reads both the standard and URL-safe alphabets without being told, and says exactly which character is wrong when something is.
Who needs this?
- Developers reading a value out of a log, header or config
- Anyone who received an attachment as a block of Base64
- People checking what a data URI actually contains
You might also need
FAQ
Can it decode URL-safe Base64?
Yes. Base64 that uses - and _ (base64url, as in JWTs) is recognised and decoded without a setting, and missing = padding is added back.
What if the result is an image or a file, not text?
When the bytes are not UTF-8 text, the page says so, recognises common types such as PNG, JPEG, GIF, WebP, PDF and ZIP, previews images, and lets you download the file.
Is my data sent anywhere?
No. Decoding runs in your browser. Nothing you paste is uploaded, logged or put in the page address.