Image to Base64

Convert image to Base64 online, generate a data URI, and copy the encoded string without uploading files.

⌘ Runs in browser ◴ No data stored ⌁ Free

Image to Base64 Image to Base64 workspace

Image input
Base64 result
Image info will appear here.

How to use

  1. 1 Drag an image in or click to upload it.
  2. 2 Check the preview and file details, then review the image to Base64 output.
  3. 3 Copy the converted string into HTML, CSS, JSON, or another target.

Common use cases

  • Image to Base64 data URI generation
  • Small icon inline embedding
  • Base64 string copying for online use

Frequently asked questions

How do I provide an image?

Select an image file or drag and drop it to generate a Base64 data URL with a preview.

Can I copy the generated image Base64 result?

Yes. You can copy the Base64 data URL from the output box to your clipboard.

What should I know when converting large images?

Base64 strings can be larger than the original file, so check the size before embedding large images in pages or code.

Related workflow