Text to Binary Converter

Free online text to binary converter that translates any text into binary code (0s and 1s) and back. Choose 8-bit, 16-bit or 32-bit width, pick a separator, and copy or download the result. Full UTF-8 support — accented letters, non-Latin scripts and emojis all work. No signup, runs entirely in your browser.

Input

Type or paste — output updates live
Tip: Press Ctrl+Enter (or Cmd+Enter) to convert instantly. The output updates live as you type, so you don't even need to click the button unless you want to.

Output

Ready when you are

Your output will appear here

Start typing in the input box or click Example to see how it works.

What does this Text to Binary Converter do?

This free online text to binary converter translates any text into binary code — a sequence of 0s and 1s — and back. Every character you type (letters, digits, punctuation, emojis) has a numeric value called a code point, and this tool shows you exactly what that value looks like in binary. For example, the letter A has code point 65, which is 01000001 in 8-bit binary.

The tool works in both directions. Type or paste text into the input box and the output updates in real time with the binary representation. Switch to the Binary → Text tab to reverse the process — paste a binary string and the tool decodes it back to readable text.

Everything runs locally in your browser. Whatever you type never leaves your device, there is no signup, and there are no usage limits. Convert as much text as you want, as many times as you want.

How to convert text to binary

  1. Enter your text. Type or paste anything into the input box — a word, a sentence, a password, or a whole paragraph.
  2. Choose the bit width. 8-bit is the standard choice for ASCII and normal text. 16-bit or 32-bit give you the raw Unicode code point in binary (useful for programming exercises).
  3. Pick a separator. Space is the default and easiest to read. "None" gives the most compact form. Comma and New line are handy for pasting into code or spreadsheets.
  4. Watch the output. It updates as you type — no button press needed. Use the Copy Output button to grab the binary, or Download to save it as a text file.
  5. Need to reverse it? Click the Binary → Text tab, paste your binary, and it decodes back to text automatically.

Why use this Text to Binary Converter?

Live conversion

Output appears the instant you type. No button press needed — everything runs in your browser.

Multiple bit widths

Choose 8-bit for standard text, or 16-bit / 32-bit to see the raw Unicode code point in binary.

Two-way conversion

Convert text to binary or binary back to text with a single click. Same tool, both directions.

Full Unicode support

Accented letters, Chinese, Arabic, Hindi, Cyrillic and emojis all work — the tool uses UTF-8 encoding.

100% private

Everything runs locally. Your text never leaves your device — no server, no logs, no tracking.

Works offline

Once the page loads, you can convert text and binary without an internet connection.

ASCII character reference

Here are a few common characters and what they look like in 8-bit binary. The tool handles all 128 ASCII characters plus the full Unicode range.

CharacterDecimalBinary (8-bit)Hex
A65010000010x41
B66010000100x42
a97011000010x61
z122011110100x7A
048001100000x30
957001110010x39
Space32001000000x20
!33001000010x21
?63001111110x3F
Newline \n10000010100x0A

Bit width: 8, 16, or 32 — which should you pick?

The bit width determines how many binary digits represent each character. It doesn't change what the character is, only how many leading zeros are shown.

Bit widthBits per characterMax valueBest for
8-bit8255ASCII text, file encoding, teaching binary basics. This is the standard choice for text like "Hello" or "abc123".
16-bit1665535Basic Multilingual Plane characters, showing raw Unicode code points. Useful for languages like Chinese, Japanese or emoji.
32-bit32~4.3 billionFull Unicode including rare symbols and higher emojis. Rarely needed for everyday text.

For most text conversions, 8-bit is what you want. It matches how characters are stored in UTF-8 files on disk — for instance, the file "hello.txt" really does contain 01101000 01100101 01101100 01101100 01101111.

Common uses for text to binary conversion

Learning how computers store text

Every character you see on screen is really just a number, and every number is really just a bunch of 1s and 0s. Converting text to binary makes this concrete — the letter "A" really is 65, which really is 01000001. It's one of the best ways to build intuition for how files, memory and encoding actually work.

Teaching and coursework

Computer science courses, coding bootcamps and school curricula frequently ask students to convert text to binary by hand. This tool makes it easy to check your work and see patterns in real time.

Debugging encoding issues

When a file shows up with garbled characters (mojibake) or a database stores strings incorrectly, looking at the raw bytes often reveals the problem. Converting the text to binary shows exactly what's stored.

Creative and educational projects

Binary strings are sometimes used in puzzles, escape rooms, art projects, ASCII art and even jewellery. Having a quick way to translate between text and binary is handy for these.

Frequently asked questions

Text to binary conversion means translating each character in your text into its binary equivalent — a sequence of 0s and 1s. Every letter, digit and symbol has a numeric code (its Unicode code point), and that number is expressed in base 2. For example, the letter A is 65 in decimal, which is 01000001 in 8-bit binary.
Yes, completely free. No signup, no watermark, no hidden charges. Convert as much text as you want for personal or educational use.
Yes. The tool uses UTF-8 encoding by default, so it correctly handles accented letters, non-Latin scripts (Arabic, Chinese, Hindi, Cyrillic) and emojis. Each Unicode code point is encoded using as many bytes as it needs, then each byte is written in binary.
8-bit binary uses one byte per character (up to 255). 16-bit uses two bytes (up to 65535). 32-bit uses four bytes. 8-bit is the common choice for ASCII text and file encoding. 16-bit or 32-bit are useful for representing Unicode code points directly.
Yes. Switch to the Binary to Text tab, paste your binary string, and click Decode. The tool detects the bit width automatically if you use consistent grouping, or you can set it manually.
You can choose from space, no separator, comma, newline, or a custom string. Space is the default and easiest to read. No separator gives the most compact output.
No. Everything runs locally in your browser using JavaScript. The text you enter never leaves your device — no server processing, no logging, no data storage.
Yes. Once the page loads, the text to binary converter works without an internet connection.
Yes. The tool is fully responsive and works on phones, tablets, laptops and desktops.
There is no artificial limit, but very large inputs (hundreds of thousands of characters) will produce very large binary output and may slow your browser tab.