File ⇄ Base64

Embed a file as text, or recover a file from Base64 — private and instant.

100% private — your files never leave your device. Every tool on this page runs entirely in your browser. Files are processed locally and are never uploaded to any server, never stored, and never shared.

File ⇄ Base64

Turn any file into a Base64 data URL for embedding in HTML, CSS, or JSON. Or paste Base64 to recover the original file.

Result

Your data URL will appear here.

What is a Base64 data URL?

Base64 encodes binary data as plain text. A data URL wraps that text with a small header so a browser can treat it like a real file — handy for embedding small images directly in HTML, CSS, or JSON without a separate request.

Related tools from our network

A focused set of free calculators and guides across related topics — no account required.