Base64 to Image

Turn a Base64 data URL back into a downloadable image.

Your image is processed entirely in your browser. It is never uploaded to a server.

Advertisement

About this tool

PNG is lossless and supports transparency, which makes it the right choice for logos, screenshots and anything with sharp edges or flat colour. Files are larger than JPEG for photographs.

How to use it

  1. Paste a Base64 data URL beginning with data:image/.
  2. The image appears as soon as the URL is valid.
  3. Press Download to save it as a file.

Frequently asked questions

Is my image uploaded anywhere?

No. The image is decoded and re-encoded entirely in your browser using a canvas. It never leaves your device, is never sent to a server, and nothing is stored.

Will the quality drop?

Converting to PNG, BMP or WebP lossless keeps every pixel. Converting to JPEG is lossy by definition, so the quality slider controls the trade-off between file size and fidelity.

Why did my photo come out the right way up?

Photographs from phones store an EXIF orientation tag rather than rotating the pixels. This tool reads that tag and applies the rotation, so the result matches what you saw in your gallery.

Is there a size limit?

Very large images are scaled to stay within the browser canvas limit — around 16.7 million pixels on iOS — because exceeding it silently produces a blank image. The aspect ratio is preserved when that happens.

Related image tools

Advertisement