Text to Hex Converter
Type text to see its hexadecimal bytes.
Free · Runs in your browser · Your text is never uploaded
Text as hex bytes
Each byte of your text is shown as two hexadecimal digits. “Hello” becomes 48 65 6C 6C 6F. Developers use this to inspect how a string is encoded, find hidden characters such as non-breaking spaces (C2 A0), and prepare byte arrays.
Hex is a compact way to read binary: one hex digit stands for four bits, so a byte is exactly two digits.
Need more options? Open the full Text to Binary Converter.
Frequently asked questions
How do I convert text to hex?
Type your text above. The output lists each byte in hexadecimal.
What is the hex for the letter A?
41, which is 65 in decimal.
How can I find hidden characters?
Convert the text to hex and look for unexpected bytes such as C2 A0 (non-breaking space) or E2 80 8B (zero-width space).