Image to Base64 Converter — Encode & Decode Data URIs
Convert any image to a Base64-encoded data URI string, or paste a Base64 string to decode it back into a viewable image. Handy for embedding images directly into HTML, CSS, or JSON.
Supports all common image formats. Copy the result to your clipboard or save the decoded image. No server involved — conversion happens entirely in your browser.
Drop an image here or click to browse
PNG, JPEG, WebP, GIF, SVG, BMP, AVIF
Frequently Asked Questions — Image to Base64
To embed images directly in HTML, CSS, or JSON without hosting a separate file. Useful for small icons and email templates.
Yes. Paste a Base64 data URI and download it as a regular image file.
No. Base64 increases size by ~33%. It's best for small images under 10 KB. For larger files, host them normally.
More Image Tools
Image Converter
Convert between PNG, JPEG, WebP. Resize and compress images — all in your browser.
Image Compressor
Compress and resize images with format conversion and quality control.
SVG to PNG
Convert SVG files or code to PNG images at custom scale.
PNG to SVG
Trace raster images into vector SVG format (client-side).
TIFF to PNG
Convert TIFF/TIF images to PNG. Supports multi-page TIFF files.
Image to PDF
Combine multiple images into a single PDF document.
AI to PNG
Convert Adobe Illustrator (.ai) files to PNG images — all in your browser.
AI to SVG
Convert Adobe Illustrator (.ai) files to SVG using raster tracing — all in your browser.