Skip to main content
ConvertBrowser-local

Image ↔ Base64 Converter

Convert between PNG, JPEG, WebP, GIF, or BMP raster images and Base64 locally without resizing or re-encoding bytes. Generate escaped HTML/CSS snippets, verify decoded byte signatures instead of trusting pasted MIME headers, and download verified image files.

Accepts: PNG, JPG, WebP, GIF, BMP, Base64Outputs: Base64, PNG, JPG, WebPLimits: Up to 15 MB raster image (PNG, JPG, WebP, GIF, BMP) · SVG excluded

How Image ↔ Base64 Converter works

  1. In Image to Base64, select a raster image to encode exact file bytes and copy raw Base64, data URL, HTML, or CSS snippets.
  2. In Base64 to Image, paste a Base64 payload or data URL to validate syntax, verify header magic bytes, and inspect the decoded image.
  3. Download encoded text as `.txt` or save decoded images with their verified file extension.

Privacy & browser limits

Selected images stay in local browser memory and are processed using Web Worker OffscreenCanvas (with HTML5 Canvas fallback). Image files, filenames, and metadata are never transmitted to any server.

Read more on the Privacy page.

Convert

Image Converter

Convert cleanly between PNG, JPEG, and WebP locally with transparency preservation or JPEG background fill.

PNGJPGWebP
Open tool
Optimize

Image Compressor

Reduce JPEG and WebP file sizes with format-appropriate quality controls and actual byte savings.

JPGWebPPNG
Open tool
Convert

SVG to PNG

Safely sanitize local SVG graphics and export high-resolution PNG files at custom sizes.

PNG
Open tool
Inspect

Image Metadata Viewer

Inspect EXIF camera settings, orientation, timestamps, and text-only GPS data locally.

InspectorJSON
Open tool