Skip to content
utilnook

Base64 Decode

Decode Base64 to readable text as you paste, or turn it back into the image, PDF or other file it holds. Works in your browser; nothing is sent.

0 characters

Runs in your browser. Nothing you enter is uploaded.

How to use

This page turns Base64 back into what it stands for: readable text, or the original file.

  1. Paste the Base64 into Base64 to decode. The text it holds appears beside it while you type.
  2. Nothing to tidy first. A data: prefix, line breaks and spaces are ignored, the URL-safe alphabet (with - and _ in place of + and /) is understood, and missing = signs at the end don't matter.
  3. Press Copy to take the decoded text. Swap moves it to the left and encodes it again, which is a quick way to check a round trip.
  4. If the page says the data is binary, not text, it's a file. Open the File tab, paste it under Base64 to file and press Download file. The page recognises common types such as PNG, JPG, PDF and ZIP from their first bytes and suggests a name with the right ending.

Decoded text is read as UTF-8, so accented letters, other scripts and emoji come out right. Something encoded from an older encoding such as Windows-1252 may be refused as "not text"; save it as a file in that case and open it with an editor that knows the encoding.

Base64 hides nothing. It is only a way of writing bytes with 64 safe characters, and anyone can undo it, as this page does. So treat a decoded token or key as the secret it is. Here it stays on your device: the decoding is done by your browser and nothing you paste is uploaded.

Frequently asked questions

Why does my decoded text look like gibberish?

Then it probably isn't text. Base64 often carries a picture, a compressed file or encrypted bytes, which only look like noise as letters. Use the File tab to save it as a file; the page tells you what kind it looks like.

How do I turn a Base64 string back into an image or a PDF?

Open the File tab, paste the string (with or without its data: prefix) under Base64 to file, check the suggested file name, and press Download file. The file is rebuilt on your device, byte for byte.

Can I decode the middle part of a JWT here?

Yes. Paste the part between the two dots: it is URL-safe Base64 without padding, which this page reads as it is, and you get the JSON claims. The JWT decoder shows the header, the claims and the expiry together.

More encoding tools

All encoding tools