Skip to content
2xKit

File to Base64 Converter

Encode any file as Base64, or decode Base64 back into a downloadable file.

Runs in your browser

About this tool

Some contexts — embedding a small image directly in CSS or HTML, pasting binary data into a JSON payload, sending a file through a system that only accepts text — can't handle raw binary files and need it represented as text instead. This tool encodes any file into Base64 text, or decodes Base64 text back into the original downloadable file, covering both directions of the conversion that comes up constantly in web development and data interchange.

Frequently asked questions