How it works
Encode text with UTF-8 and format each byte as two hexadecimal digits; decode pairs of hex digits using a fatal UTF-8 decoder.
Input definitions
- Text or hexadecimal bytes
- Plain text; maximum 200,000 characters.
- Direction
- Choose Text to hex / Hex to text.
A worked example
- Text or hexadecimal bytes
- Hi
- Direction
- Text to hex
Assumptions & limits
Plain text on your device, with no remote fetch. CSV input is comma-separated with unique nonempty headers, at most 1,000 rows and 50 columns; downloads escape spreadsheet formula prefixes. Hex is an encoding, not encryption. The UTF-8 BOM is preserved as a character.
Sources & review
Maintained by AnsRio. Methods and examples use automated checks; this does not imply independent professional certification.
Method updated 2026-10-17. Content checked against the stated method and examples. Our verification approach.
Common questions
Why can valid hexadecimal bytes fail to decode as text?
Hex represents arbitrary bytes, but only some byte sequences are valid UTF-8. The decoder rejects malformed UTF-8 instead of silently replacing it with replacement characters.
How does UTF-8 text and hexadecimal bytes work?
Encode text with UTF-8 and format each byte as two hexadecimal digits; decode pairs of hex digits using a fatal UTF-8 decoder.
What are the limits of UTF-8 text and hexadecimal bytes?
Plain text on your device, with no remote fetch. CSV input is comma-separated with unique nonempty headers, at most 1,000 rows and 50 columns; downloads escape spreadsheet formula prefixes. Hex is an encoding, not encryption. The UTF-8 BOM is preserved as a character.