Skip to content
form koi.Start free

Images & documents

Free Image to Base64 Converter

Convert a PNG, JPEG or WebP image to a Base64 data URL in your browser. Copy the string for inline CSS, HTML or email templates.

No signup neededRuns in your browserFree download

Image to Base64 converter

No account needed

Your image preview will appear here.

How to use this tool

  1. Choose an image file up to 8 MiB.
  2. Preview it and check the dimensions and file size.
  3. Copy the data URL or download it as a text file.

Related free tools

Frequently asked questions

Image to Base64 converter
questions.

When should I inline an image as Base64?

For small icons, logos in HTML emails, or single-file HTML exports where a separate request is not possible. Large photos should stay as separate files.

Is my image uploaded to a server?

No. The file is read and encoded in your browser and never leaves your device.

Is anything I enter saved or sent to Form Koi?

No. Everything you type or upload stays in this browser tab and is processed locally. Copy or download anything you want to keep before leaving the page.

Start with Form Koi Free

Start receiving
form submissions.

Build a free contact form Read the quickstart