100% In-Browser • Your files never leave your device

Base64 Encoder & Decoder (File / Data URI)

Convert any file, image, or document into a Base64 Data URI string, or decode Base64 back into downloadable binary files.

How to use Base64 Encoder & Decoder (File / Data URI)

1

Choose 'File to Base64' to encode or 'Base64 to File' to decode.

2

Upload any local file or paste your Base64 string.

3

Click copy to get the Data URI string or click decode to generate the file.

4

Download your file or embed the code in your website.

Frequently Asked Questions (FAQ)

What is a Base64 Data URI used for?

Base64 allows developers to embed images, icons, and fonts directly into HTML or CSS without requiring separate HTTP network requests.

Is there a file size limit for Base64 conversion?

We recommend files up to 25MB because Base64 strings are ~33% larger than the original raw binary data.