Current toolBase64 file converter
Encoding · ENC-09Submit an issue

Base64 file converter

Convert a file to a Data URL or restore Base64 data as a file.

File ↔ Base64 / Data URL
Input
Output

—

Usage guide and examples

Convert, recognize and generate

Choose file-to-Base64 or switch to Base64-to-file and set a download name. A hello.txt containing Hello produces SGVsbG8=. Reverse conversion restores bytes; changing the file name does not change its format.

Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.

Example input and settings

hello.txt · Hello

What to check in the result

SGVsbG8=