NewPlus, API and MCP are live — run 175 tools from your own stack.
100www

Tool 36 · M17 · Images / Media · Updated Nov 2026

Image Base64 Converter

Convert images to data URIs and back, with HTML/CSS snippets, preview and download.

Browser Free No sign-up
How it works
100www.dev/tools/image-base64

What it does

A data URI embeds an image directly in HTML or CSS, removing a request but increasing document size. This tool converts images both ways and provides HTML/CSS snippets.

How it works

Upload an image to get a data URI, or paste a data URI to preview it.

Copy the data URI, HTML or CSS snippet.

Download the decoded image when working in the other direction.

Use data URIs for small icons, not large photos.

When to use it

  • Inline a small icon in CSS.
  • Inspect a data URI's MIME type.
  • Embed a tiny asset in an email template.

Glossary

Data URI
A resource encoded as a URL.
Base64
Binary-to-text encoding used inside data URIs.
MIME type
A label such as image/png that describes the content.

Frequently asked questions

Are local images uploaded?+

No. Local images are read in the browser and converted to a data URI.

Is the image uploaded?+

No. The fetch happens in your browser, and the data URI is built locally.

Can I decode a data URI?+

Paste plain text and the tool returns a text data URI; image decoding is not part of this tool.

Why does the fetch fail?+

The host may block CORS, require authentication, or return an HTML error page.

When should I avoid data URIs?+

For large images, because base64 adds about 33% overhead and blocks other downloads.

Is base64 secure?+

No. It is reversible encoding, not encryption.

API & MCP

No API endpoint

This tool runs entirely in your browser. It is not available over the REST API or MCP.

Shareable result

https://100www.dev/tools/image-base64?u=https%3A%2F%2Fexample.com%2Ficon.png

100www

100www engineering

Editorial

Reviewed by Steve · · Report an error

Tested from the 100www probe network; results vary by location and network.