Base64 ↔ File
Convert files to Base64 and back
Loading...
About this tool
Convert files to Base64 and Base64 back to a file. It's useful for embedding images and files directly in HTML, CSS, JSON or emails, without needing an external link.
Pick a file to generate the Base64 string, or paste a string to download the matching file. Processing happens in the browser.
How to use
- Select a file to convert it to Base64, or paste a Base64 string.
- Copy the generated string or download the resulting file.
Frequently asked questions
Which file types work?
Any file: images, PDFs, fonts and other binaries.
Are files sent to servers?
No, the conversion is done locally in your browser.
Does Base64 increase the size?
Yes, about 33% larger than the original; that's the cost of representing binary as text.
Advertisement