Image to Base64

Convert any image (PNG, JPEG, GIF, SVG, WebP) to a Base64-encoded data URI. Drag and drop or browse. Useful for embedding images directly in HTML, CSS, or JSON without external file references.

Ctrl+Enter to run  |  Ctrl+K to switch tools  |  Recent button shows input history

Repeating this work? Turn this kind of browser utility into an API batch, MCP prompt, extension workflow, or shared team recipe.

Buy Pro Browse tool packs

FAQ

When should I use base64 images?

For small icons and logos embedded in CSS or HTML to avoid extra HTTP requests. Avoid for large images — base64 increases file size by ~33% and prevents caching.

Is the image uploaded to a server?

No. The conversion happens entirely in your browser using the FileReader API. Your image never leaves your machine.