Text to Hex Converter

Text to hexadecimal bytes — and hex dumps back to text — with the separator style you prefer.

About this tool

Hexadecimal is the lingua franca of bytes: color codes, MAC addresses, hashes, packet dumps. This converter turns text into its UTF-8 hex bytes with your choice of separator — space, colon, dash or none — and decodes hex strings back into text, tolerating prefixes like 0x and mixed separators.

How to use it

  1. Type text and click Text → Hex ▸, or paste hex and click ◂ Hex → Text.
  2. Pick the separator style your context needs before encoding.

Good to know

  • Odd-length hex input is reported as an error — every byte needs exactly two digits.
  • Non-UTF-8 byte sequences decode with replacement characters and a warning.
  • Need binary instead? The Text to Binary converter has you covered.