kmra.dev

Image to Base64 converter

Turn an image into a data URI for CSS or HTML, or decode Base64 back to an image.

Direction
Drop an image hereor paste with ⌘V. Your files stay on your device.
JPGPNGWebPGIFSVGICO
  1. 1Drop an image, or switch to Base64 to image and paste text.
  2. 2Pick data URI, plain Base64, CSS, HTML or Markdown.
  3. 3Copy it, or download the decoded image.
Do my images leave my device?
No. They're processed right in your browser, on your device.
Does it work offline?
Yes. Once this page has loaded, it keeps working without an internet connection.
Is there a limit?
No limits from us. Very large images can be slow on phones because the work uses your device's memory.

Something not working, or a tool you'd like? Report a problem · Suggest a tool · Open source on GitHub

Related tasks

Ready-made settings for common jobs.

Other tools

More ways to edit your images.