Byte to String Converter

Decode bytes into text

Paste byte values written as decimal numbers and click Run. 72 101 108 108 111 becomes Hello. The numbers can be separated by spaces, commas, semicolons or new lines, and surrounding brackets are ignored, so output copied from a debugger, a Python list(b"..."), a Java byte[] dump or a JavaScript Uint8Array works directly. The base menu also accepts hex (48 65 0x6c) and 8-bit binary (01001000), and auto picks the base from what you paste.

Why UTF-8 matters

Bytes are not characters. Plain English letters use one byte each (the ASCII range 0–127), but accented letters, other scripts and emoji take two to four bytes in UTF-8: 195 169 is é, and 240 159 152 128 is 😀. Decoding the bytes as UTF-8 puts multi-byte sequences back together correctly, which a naive "one number = one character" conversion gets wrong.

BytesText
72 105Hi
67 97 102 195 169Café
226 130 172€
240 159 152 128😀

Bytes in code

# Python
bytes([72, 101, 108, 108, 111]).decode("utf-8")
// JavaScript
new TextDecoder().decode(new Uint8Array([72, 101, 108, 108, 111]))
// Java (signed bytes: 195 is -61)
new String(new byte[]{72, 101, 108, 108, 111}, StandardCharsets.UTF_8)

FAQ

My bytes are negative numbers. Does that work?

Yes. Java bytes and C# sbyte print values above 127 as negatives (−128 to −1). They are converted automatically by adding 256, so -61 -87 decodes as é.

What if my bytes are in hex?

Use hex to text for values like 48 65 6c 6c 6f, or binary to text for 8-bit groups.