Paste hex bytes like 48 65 6c, 0x48, \x48 or %48 and read them as UTF-8 text, with any bad digit pointed out
Paste hex bytes to read them as text, whether they come with spaces, 0x, \x or %, from a hex dump, a log or a URL.
How to use it
Paste the hex: pairs with spaces, one long run, or with 0x, \x or % in front. The text appears as you paste. A digit that isn’t hex, or an odd number of digits, is named with its line and column. Copy the text, or switch to Text → Bytes to write text as hex.
Examples
Pairs with spaces
Input
48 65 6c 6c 6f
Result
Hello
Escapes from code
Input
\x63\x61\x66\xc3\xa9
Result
café
Percent-encoded bytes
Input
%E2%82%AC
Result
€
Every character here is a byte. A URL mixes bytes with plain letters; URL Decode reads those.
Where hex bytes come from
Forms it reads
| You paste | Read as |
|---|---|
01001000 01101001 | binary, a byte a group |
0100100001101001 | binary, one long run cut into bytes |
0100 1000 0110 1001 | binary, two 4-bit halves to a byte |
48 69, 4869 | hex |
0x48 0x69, \x48\x69, %48%69 | hex, as code and URLs write it |
72, 105 | decimal |
Questions
- Why does it say “an odd number of hex digits”?
A byte is two hex digits, so a run like 486 is missing one. A leading 0 is often what was dropped: 0486 or 48 06. - What if the hex isn’t text?
Bytes that aren’t valid UTF-8 show as �, and a note above the result says so. Text in another character set reads right once you pick it under Charset; hex from a file such as an image or a zip can be saved as that file with Charset set to File (save bytes). - Is the text I convert uploaded?
No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.