Image to Base64 Converter

Convert PNG, JPG, GIF, WebP or SVG to a Base64 string or CSS data URI instantly. All processing happens in your browser — nothing is uploaded.

Image Input

Drop an image here

or click to browse — PNG, JPG, GIF, WebP, SVG, BMP

Output Settings
Base64 Output
0 chars
Ready
Upload an image to convert
—
Format
0 B
Original size
0 B
Base64 size
—
Size ratio
—
Dimensions