CODING · FREE TOOL

Image, Base64 & data URI converter

Encode local files, build data URIs, or decode a still image for download.

On-device processing · No account · No ads

Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.

Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.

See where data goes →
Your input and settings

Encoding uses the chosen file. Decoding uses the Base64 input. Changing either clears the old result.

Encode any local file up to 2 MiB; bytes are represented unchanged. MIME follows the selected file type or application/octet-stream. Decode canonical padded Base64, up to 2 MiB decoded, into still PNG/JPEG/WebP only, 8 megapixels and 8,192 px per side. No SVG, remote URL import or automatic opening. A data URI is an encoding, not encryption.

Preparing local controls…

YOUR NEXT STEP

Your encoded or decoded file

Choose an operation or example, then process. Nothing is automatically saved.

A worked example

The UTF-8 bytes for Hi become SGk=. With a text/plain media type, the data URI is data:text/plain;base64,SGk=. Decoding an accepted image retains its original encoded bytes.

Useful conventions, visible limits.

Encode any local file up to 2 MiB; bytes are represented unchanged. MIME follows the selected file type or application/octet-stream. Decode canonical padded Base64, up to 2 MiB decoded, into still PNG/JPEG/WebP only, 8 megapixels and 8,192 px per side. No SVG, remote URL import or automatic opening. A data URI is an encoding, not encryption.

Processing stays in your browser. There is no account, file upload, analytics, remote lookup or automatic saving. Clear releases the tool’s working references; downloads, clipboard, browser recovery and hosting logs have separate retention. Review outputs before sharing, publishing or importing them.

References: Data URI RFC 2397 · Base64 RFC 4648. Implementation reviewed October 26, 2026.