UTF8 Decode
Decode raw UTF-8 bytes back to text, live as you type.
Decodes live as you type using TextDecoder. Pick the format your bytes are in first — hex "48" and decimal "48" are different byte values, so this isn't auto-detected. Runs entirely in your browser.
Need the opposite? UTF8 Encode
What is UTF8 Decode?
Paste UTF-8 bytes (hex or decimal) and get the decoded text instantly. It's the reverse of UTF8 Encode, useful when you have a byte dump and need to see what text it represents. Comes up when debugging a network capture, a binary file dump, or a low-level protocol log where text shows up as raw byte values instead of readable characters. Decoding happens live as you type, entirely in your browser.
How to Use the UTF-8 Decoder
- 1
Paste the Byte Sequence: Enter UTF-8 bytes in hex or decimal, matching the format you captured them in.
- 2
Choose Hex or Decimal: Select the format explicitly, since the same digits mean different byte values in each.
- 3
Read the Decoded Text Instantly: The reconstructed text appears automatically as you type.
- 4
Copy the Result: Use the copy button to copy the decoded text.
How UTF-8 Decoding Works
UTF-8 is a variable-length encoding: each Unicode character is stored as 1 to 4 bytes, and the leading bits of the first byte in a sequence signal how many bytes the character occupies. Plain ASCII characters (code points 0-127) always take exactly 1 byte and look identical to plain ASCII, which is why UTF-8 is backward-compatible with it. Decoding reads the byte stream, identifies where each character's byte sequence starts and ends based on those leading-bit patterns, and reconstructs the original code point from the bits spread across those bytes.
Example
The hex byte sequence 63 61 66 c3 a9 decodes to café: 63, 61, and 66 are the single-byte ASCII characters c, a, and f, while c3 a9 together form the 2-byte UTF-8 sequence for é.
An emoji like 😀 decodes from the 4-byte hex sequence f0 9f 98 80. Most emoji require all 4 bytes UTF-8 allows, versus 1 byte for plain ASCII.Frequently Asked Questions
Common questions about UTF8 Decode.