image

Image to Base64

Upload any image to convert it to a Base64 data URI. Use the output directly in HTML img tags, CSS backgrounds, or JSON payloads. Also decodes Base64 back to image.

🖼
Drop image or click to upload
JPG, PNG, WebP, SVG, GIF

When to use Base64 images

Base64 encoding embeds image data directly into HTML, CSS or JSON — eliminating an HTTP request. Useful for small icons, favicons and inline SVGs. For large images, use a regular URL instead as Base64 increases file size by ~33%.