ASCII to Binary Converter

Convert ASCII to Binary instantly in your browser.

0 characters

0 characters

Everything is converted in your browser. Nothing you paste is uploaded or stored.

Worked example

Each row shows a short sample written as ASCII, and the same value converted to Binary.

ASCII input Binary output
72 105 01001000 01101001
83 71 01010011 01000111
116 111 111 108 01110100 01101111 01101111 01101100

In-depth guide

ASCII values to binary: a byte conversion guide

Understand this converter's byte representation, UTF-8 handling and input boundaries.

Last verified: Plain-text version of this guide

Key figures at a glance

Input interpretation
Decimal byte values, 0–255
Output interpretation
Binary byte values, 0–255

What the labels mean

This page rewrites numeric byte values. The ASCII label refers to decimal byte notation in this tool, not a box for typing letters. Original ASCII covers 0–127; the converter also accepts byte values through 255, which must not all be described as standard ASCII.

How the conversion works

The same byte value can be written in decimal or as eight binary digits. No character decoding happens in this conversion. A decimal result of 65 is the number 65, not an automatically displayed A. For letters, use a text conversion tool.

Separate decimal byte values with spaces. A single run such as 6566 is one oversized number, not two codes. The ASCII and decimal input modes share this syntax.

Output uses eight binary digits per byte, separated by spaces.

Worked examples

The table uses the actual browser conversion engine and is checked against the PHP example generator.

Input Result Bytes
0 00000000 1
65 01000001 1
127 01111111 1
128 10000000 1
255 11111111 1
195 169 11000011 10101001 2

Input limits and round-trip checks

Keep every token within a single byte. This is not an arbitrary-size integer converter, signed-number decoder or validator of a particular extended-ASCII code page. Values above 127 are numeric bytes whose text meaning depends on an encoding.

Commas, colons, semicolons, underscores and hyphens split numeric input. A minus sign is therefore a separator, not signed arithmetic. Fractions, invalid digits and out-of-range bytes are rejected.

Check values with the reverse converter. For another byte representation use hex to decimal.

Frequently asked questions

Is my data sent anywhere?

No. The conversion runs entirely in your browser using JavaScript. Nothing you paste leaves your device, is logged, or is stored.

How should I separate values?

Spaces work, and so do commas, colons and semicolons. For binary, hex and octal you can also paste a single unbroken run of digits — it is split into bytes automatically.

Does it handle emoji and non-English text?

Yes. Text is treated as UTF-8, so accented characters, Chinese, Tamil and emoji all convert correctly. They simply take more than one byte each.

Why did I get an error?

The input contained a character that is not valid for the source format, a value above 255, or a run of digits that does not divide evenly into bytes. The message names the specific token so you can find it.

Sources

  1. WHATWG — Encoding Standard: TextEncoder and TextDecoder
  2. Unicode — UTF Encoding and BOM FAQ
  3. RFC 20 — ASCII Format for Network Interchange
  4. RFC 3629 — UTF-8

This guide explains published rules in plain language. It is not financial, legal or official advice — rules change, so confirm with the agency linked above before you commit.

Related converters