File ↔ Hex

Encode file bytes or decode text to a downloadable file.



FAQ

Where is data processed?

In your browser. Inputs are not uploaded.

What is supported?

Only the listed modes and finite examples are covered; this is not an all-input proof.

Other Languages

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Encode and decode fixed zero/high-bit binary bytes; reject odd-length hex. Download regressions distinguish encoded Hex text from decoded raw bytes and exercise the inactive source-encoding selector.
Comparison reference
Explicit 00ff8001 byte assertion and local inverse; no second implementation in this test.
Verification scope
Only the listed modes and finite examples are covered; this is not an all-input proof.
Test source and cases (select a file to read it)
  • completion-tools.test.js
    • file-hex: binary zeros and high bytes survive encoding and decoding
    • Hex encoding explicitly downloads encoded text while decoding downloads original bytes
    • File decoders treat input as encoded text regardless of the source byte selector

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.