Decode Hex (Base16) to File
This online Hex (Base16) decoding tool helps you decode Hex to a file for download. Read more
Hex file decoding
Hex converts binary bytes to printable text using two hexadecimal digits per byte. This page turns Hex text back into the original binary file.
How to use this tool
Paste or load the encoded text, select the matching Hex options, decode it, and download the recovered bytes. Processing is performed locally in your browser.
Common uses
Hex is useful for API payloads, test fixtures, certificates, embedded resources, and inspecting binary data in text-only environments. Hex is easy to compare byte by byte but doubles the data size.
Important limitations
Hex is not encryption and does not protect sensitive files. Very large files may exceed browser memory. When decoding, the alphabet, padding, whitespace rules, and other options must match the producer.
Frequently asked questions
Will the decoded file keep its original filename?
Encoded text does not normally contain a filename or media type. Choose an appropriate download name and extension yourself.
Why is the recovered file corrupt?
Check for missing characters, altered line breaks, the wrong variant or alphabet, and accidental decoding as character text instead of bytes.