Free · Encode & decode

Image ↔ Base64.

Get a data URI with CSS and HTML snippets — or paste Base64 to turn it back into an image.

graphkit.io — image ↔ base64
Drop an image to encode
or browse files · JPG, PNG, WebP, GIF, SVG, ICO · max 10 MB

Runs entirely in your browser — files are only uploaded if you choose “Save to My Graphkit”.

How it works


01
Drop an image
Or switch to Decode and paste Base64.
02
Copy a snippet
Data URI, raw Base64, CSS or HTML.
03
Paste it in
Use it in your stylesheet, email or code.

Inlining small icons and images as Base64 saves an HTTP request — great for emails, CSS backgrounds and single-file prototypes. Keep it for small assets: Base64 is about 33% larger than the original file.

Related tools


Browse all tools →