Image Tools
Image to Data URL (Base64)
Convert any image to a base64 data URL. Get CSS background and HTML img snippets.
Drag & drop files, or click to browse
JPG, PNG, WebP, GIF, SVG · max 2 MB (small files only — data URLs balloon size)
Files processed in your browser
Your files never leave your device. No upload, no servers.
About Image to Data URL (Base64)
Image to Data URL converts a small image (favicon, icon, badge) into a base64 data URL you can embed directly in CSS or HTML — useful for inline styles, single-file demos, email templates, and avoiding extra HTTP requests for tiny assets.
Note: data URLs are ~33% larger than the source bytes. Best for files under 10 KB. Larger images should stay as separate files.