Hex · bytes you can read

Text to hex and hex to text

See the exact bytes behind any text, or turn a hex dump from a packet capture, a CTF challenge or a debugger back into words. Each byte is two hex digits, and text uses UTF-8, so you can see why one Hindi letter takes three bytes. Spaces, 0x prefixes and colons are all accepted when decoding.

How to use the tool

  1. 1

    Type your text

    Enter text in the Text box to see its UTF-8 bytes in hex, for example Hi → 48 69.

  2. 2

    Pick a separator

    Keep a space between bytes for reading, or choose no spaces for a compact string to paste into code.

  3. 3

    Decode hex

    Paste hex like 48 65 6c 6c 6f, 0x48 0x65 or 48:65:6c into the Hex box to read it.

  4. 4

    Check the bytes

    Switch to Binary to see the same bytes as 8-bit groups.

QRScanKaro

Share it as a QR code

Got a link, a Wi-Fi password or a message to share? Turn it into a QR code with your colours and logo, free, in your browser.

Open the QR generator →

Frequently asked questions

Why does one Hindi letter become 3 bytes?

UTF-8 uses 1 byte for English letters and digits, 2 for many European letters, 3 for Devanagari and most Indian scripts, and 4 for emoji. The hex output shows each of those bytes.

What input formats does the hex decoder accept?

Upper or lower case, with or without spaces, 0x prefixes, colons (as in MAC addresses) or commas. It needs an even number of digits, two per byte, and says so if one is missing.

Is this the same as hex to ASCII?

For English text, yes: ASCII is the first 128 characters of UTF-8. The difference shows up with other scripts, which ASCII-only converters turn into question marks and this one decodes correctly.

What if the hex is not text?

If the bytes do not form valid UTF-8, for example a piece of an image or an encrypted value, you get a clear message rather than a line of garbled symbols.