Text must become bytes before it can become hex
Hex is only a notation for bytes. UTF-8, UTF-16 little-endian, UTF-16 big-endian, ASCII and ISO-8859-1 can therefore produce different results for the same visible text.
Unicode normalization is a real byte-level choice
Canonically equivalent strings such as precomposed and combining-mark forms can look alike while producing different byte sequences. Apply normalization only when the protocol or storage format actually expects it.
Strict reverse decode is the fastest verification
Decode the produced bytes using the same encoding and compare the normalized source with the result. Invalid UTF-8, invalid ASCII bytes or malformed hex should be treated as evidence—not silently repaired.
Privacy and portable evidence
Text stays in this browser tab. History stores only numeric counts and settings-only share links exclude source text, hex output and local history.