Hex: text, bytes and file dump

Text to hex and back, a file dump with addresses and ASCII.

Text and hex

The bytes of the text in UTF-8. Going back, it accepts spaces, colons, commas, 0x and \x.

Separator

File dump

or drop it here

How to read hex

Hex writes each byte as two hexadecimal digits from 00 to FF. Text is converted to UTF-8 bytes: a Latin letter takes one byte, a Russian one two. Bytes can be separated by a space, written run together, or separated by commas with 0x.

A file dump shows the line address, 16 bytes in hex and the same bytes as ASCII letters, like hexdump -C. The first bytes show the file type: a PNG starts with 89 50 4E 47.

FAQ

How do I convert hex to text?
Paste the bytes into the right field; spaces and 0x don't get in the way. If the bytes don't form valid UTF-8, the page will say so.

You might also need