Binary to Text

Convert binary to text and text to binary, hex, decimal or octal bytes, with full UTF-8 support for Hindi and emoji. Detects the format.

Runs in your browserNo sign-upWorks offline
Ctrl+Enter to run
Input121 characters
Output
✓ ReadySample content shown

What the Binary to Text does

Binary to Text turns strings of 0s and 1s back into readable text, and turns text into binary. It also handles hexadecimal, decimal and octal byte values, and detects which one you pasted. Text is encoded as UTF-8, the standard on the web, so Hindi, Tamil, other scripts and emoji convert correctly in both directions. Invalid groups are pointed out instead of silently ignored.

How to use it

  1. Paste binary, hex or decimal bytes to decode, or type text to encode.
  2. Leave Direction on Detect, or choose it yourself.
  3. When encoding, choose binary, hex, decimal or octal, and whether to space the bytes.
  4. Copy or download the result.

Example

The sample 01001000 01101001 00100000 11100000 10100100 10101000 11100000 10100100 10101110 is 9 bytes and decodes to “Hi नम”. The two Hindi letters take 3 bytes each in UTF-8, while H, i and the space take one each. Hex 48656c6c6f decodes to “Hello”.

How text becomes bytes

Computers store each character as one or more bytes, and each byte is 8 bits, written in binary as eight 0s and 1s, in hex as two digits from 00 to FF, or in decimal as 0 to 255. English letters use one byte in UTF-8, Indian scripts three and most emoji four.

Binary without spaces is read eight digits at a time, and hex two digits at a time. If decoded bytes do not form valid UTF-8, the broken parts are shown as �.

Questions people ask

Is my data uploaded?

No. The conversion happens in your browser as you type, so data such as customer lists or keys never leaves your device.

Is this the same as ASCII?

For English letters, numbers and common symbols, UTF-8 and ASCII give the same bytes. UTF-8 also covers every other script and emoji.

Why does my binary give strange characters?

It may be missing a digit, or not be text at all, such as part of an image or a number stored in binary.

Related tools