Base64 Image Encoder

Convert images to Base64 data URLs and back again.

Works Offline
Privacy First
No Login
No API
FileReader

Encode: image → Base64

Drop a file here

or choose a file — it never leaves your device

Decode: Base64 → image

Paste base64 image data to preview it here.

About the Base64 Image Encoder

Encode any image file into a Base64 data URL for embedding in CSS or HTML, or decode a Base64 string back into a viewable image. Fully client-side using the FileReader API.

Examples

Encode PNG

icon.png

Output

data:image/png;base64,iVBORw0K...

Related tools

Frequently asked questions

Read more

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser