Image to Base64

Convert images to Base64 data URIs with HTML, CSS and Markdown snippets, and decode Base64 back.

🖼️

Drop an image here or click to choose

PNG, JPG, WebP, GIF, SVG, ICO — or paste (Ctrl+V)

🔒 Everything happens in your browser. Your images are never uploaded.

How to convert an image to Base64

  1. Drop an image.
  2. Choose the output: data URI, HTML, CSS, Markdown or JSON.
  3. Copy it or download it as a text file.

Everything runs in your browser, so your images are never uploaded to our servers.

Frequently Asked Questions

For small icons and images under about 10 KB, to save an extra request. Larger images are better as normal files.

Yes. Use the Base64 → Image tab and download the result.

Related Tools

Background Remover

Remove image backgrounds automatically with AI and get a transparent PNG or new background.

Open Tool →

Image Resizer

Resize images to any dimension while maintaining aspect ratio.

Open Tool →

JPG to PNG Converter

Convert JPG images to PNG format with transparency support.

Open Tool →

Crop Image

Crop images to custom dimensions with precision.

Open Tool →