Skip to content
Sealpaste

Delete all recent work?

This removes the 0 items saved in this browser. Your settings stay.

Stop saving recent work?

New work won't be saved in this browser. The 0 items already saved can stay or go.

Hex to Text

Bytes

Paste bytes, or

CtrlV paste · Ctrl↵ run now

Text
Ready
Ln 1, Col 1
Runs in your browser. Nothing you paste is uploaded unless you share it.

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

  1. Paste the hex: pairs with spaces, one long run, or with 0x, \x or % in front.
  2. 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.
  3. 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

Hex dumps and debuggers show memory as pairs, C and Python strings write a byte as \x48, and URLs write it as %48. All of them are the same bytes, so the page reads each form and drops the 0x, \x and % in front.

Forms it reads

Read as Any form looks at the bytes and picks the form: only 0s and 1s in groups of 8 (or 7) are binary, letters a–f or pairs of digits are hex, numbers up to 255 are decimal. Pick a form in Read as when the guess is wrong.

You pasteRead as
01001000 01101001binary, a byte a group
0100100001101001binary, one long run cut into bytes
0100 1000 0110 1001binary, two 4-bit halves to a byte
48 69, 4869hex
0x48 0x69, \x48\x69, %48%69hex, as code and URLs write it
72, 105decimal

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.

Related tools