How to use the Text to Hex Converter
- Choose the direction.
- Type text or paste hex (spaces and 0x prefixes are fine).
- Copy the result.
What does this tool do?
Hexadecimal writes each byte as two digits from 0–9 and A–F, which is compact and easy to read in debuggers, network tools and file dumps. “Hi” is 48 69.
Decoding accepts hex with or without spaces and with 0x prefixes, and tells you if the bytes aren't valid UTF-8.
Why use it?
- Both directions.
- Forgiving input.
- UTF-8 validation.
Privacy
The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.
Last reviewed by the M2Toolkit team.