sapienkit
Files never leave your browser

Image to Base64 Converter — Encode & Decode Data URIs

100% browser-basedFiles never leave your deviceFree & unlimited

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.

Image Base64
Image InputDrop or browse an image

Drop an image here or click to browse

PNG, JPEG, WebP, GIF, SVG, BMP, AVIF

Base64 OutputEncoded output will appear here
Drop or browse an image to encode as Base64100% client-side

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.