OzTools
Free online tool

Image to Base64.

Turn an image into a Base64 data URI with ready-to-paste snippets.

Drag & drop files here

or click to browse (max 50MB per file)

Three simple steps

How to use Image to Base64

1

Drop an image

PNG, JPG, WebP, GIF or SVG — nothing leaves your browser.

2

Copy the data URI

Or grab the ready <img> tag / CSS background.

3

Paste it in

Great for tiny icons; large files bloat your HTML/CSS.