Base64 File Encoder

Encode a file as Base64 — for data URIs, JSON APIs or email.

Drop a file

images, PDFs, fonts, anything

● Your files are processed locally in your browser and are not uploaded to our servers.

How it works

Base64 represents binary data with 64 printable characters, so files can travel inside text formats (HTML, CSS, JSON, email). The encoded text is about 33% larger than the file. Data URIs are handy for small icons; for big images, a normal file is better for page speed.

FAQ