Skip to content
NMSnabbit.

Byte to String Converter

Decode decimal byte values (0–255) back into a UTF-8 string.

Encoders & Decoders Runs in your browser

How do you convert bytes to a string?

Given 72 101 108 108 111, this decoder hands back “Hello”. It scans the input for runs of digits, treats each as one octet in the 0–255 range, and decodes the whole sequence as UTF-8, so separators can be spaces, commas, brackets or newlines. Multibyte sequences reassemble correctly: the three bytes 226 130 172 come back as a single € sign.

How to use the Byte to String

  1. 1 Paste the byte list; array syntax like [72, 105] works without cleanup.
  2. 2 Every run of digits is decoded as one UTF-8 octet.
  3. 3 The reconstructed text shows up immediately below.
  4. 4 Copy out the recovered string.

What you can use it for

  • Decoding a byte array printed by a program.
  • Reading raw bytes from a packet or buffer as text.
  • Recovering a string stored as byte values.
  • Verifying a string-to-byte conversion.

Frequently asked questions

Which separators can I use?
Anything non-numeric. Output from a Python bytes repr, a Java byte array or a C initializer list pastes in directly; digits are extracted and everything else is skipped.
What happens to values above 255?
They are dropped. An octet cannot exceed 255, so a 256 or a 1000 in the input is discarded instead of poisoning the neighbouring bytes in the decode.
How are multi-byte characters handled?
The decoder is a real UTF-8 decoder, not a per-byte charCode lookup, so leading and continuation bytes pair up: 240 159 146 150 becomes one emoji, not four garbage characters.

Related tools

More Encoders & Decoders

More tools like this:

All Encoders & Decoders