Tools / Base64 tools

Base64 encoder, decoder & image converter

Encode or decode text, convert an image to a Base64 data URL, or preview and download an image from one. Everything runs on your device.

Image to Base64

Base64 to image

More free checks

Run a full security scan or speed test on your site, or try a related tool.

Related free tools

See all free tools →

Privacy and limits

What you can do here

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding: anyone can decode it instantly, as this page shows. Never rely on it to hide passwords, API keys or personal data.

When should I inline an image as a data URL?

Only for very small images such as icons. Base64 makes the data about a third larger, and an inlined image cannot be cached separately from the page or stylesheet that contains it.

Why is SVG not accepted for decoding?

An SVG file can contain scripts and links. Rendering one decoded from untrusted text is a needless risk, so the preview accepts raster formats only.

Why does decoding show garbled characters?

The original data was probably binary (an image, a compressed file or an encrypted blob) rather than text. Try the Base64 to image section if you expect an image.

Are my files uploaded?

No. Text and images are processed in your browser and never sent to Qcramai.