File to Base64
Encode a local file to Base64. Large files are processed in a background worker.
Base64 inputPaste or drop a file
Decoded result
Ready to convertYour result will appear here automatically.
Starting local conversion…
Processed on this device. Keep this tab open until the conversion is complete.
Character encoding candidates
These are guesses, not verified matches. Select a preview only if it looks right.
Advanced settings
How to use this tool
Open any file up to 100 MiB. For large files, wait for the progress indicator and download the complete result instead of copying the preview.
Example: A file containing the four bytes 00 01 02 03 encodes to AAECAw==.
Frequently asked questions
Is my file uploaded?
No. File data is read and transformed in the browser. Large results still require available device memory.
What is the file size limit?
Encode up to 100 MiB, or decode up to 160 MiB of Base64 input into at most 100 MiB. Actual capacity depends on your device memory.