Encode any image to a Base64 Data URL — ready for HTML, CSS, or APIs. Nothing uploaded.
Drop an image here or click to upload
JPEG · PNG · WebP · GIF · SVG · up to 10 MB
Four output formats
Get the full Data URL, raw Base64 string, an HTML img tag, or a CSS background-image rule — all ready to paste.
Watch for size
Base64 adds ~33% overhead. Best for small icons and inline images — for large images a file URL is more efficient.
Nothing uploaded
Encoding runs in your browser via the FileReader API. Your image never touches a server.
More free tools