ENCODING
Hex Encoder
Encode text to hexadecimal bytes.
What this tool does
Text typed or pasted on the left converts to space-separated hexadecimal on the right, live — each byte of the underlying UTF-8 text as a two-digit hex pair.
Why it works on bytes, not characters
Text is first turned into its real UTF-8 bytes, and each byte becomes its own hex pair. A plain ASCII character is one byte, so it becomes one pair; a character outside the basic ASCII range — an accented letter, a symbol, an emoji — can take two or more bytes, and each of those gets its own hex pair rather than being skipped or mishandled.
Privacy
Encoding happens in your browser. Nothing you type or paste is sent to a server.
FAQ
Frequently asked questions
Is my data uploaded anywhere?
No. Encoding happens locally in the browser — nothing is sent to a server.
Why does one character sometimes produce more than one hex pair?
Conversion works at the byte level using UTF-8, and a character outside the basic ASCII range can take two or more bytes to represent, producing that many hex pairs instead of always exactly one.
What does each hex pair represent?
One byte -- a number from 0 to 255, written in base 16 using two digits, with a leading zero when needed.
Is the output separated in a particular way?
Each byte pair is separated by a single space.
Where does converting text to hex commonly come up?
Inspecting the raw bytes behind a string, embedding a byte sequence in source code or a config file, and debugging encoding issues where the visible text alone does not reveal what is actually stored.