Type or paste text and it is converted to the hex representation of its UTF-8 bytes as you type. Pick a separator (space, colon, comma, dash, none or one byte per line), a per-byte prefix such as 0x or \x, and upper or lower case digits.

Decoding is deliberately tolerant: it strips 0x, \x and % prefixes and ignores spaces, colons, commas, dashes and line breaks, so you can paste output from a hex dump, a C array, a URL-encoded string or a MAC address style listing. The only hard requirements are that every character is a hex digit and that the total number of digits is even.

  • Multi-byte characters (accents, CJK, emoji) become 2–4 bytes each, because the conversion works on UTF-8.
  • If the decoded bytes are not valid UTF-8 you get an error instead of garbled text.
  • Everything runs locally in your browser.