Developer Tools

Base64 Decoder

Paste a Base64 string and decode it back to plain text or download as a file — free, instant, browser-based.

No uploads — browser onlyInstant result

Base64 Input

How to decode Base64

  1. Paste your Base64 string into the input area.
  2. Click Decode Base64 to get the plain text result.
  3. Copy the output or download it as a binary file if you encoded a file originally.

What is Base64?

Base64 is an encoding scheme that converts binary data to a set of 64 ASCII characters. It is commonly used to embed binary data (like images or files) in text-based formats like HTML, CSS, email (MIME), and JSON APIs.

Privacy — your data stays local

Encoding and decoding run entirely in your browser using native Web APIs. No data is sent to any server.

Frequently Asked Questions

What if my Base64 string has spaces or line breaks?

The decoder automatically strips whitespace before decoding, so copy-pasted Base64 with line breaks works fine.

Can I decode a Base64-encoded image?

You can decode it to raw bytes and download as a file. To preview images, paste the full data URL (data:image/png;base64,...) into your browser address bar.

What is URL-safe Base64?

URL-safe Base64 replaces + with - and / with _ to make the string safe in URLs. Standard Base64 is used here.

What does "Invalid Base64" mean?

The input contains characters that are not valid Base64 characters, or the length is wrong. Check for extra characters.

Related tools