Add an image
Upload a PNG, JPG, GIF, WebP, SVG, BMP, or AVIF file, or paste a screenshot from your clipboard.
Encode PNG, JPG, GIF, WebP, or SVG files as Base64 or data URIs, then paste Base64 back to preview and download the image. Everything runs locally in your browser.
Encode PNG, JPG, GIF, WebP, or SVG files as Base64 or data URIs, then paste Base64 back to preview and download the image. Everything runs locally in your browser.
Conversion tool
Encode PNG, JPG, GIF, WebP, or SVG files as Base64 or data URIs, then paste Base64 back to preview and download the image. Everything runs locally in your browser.
Workspace
Upload or paste an image to get copy-ready Base64. Or paste a data URI to rebuild the file.
Preview
Upload or paste an image to see the preview here.
Base64 to image
Paste a data URI or raw Base64 string, then decode it to preview and download the image.
Upload a PNG, JPG, GIF, WebP, SVG, BMP, or AVIF file, or paste a screenshot from your clipboard.
Switch between a data URI, raw Base64, CSS background, or HTML image tag, then copy or download the text.
Paste a data URI or Base64 string to preview the image and download it as a file.
Encode and decode text as Base64 without image handling.
Convert JPG, PNG, GIF, and other images into optimized WebP files.
Crop, resize, and export images as JPG, PNG, or WebP.
Convert iPhone HEIC photos into share-ready JPG images.
No. Encoding and decoding run in your browser. The image never leaves your device unless you copy or download the result yourself.
Raw Base64 is only the encoded bytes. A data URI includes the MIME type prefix, such as data:image/png;base64,..., so it can be used directly in HTML, CSS, or Markdown.
PNG, JPG, GIF, WebP, SVG, BMP, and AVIF. Very large files over 8 MB are blocked so the browser stays responsive.
Yes. Paste a data URI or raw Base64 string, then download the reconstructed image. If the MIME type is missing, the tool assumes PNG.