Skip to content
AI Web Toolbox

Image to Base64

Convert an image to a Base64 data URI for inline use.

Free online tool

JPG, PNG, WebP or HEIC · up to 25 MB and 40 megapixels

How it works

Choose an image to get its Base64-encoded data URI, ready to paste into CSS or HTML. The file stays in your browser.

How to use Image to Base64: an example and checklist

Useful tools to try alongside this one or as your next step.

Most tools process data in your browser. See the privacy page for details on how each tool handles data.