Text ↔ hex

Shows the UTF-8 bytes of text or a file as hexadecimal, and turns hex back into text. Reads hex pasted from anywhere: with spaces, colons, 0x or \x.

In
text · file
Out
HEX
Options
Input · text · file
Output · HEX

Waiting for input

Runs in this tab. The text is not sent anywhere.

Related

Questions

Why does one letter give several bytes?

In UTF-8 Latin letters take one byte, Cyrillic two, most emoji four.

↑ ↓ move · Enter open · Esc close