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. Nothing is uploaded.
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.
Is my image uploaded?
No. It's processed in your browser and never leaves 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.

Related tasks

Ready-made settings for common jobs.

Other tools

More ways to edit your images.