Hexadecimal is the standard way programmers look at raw bytes: it’s compact (two digits per byte) and lines up neatly with binary. You’ll meet it in URL encoding, colour codes, memory dumps, network packets and capture-the-flag challenges. This tool converts between readable text and byte values in three number systems.
Uses
- Debugging: spot hidden characters such as zero-width spaces or Windows line endings (0D 0A).
- Security and CTFs: decode hex-encoded strings found in logs or challenges.
- Programming: produce byte literals for code, or check what a string looks like on the wire.
- Learning: see how ASCII and UTF-8 map characters to numbers.
How to use the Text to Hex Converter
- Type or paste text in the left box.
- Choose a number format: hexadecimal, decimal (ASCII codes) or octal.
- Choose how to separate bytes, then copy the codes from the right.
- To decode, pick Hex → text or click Swap. Hex can be spaced, comma-separated, or one string like 48656c6c6f.
Features
- Three formats from one tool: hex (48 69), decimal (72 105) and octal (110 151).
- UTF-8 encoding for any language and emoji.
- Decoder accepts 0x prefixes, spaces, commas and unbroken hex strings.
- Points to the first invalid value instead of returning garbled text.
Frequently asked questions
How do I convert hex to text?
Choose Hex → text and paste the hex. Each pair of hex digits is one byte; the bytes are decoded as UTF-8 to give the original text.
What’s the difference between hex and ASCII codes?
They’re the same values written in different number bases. The letter A is 65 in decimal (its ASCII code) and 41 in hexadecimal.
Why do some characters produce several hex values?
Characters outside basic English take more than one byte in UTF-8. For example, € is E2 82 AC, three bytes.
Written by Dewan Razib