Pixvert

Image to Base64 Converter — Free

Encode any image to a Base64 data URI for HTML, CSS, or JSON. Or decode a Base64 string back to an image. 100% local — no upload required.

Encode imageDecode Base64Ready snippetsNo upload
🔡

Drop your image here

or click to browse — any image format

🔡

Embed in code

Base64 lets you embed images directly in HTML, CSS, or JSON without hosting a separate file.

📋

Ready-to-use snippets

Copy the raw Base64, full data URI, HTML img tag, or CSS background-image declaration in one click.

🔒

Fully private

Encoding and decoding happen entirely in your browser with the FileReader API. No data is sent anywhere.

Ad