Free, no signup

Image to Base64 converter

Choose an image and get its Base64 string at once. Copy it as a data URI, the bare string, an <img> tag, or a CSS background, ready to paste into HTML, CSS, JSON, or an email. PNG, JPG, GIF, WebP, SVG, and more. Free, no signup, and the image stays in your browser.

or drop it here

Your image goes on a page of its own, ready to send. Free, no signup.

How to convert an image to Base64

  1. Press Choose an image and pick the file, or drop it onto the box.
  2. Pick the output: Data URI, Base64 only, HTML <img> tag, or CSS background.
  3. Press Copy and paste the string into your HTML, CSS, JSON, or email template.

How do I embed an image in HTML or CSS with Base64?

Choose the image, set Output to HTML <img> tag or CSS background, and press Copy. The tag or rule carries the image itself, so the page shows it with no separate image file.

What is the difference between a data URI and Base64 only?

A data URI starts with data:image/png;base64, and works as an image address in src or url(). Base64 only is the string after the comma, for an API field or a JSON value.

Is my image uploaded?

No. Your browser reads the image on this page. It isn't sent to Convika or stored.

Guides

See all guides