File ↔ Base64 Converter
7 toolsConvert a file to Base64, or decode Base64 back to a file.
Runs in your browser — your files and text stay on your device
Convert a file to Base64, or decode Base64 back into a file. Base64 makes data about a third larger, so it suits small files such as icons rather than large documents. Conversion runs in your browser and the file isn't uploaded.
Base64 & URLJWT DecoderJWT GeneratorFile ↔ Base64HTML Entity Encode/DecodeBase32 Encode/DecodePunycode (IDN) Converter
File → Base64
Base64 → File download
How to use this tool
- 1Upload a file to get its Base64 text and data URL.
- 2Or paste a Base64 string / data URL to decode and download the original file.
- 3Everything happens locally — files are never uploaded.
Frequently asked questions
What's a data URL?
A string embedding a file directly, like data:image/png;base64,..., usable anywhere a URL is expected without a separate network request.
Is there a file size limit?
No hard limit, but very large files (tens of MB) may be slow to encode in the browser.
Is my file uploaded anywhere?
No — encoding and decoding both happen entirely in your browser.