File to Base64

Encode a local file to Base64. Large files are processed in a background worker.

Base64 inputPaste or drop a file
0 charactersBase64 / Base64URL
Decoded result
Ready to convertYour result will appear here automatically.
Waiting for input0 bytes
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.