Hex to Text
Convert hexadecimal values to characters
What Is the Hex to Text Tool?
The Hex to Text tool converts hexadecimal values into the characters they represent, turning a sequence of base-16 codes into readable text. You paste your hex values into the input, choose the delimiter that separates them in your data, click Convert, and the corresponding characters appear in the output. It is used for decoding hex-encoded strings, inspecting data from network packets, hex dumps, or any source that represents text as hexadecimal rather than plain characters.
Hex encoding shows up in enough different contexts, from color codes to file headers to encoded URLs, that having a quick decoder available saves a meaningful amount of time compared to looking values up individually or running a script.
How to Use This Tool
- Paste or type your hexadecimal values into the input box above. Each hex pair (two characters like 48 or 6F) represents one character.
- Select the delimiter that separates your hex values: space, comma, or new line. Match the choice to how your input is formatted.
- Click Convert and the tool translates each hex value into its corresponding character, displaying the readable text in the output area.
- Copy the result using the Copy button, or select and copy manually. Use Clear to reset the input.
When Would You Use This?
Decoding a hex-encoded string from a network log, a hex dump, or a data file where the content was stored or transmitted as hexadecimal values instead of readable characters.
Inspecting raw data from a debugging session, a protocol analyzer, or a binary file viewer where text content is displayed in hex format and you want to quickly see what it says.
Working through a programming exercise, a security challenge, or a decoding puzzle that involves hexadecimal-encoded text, where you need to convert the values to readable output without manually looking up each one in a reference table.
Examples
Space-separated hex values
Input : 48 65 6C 6C 6F
Delimiter: Space
Output : Hello
Decoding a full phrase
Input : 48 65 6C 6C 6F 20 57 6F 72 6C 64
Delimiter: Space
Output : Hello World
Comma-separated hex values
Input : 54,65,73,74
Delimiter: Comma
Output : Test
New line separated values
Input : 4F
4BDelimiter: New line
Output : OK
Continuous hex string (no delimiter)
Input : 48656C6C6F
Delimiter: None (pairs split every 2 characters)
Output : Hello
Frequently Asked Questions
How do I convert hex to text?
Paste your hex values into the input box, set the delimiter to match how they are separated, and click Convert. Each hex pair is translated to its corresponding character and the readable text appears in the output.
What is hexadecimal?
Hexadecimal (or hex) is a base-16 number system that uses the digits 0-9 and the letters A-F. It is widely used in computing because it maps cleanly to binary, with each hex digit representing exactly four bits. Two hex digits together represent one byte, which corresponds to one character in standard ASCII encoding.
What does each hex pair represent?
In ASCII encoding, each pair of hex digits represents one character. For example, 48 is the letter H, 65 is the letter e, and 6C is the letter l. Stringing those pairs together decodes to readable text.
How do I convert hex to text in Python?
Use the bytes.fromhex() method: bytes.fromhex('48656C6C6F').decode('utf-8') returns 'Hello'. For hex values with spaces, remove the spaces first or split and join. For a quick manual conversion without code, use this tool.
What delimiter should I use?
Match it to your input. If your hex values are separated by spaces (48 65 6C 6C 6F), choose space. If separated by commas (48,65,6C,6C,6F), choose comma. If each value is on its own line, choose new line.
How do I read a hex dump?
A hex dump displays data as rows of hex values, typically with 16 bytes per row, alongside the ASCII representation. The hex values on the left are what this tool converts. Paste those values in, set the delimiter to space, and the text output will match what you see in the ASCII column of the dump.
What is the hex value for a space?
A space character in ASCII is decimal 32, which in hex is 20. If your decoded output is missing spaces, check that the hex value 20 is included in your input at the right positions.
Can I decode hex without spaces between values?
If your hex values are written as a continuous string with no delimiter (like 48656C6C6F), the tool may handle them by splitting every two characters as one byte. Check whether the tool supports this format, or add spaces between pairs before pasting.