Tools/File to Base64 Converter
Encoding & Conversion

File to Base64 Converter

Drag in a file to get its Base64 data URI, or paste a Base64 string to rebuild and download the original file.

Free & unlimitedRuns in your browserNo sign-up required
Loading tool…
How it works

Three steps, no setup

1

Choose a direction

Encode a file you upload, or decode a Base64 string you paste in.

2

Preview the result

Images render inline so you can confirm the conversion worked.

3

Copy or download

Grab the encoded string, or save the decoded file straight to disk.

Common questions

Frequently asked questions

Is there a file size limit?
Very large files will slow down the browser tab since everything is processed in memory — this tool is best suited to images, icons, and small documents.
Where is my file processed?
Entirely on your device. Files are never uploaded to a server.
Chat with us
Usually replies in minutes