Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

Base64 to Image

Paste a data URL or raw Base64 and turn it back into an image you can preview and download. Decoding stays in this tab.

Runs in your browserData URL or raw Base64Never uploaded
1

Base64 or data URL

Limits

  • Decoded output is limited to 20 MB.
  • This is not a general Base64 file decoder for non-images (use Base64 Encoder / Decoder). Preview only works for types the browser can render.
  • A truncated or padded-wrong string will fail with an error instead of a broken file when possible.
  • SVG is not sanitized. Treat an SVG from an untrusted source as you would any scriptable file.
2

Image

How to use Base64 to Image

  1. Paste the stringA data:image/…;base64,… URL, or raw Base64. Whitespace is ignored.
  2. Check the previewThe MIME type comes from the data URL, or from the file’s magic bytes when you paste raw Base64.
  3. DownloadSave the image with an extension that matches its type.

How the type is chosen

If you paste a data URL, the MIME type in the prefix is used. If you paste raw Base64, the decoded bytes are sniffed for PNG, JPEG, GIF, WebP, BMP, ICO, SVG and AVIF signatures. When the type cannot be guessed, the file is offered as .bin and the preview may be blank.

Standard Base64 (and the Base64 part of a data URL) is accepted. URL-safe Base64 (- and _) is also accepted. The string is not uploaded and is not sent through an image CDN.

Frequently asked questions

Is my text or file uploaded?

No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.

The preview is blank but a file downloaded. Why?

The bytes may be a type this browser cannot paint (for example HEIC), or the MIME type in the data URL may be wrong. Try another browser, or convert the file.

Can I paste URL-safe Base64?

Yes. Hyphens and underscores are translated to plus and slash before decoding.

Is the SVG safe to open?

Not necessarily. SVG can contain script. Only open files you trust.

Related tools

All tools