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
- 1Drop an image, or switch to Base64 to image and paste text.
- 2Pick data URI, plain Base64, CSS, HTML or Markdown.
- 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.
Favicon generator
ICO, PNGs and HTML
GIF frames
Every frame as PNG
Compress
Smaller files, same look
Resize
Pixels or presets
Remove background
Transparent PNG cut-outs
Passport photo
Sized, framed, printable
Watermark
Text or logo, in bulk
Blur faces
Every face, automatically