Text and Hex Converter

Local tool Encode UTF-8 text as hexadecimal bytes or decode hex back into text.

Good to know

Each pair of hexadecimal digits represents one byte. For example, 41 42 decodes to AB in UTF-8; a non-ASCII character may occupy several bytes.

FAQ

Why are two hex digits needed for each byte?

Each hexadecimal digit encodes four bits, so two digits represent eight bits.

Why does FF fail to decode?

It is a valid byte value, but a single FF byte is not valid UTF-8 text.