Base64 Decode

Paste Base64 below to decode it instantly. Standard and URL-safe input are both accepted. Binary results (images, files) can be downloaded.

Options

How to decode Base64

  1. Paste the Base64 into the box, or drop a .txt file that contains it. Standard and URL-safe input both work, and stray whitespace or missing padding is tolerated.
  2. Leave the charset on Plain text (UTF-8) for ordinary text, or pick the encoding the data was written in. Korean, Japanese, Cyrillic, and many others are listed.
  3. If the source is several Base64 strings on separate lines, turn on “Decode each line separately” to keep them apart.
  4. Read the decoded text and copy it, or download the raw bytes as a file when the payload is binary.

When to use it

Base64 shows up wherever binary rides inside a text format: the part after “base64,” in a data URI, an embedded certificate or key, an image or attachment stored as text in JSON or a config file. Pasting it here reveals what it actually contains without writing a script.

When the decoded bytes aren’t text at all (a PNG, a PDF, a zip), the tool says so and offers the raw bytes as a download, so you can recover the original file. If the text comes out as garbled characters, the bytes were written in a different encoding; switch the charset to the one the data came from.

Frequently asked questions

Is anything uploaded to decode?

No. Decoding runs in your browser; the Base64 you paste is never sent anywhere.

Does it accept URL-safe Base64?

Yes. Both the standard (+/) and URL-safe (-_) alphabets work, and it tolerates whitespace and missing padding.

What if the result isn’t text?

If the decoded bytes aren’t valid text in the chosen charset, you’ll see a notice, but you can still download the raw bytes as a file, or switch the charset.

Which character sets can it decode to?

A broad selection of encodings: Unicode plus Western, Cyrillic, Greek, Hebrew, Arabic, Chinese, Japanese, and Korean, among others.