Skip to content

Base64 Decode

Decode Base64 strings to text or files in your browser. Auto-detects image data and shows a preview. URL-safe variant supported. Completely private.

Base64 Input

How to decode a Base64 string

  1. Paste your Base64 string into the input box.
  2. If the string uses - and _ instead of + and /, toggle URL-safe.
  3. The decoded output appears instantly. If the data is a recognisable image (JPEG, PNG, GIF, WebP, SVG), a visual preview is shown automatically.
  4. Download the decoded image or text file with one click.

Decoding data URIs

If you have a complete data URI like data:image/png;base64,iVBORw0K…, strip the prefix (data:image/png;base64,) before pasting — only the Base64 part goes in the input.

Common uses of Base64 decoding

  • Inspecting email attachments encoded as MIME parts.
  • Debugging API responses that return binary data as Base64.
  • Extracting images embedded in HTML or CSS as data URIs.
  • Decoding the payload of a JWT (the middle section).

Frequently Asked Questions

How do I decode a Base64 string?

Paste your Base64 string into the input box. The decoded output appears instantly.

Can I decode a Base64 image?

Yes. If the decoded content is an image, a visual preview is shown automatically. You can also download the decoded image file.

What is URL-safe Base64?

URL-safe Base64 uses - instead of + and _ instead of /. Toggle this option if your input uses these characters.