Hex to Text Converter
Choose a direction: turn short text into its hexadecimal (base-16) byte codes, or decode hex digit pairs back into readable text.
What this calculator does
Every character of text is stored by a computer as a numeric ASCII (or Unicode) code, and that code is often written in hexadecimal (base 16) rather than decimal. This tool converts a short piece of text into its hex byte codes, or decodes hex digit pairs back into readable text.
How the calculation works
For Text to Hex, each selected character’s decimal ASCII code is converted to base 16 and padded to two digits. For Hex to Text, the hex digits you pick are grouped in pairs to form bytes, and each byte is converted back to its decimal code and then to a character with String.fromCharCode().
This tool is for general reference and educational use with short ASCII text; it does not handle multi-byte Unicode encodings.