Skip to content
IPOK

Image ↔ Base64 Converter

Turning an image into a Base64 Data URL lets you inline it in HTML / CSS / JSON and save an HTTP request (good for small icons). This tool goes both ways: pick an image to get its Data URL (with size), or paste Base64 / a Data URL to preview the image.

Everything is encoded locally with the browser-native FileReader, never uploaded — images can contain screenshots, IDs and private info that shouldn't go into a tool that uploads. Note: Base64 inflates size by ~33%, so it's not worth it for large images.

Image → Base64

Base64 → Image

Encoded locally with the browser FileReader, never uploaded — images can carry sensitive info that shouldn't go into a tool that uploads. Inlining an image as Base64 saves an HTTP request but inflates size by ~33%.

Check your exit IP's purity while you're here →
Check your own IP — purity, risk score, native vs datacenter, leaksCheck IP →

FAQ

Is the image uploaded to a server?

No. It's encoded with the browser's local FileReader; the image never leaves your device.

When should I inline an image as Base64?

For small icons / images, inlining saves an HTTP request. Avoid it for large images — Base64 is ~33% larger than the original.

Which image formats are supported?

Anything the browser can read (PNG / JPG / GIF / WebP / SVG …); the Data URL keeps the original MIME type.

More tools