TextyConverterbeta
⌘K

Text → Hex

Convert text to a space-separated string of hexadecimal byte values. UTF-8 encoded.

0 characters
0 characters

About Text → Hex

This tool encodes your input as UTF-8 bytes and emits each byte as two hexadecimal digits, space-separated. Hex is more compact than binary and easier to read for developers — it's the standard way to display raw bytes in dumps and debuggers.

When to use it

  • Producing hex byte dumps for documentation or debugging
  • Encoding binary data for paste into a hex-aware tool
  • Inspecting the UTF-8 byte representation of Unicode strings
  • Generating CTF puzzle content

How it works

Input is encoded as UTF-8 bytes via TextEncoder. Each byte is converted to a 2-digit lowercase hex string and joined with single spaces.

Examples

Hi
48 69
é is two bytes in UTF-8 (C3 A9)
café
63 61 66 c3 a9

Frequently asked questions

Lowercase or uppercase hex?
Lowercase. To uppercase the output, run it through the uppercase tool afterward.
What separator is used?
A single space between bytes. The hex-to-text decoder accepts any whitespace, commas, or '0x' prefixes.

Related tools