About Hex to Text Converter
Hexadecimal writes each byte as two characters from 0 to 9 and a to f, so the letter H (byte 72) becomes 48. Hex is common in network captures, memory dumps, colour codes, hashes and file signatures.
This converter reads pairs of hex digits, builds the bytes and decodes them as UTF-8 text. Spaces and line breaks between bytes are ignored. Switch the mode to Encode to go the other way and turn text into space-separated hex bytes.
How to use Hex to Text Converter
- Choose Decode to convert hex to text, or Encode to convert text to hex.
- Paste the hex bytes or the text into the input box and click Run Tool.
- Copy the result.
Example
Input
48 65 6c 6c 6f 20 4e 48 50 20 4c 65 61 72 6e 69 6e 67
Output
Hello NHP Learning
Common uses
- Reading a string that was copied from a hex dump or a packet capture.
- Checking the byte values of a text string while debugging encoding issues.
- Converting values from documentation that shows data in hexadecimal.
Privacy and safety
This tool runs in your browser. The text you enter is processed on your device and is not sent to NHP Learning.
Frequently asked questions
Do I need spaces between the bytes?
No. 48656c6c6f works the same as 48 65 6c 6c 6f. The tool reads the hex digits in pairs.
Why do I get strange characters?
The bytes may not be UTF-8 text, for example compressed or binary data, or the hex string may be cut off in the middle of a multi-byte character.
Is 0x required?
No. Remove prefixes such as 0x if you can, although the tool ignores characters that are not hexadecimal digits.