Skip to main content
DevBench
🖼

Base64 Image

EncodingOffline-ready

Base64 Image converts any image (PNG, JPEG, WebP, GIF, SVG) to a Base64 data URI for embedding directly in HTML, CSS, or JSON without a separate HTTP request. Paste a Base64 string to decode it back to a viewable image and download it. Useful for embedding icons in HTML emails, inlining images in CSS, and passing image data through APIs. Runs entirely in your browser — nothing is uploaded.

Related: Base64 EncodeBase64 DecodeCompress

Your files and inputs stay in your browser — nothing is uploaded or stored.

Drop an image or click to browse

PNG, JPEG, GIF, WebP, SVG

Base64 image encoder / decoder

Converts image files (PNG, JPEG, GIF, WebP, SVG) to Base64 data: URI strings, or decodes a Base64 data URI back to a viewable image. Data URIs let you embed images directly in HTML or CSS without a separate HTTP request — useful for small icons and critical above-the-fold images.