File to Base64
Encode any file to a Base64 text string.
About the File to Base64 tool
This tool converts any file into a Base64 string — a plain-text representation you can paste into code, a data: URI, a JSON payload, or an email. It runs entirely in PHP on our server; you don't need to install anything.
How to use it
- Choose a file — drag & drop, or use Choose files.
- Review the note in the settings panel.
- Select Encode and wait a few seconds while it processes.
- Download your result — or use Download all for multiple files.
Supported files
Any file type is accepted. The maximum size is 1 GB per file.
Good to know
- Base64 text is roughly 33% larger than the original file — it's for embedding or transport, not for shrinking files.
- Your uploaded file is deleted from our server immediately after processing, and the generated result is removed automatically by a periodic cleanup. See our Privacy Policy.
- No account or sign-up is needed, and your files are never shared.