Image utility for the web

Convert images to Base64.

Turn local images into ready-to-use data URIs for HTML, CSS, and email templates. Fast, private, and built for everyday frontend work.

Files stay in your browserUp to 20 files at onceNo account required
Base64 converter

A clean handoff from pixels to code.

Drop your assets, choose an output mode, and copy the exact snippet you need.

Ready for images0 files

Drag & drop images here

or browse from your device

JPEGPNGWebPGIFSVG+ more
Up to 20 files · processed locally
Text and Base64 tools

Encode text, decode Base64, and restore previews.

Work with UTF-8 text, raw Base64, and image data URIs in the same local browser workflow.

Text to Base64

Paste plain text, including multilingual content, and encode it as UTF-8 Base64.

OutputWaiting for text
Add input to generate an output.

Base64 restore

Paste raw Base64 or a Data URI to restore text, inspect image output, and copy the result.

Restored textWaiting for Base64
Add input to generate an output.
Made for frontend workflows

Small utility, fewer loose ends.

Everything you need to move an image from a folder into a codebase without opening another editor.

01

Private by default

Files are read with browser APIs and are never sent to a server or stored in an account.

02

Copy the right shape

Switch between raw Base64, Data URI, image tag, CSS, Markdown, and JSON output.

03

Batch-ready

Queue up to 20 images, inspect each result, then copy or export the whole batch.

How it works

From local file to usable snippet in seconds.

The converter uses FileReader and Canvas APIs already available in your browser. There is no backend step to wait for.

  1. 01

    Drop an image

    Choose one file or add a batch of assets from your device.

  2. 02

    Shape the output

    Optionally resize or optimize, then choose the format you need.

  3. 03

    Copy and ship

    Copy the generated snippet into your project, documentation, email, or prototype.

FAQ

Questions before you encode?

A few practical notes about data URIs and the browser-based workflow.

What is a Base64 image?

A Base64 image is an image represented as text inside a data URI. It can be embedded directly in HTML, CSS, JSON, Markdown, or email markup.

Are my images uploaded?

No. The conversion happens locally in this browser tab using FileReader and Canvas. Closing the tab clears the working session.

Which formats are supported?

JPEG, PNG, WebP, GIF, SVG, BMP, ICO, TIFF, AVIF, and HEIC files can be read as data URIs. Browser decoding determines which formats can also be previewed or optimized.

Should I use Base64 for every image?

No. Data URIs are best for small interface assets, email templates, embedded demos, and portable snippets. Larger images are usually better as separate optimized files.

Keep the handoff simple.

Encode your next image without leaving your workflow.

Open converter