Binary to String Converter

Decodes space-separated binary numbers back into text, interpreting each as a Unicode code point, the reverse of Convert a String to Binary. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-22

Overview

Introduction

Reading binary digits back into text by hand is tedious.

This tool decodes a space-separated list of binary numbers back into readable characters instantly.

What Is Binary to String Converter?

A decoder that parses each whitespace-separated binary number as a Unicode code point and reassembles the original text.

It runs entirely client-side as part of this site's String Tools collection, so nothing you paste is ever uploaded to a server.

How Binary to String Converter Works

Each token is parsed as base-2 with parseInt(), validated by re-encoding and comparing, then converted to its character via String.fromCodePoint().

The transformation happens synchronously in JavaScript the moment you type, with no network round trip involved.

When To Use Binary to String Converter

Use it to decode binary-encoded text from a puzzle, exercise, or novelty message.

It's a fast way to get the answer without opening a code editor, a REPL, or writing a one-off script just to check.

Features

Advantages

  • Validates each token strictly, catching malformed binary rather than silently misinterpreting it.
  • Decodes through String.fromCodePoint rather than fromCharCode, so binary for characters above the BMP, including emoji, reconstructs correctly instead of producing half a character.
  • Accepts tokens of any bit length, so 7-bit and zero-padded 8-bit input both decode without reformatting first.

Limitations

  • Expects whitespace-separated tokens; doesn't parse a continuous unbroken binary stream.
  • Each token is decoded as one complete code point, so binary that represents a UTF-8 byte sequence will not reassemble into the character those bytes encode.

Examples

Decoding short text

Input

01001000 01101001

Output

Hi

Each 8-bit binary value is parsed back to its character.

Best Practices & Notes

Best Practices

  • Ensure tokens are whitespace-separated; a continuous run of digits with no spacing can't be reliably split into characters.
  • Pad tokens to a consistent width when you plan to read the binary by eye; the tool does not require it, but uneven tokens are easy to mis-split manually.
  • Check the token count against the character count you expect before decoding, since a missing separator silently merges two characters into one wrong code point.

Developer Notes

Validation re-encodes the parsed value back to binary and compares against the (leading-zero-normalized) original token, catching malformed input like non-binary digits that parseInt() would otherwise silently truncate.

Binary to String Converter Use Cases

  • Decoding binary-encoded text from a puzzle or exercise
  • Verifying a string-to-binary encoding round trip
  • Reading binary-formatted novelty messages

Common Mistakes

  • Passing a continuous run of binary digits with no separators.
  • Pasting UTF-8 byte values written in binary and expecting multi-byte characters to reassemble; each token here becomes a character in its own right.

Tips

  • Use Convert a String to Binary to generate correctly formatted input for testing.
  • Because validation re-encodes each parsed value and compares it back, a token containing a stray non-binary digit is rejected outright instead of being quietly truncated at the bad character.

References

Frequently Asked Questions