Image → Base64

Open an image and get it as a Base64 data URL, ready to inline in CSS or HTML. The file is encoded as is, without re-compression.

In
image
Out
BASE64 · DATA URL
Options
Input · image
Output · BASE64 · DATA URL

Waiting for input

Runs in this tab. The text is not sent anywhere.

Related

Questions

When is inlining worth it?

For small icons — a few kilobytes. Base64 adds about a third to the size and cannot be cached separately, so large images are better as files.

↑ ↓ move · Enter open · Esc close