Fast, private and free

Free Base64 decoder online

Decode Base64 text, images, PDFs, and data URLs instantly. Copy readable text or download the original file—all processed privately in your browser.

Base64 input

Paste encoded text, a Base64 string, or a data URL.

Ready
0 bytes
Your data is decoded locally in this browser and is not uploaded by this page.

Decoded output

Preview text or download binary data as a file.

Waiting
0 decoded bytesType: unknown

Decode Base64 quickly and safely

Convert encoded data back into readable text or downloadable files without an account or upload step.

A↔

UTF-8 text support

Decode common text containing letters, accents, symbols and emoji.

Data URL support

Paste Base64 images, PDFs or other data URLs and preserve their file type.

Download decoded files

Save binary or text output with a custom file name directly to your device.

How to decode Base64 online

Use this free Base64 decoder to restore encoded data to readable UTF-8 text or its original file format.

Decode Base64 in four steps

  1. Paste a Base64 string or a complete data URL into the input.
  2. Enable URL-safe mode if the value contains hyphens or underscores.
  3. Select Decode Base64 (or press Ctrl/Command + Enter).
  4. Copy readable text or name and download the decoded file.

Decode text, images, PDFs, and files

Base64 can represent either text or binary content. Plain strings are decoded as UTF-8 when readable. A data URL such as data:image/png;base64,... also supplies the media type, helping this tool choose the correct download extension.

Standard vs. URL-safe Base64

Standard Base64 uses + and /. URL-safe Base64 replaces them with - and _, which is convenient in links, tokens, and API parameters. This decoder supports both forms and restores omitted padding when possible.

Why Base64 may be invalid

Invalid characters, corrupted data, or an impossible length can prevent decoding. Keep Ignore whitespace enabled for Base64 copied from wrapped emails or documents. Need the reverse operation? Use the free Base64 encoder.

Base64 decoder FAQ

Answers to common questions about decoding Base64 text, files, and data URLs.

What is Base64 decoding?

Base64 decoding converts Base64 characters back into the original text or binary bytes.

Is this Base64 decoder free and private?

Yes. The decoder is free to use, requires no account, and processes your input locally in your browser without uploading it to this page.

Can I decode Base64 images or PDFs?

Yes. Paste a Base64 string or data URL, decode it, and download the original image, PDF, or other binary data.

What is URL-safe Base64?

URL-safe Base64 uses hyphens and underscores instead of plus and slash characters so encoded data works more reliably in URLs.

Why is my Base64 string invalid?

A Base64 string may fail when it contains invalid characters, corrupted data, or an impossible length. This decoder can ignore whitespace and restore missing padding when possible.