Skip to content
snip tools

Binary, text and ASCII converter

Convert text to binary or ASCII codes and back. UTF-8 safe; runs in your browser.

Runs 100% in your browser

How to convert binary and text

  1. Choose a direction. Text→Binary, Binary→Text, Text→ASCII or ASCII→Text.
  2. Enter your data. Type or paste; the result updates live.
  3. Copy the result. Grab the output.

From characters to bits

Computers don't store letters; they store numbers. The letter A is the number 65, which in binary is 01000001 — eight bits, one byte. This converter walks that chain in both directions: it encodes your text to UTF-8 bytes and shows each as an 8-bit group (Text → Binary), or as the raw decimal code of each byte (Text → ASCII), and reverses either one back into readable text.

ASCII, UTF-8 and multi-byte characters

Original ASCII only defined codes 0–127, enough for English letters, digits and basic punctuation — every one of those fits in a single byte. Anything beyond that (accented letters, , CJK characters, emoji) is encoded by UTF-8 as a sequence of two to four bytes. That's why typing é or 😀 produces several 8-bit groups, not one: you're seeing the actual byte sequence a file or network packet would carry, which is what makes this faithful for real-world data rather than plain ASCII only.

What the decoder accepts

Decoding is forgiving about formatting. Binary → Text ignores all whitespace and regroups the stream into 8-bit bytes, so 0100100001101001 and 01001000 01101001 both decode to “Hi”. ASCII → Text takes numbers separated by spaces or commas, each a byte value from 0 to 255. If a group isn't valid binary, or a number falls outside that range, the tool tells you exactly which token is wrong instead of producing garbage.

When this is handy

Reading bytes as bits helps when you're learning how encoding works, debugging a low-level protocol or wire format, or unpicking a CTF puzzle that hides text in binary. To convert whole numbers between bases instead of text, use the number base converter; for byte-level hex, the hex converter.

Frequently asked questions

How is text converted to binary?
Text is encoded as UTF-8 bytes, and each byte is shown as 8 bits. So ASCII characters are one 8-bit group and emoji or accented characters become several.
What about ASCII codes?
The ASCII (decimal) modes show the numeric code point of each UTF-8 byte, space-separated — e.g. "Hi" → "72 105".
What input does the decoder accept?
Binary decoding accepts 8-bit groups separated by spaces or not; ASCII decoding accepts space- or comma-separated numbers. Whitespace is ignored.
Is it private?
Yes — conversion runs entirely in your browser.