Tool guide
About this tool.
Hexadecimal notation uses the digits 0–9 and A–F; two hex digits represent one byte, so the UTF-8 byte for A is 41.
This tool converts UTF-8 bytes rather than Unicode code point numbers; č is c4 8d even though its code point is U+010D.
- Inspect the byte representation of a text payload or compare it with a UTF-8 hex dump.
- Recover text from complete hexadecimal byte pairs copied from a log or test fixture.
- Check multibyte characters using the Binary and Unicode Escape tools alongside this converter.
Choose Text to hex to encode plain text, or Hex to text to decode UTF-8 bytes.
For Text to hex, paste the text; each UTF-8 byte becomes two lowercase hex digits, and the pairs are separated by spaces.
For Hex to text, paste complete hex byte pairs, either together or separated by whitespace; uppercase and lowercase hex digits are accepted.
Run and copy the result, or use “Use result & reverse” to check the round trip.
- Text to hex: Hi → 48 69
- Hex to text: 4869 or 48 69 → Hi
- UTF-8 bytes: č → c4 8d
- Emoji: 😀 → f0 9f 98 80
- Hex to text: 4F 4B 21 → OK!
- Input must have an even number of hex digits after removing whitespace; 0x prefixes, commas, offsets and ASCII dump columns are not supported.
- Valid hexadecimal bytes must also form valid UTF-8; ff is a byte but cannot be decoded as UTF-8 text.
- This is a text converter rather than a file decoder; valid spaces, line breaks and a leading U+FEFF character are preserved.