Convert pictures to Base64 Data URI strings for HTML/CSS embedding, or decode Base64 strings back into downloadable images.
Supports PNG, JPG, JPEG, WebP, SVG, GIF, BMP, and ICO
Base64 image encoding translates binary image files (JPG, PNG, WebP, SVG, GIF) into standard ASCII text characters (A-Z, a-z, 0-9, +, /, and =). This allows images to be embedded inline directly inside HTML, CSS stylesheets, JSON payloads, or email templates as Data URIs without needing external file hosting or separate HTTP requests.
| Format | MIME Type | Header |
|---|---|---|
| PNG | image/png | iVBORw0KGgo |
| JPEG | image/jpeg | /9j/ |
| WebP | image/webp | UklGR |
| GIF | image/gif | R0lGOD |
| SVG | image/svg+xml | PHN2Zy |
| BMP | image/bmp | Qk |
| ICO | image/x-icon | AAABAA |
Conversions execute purely in your browser memory. Zero files or data strings are ever stored on external servers.