WMW

Text To Binary Converter

Free

Convert text into its binary character codes and back again, with the result also shown in decimal, hexadecimal, and octal, all running entirely in your browser with nothing ever uploaded.

Runs entirely in your browser. Your text is never uploaded anywhere.

Also view as

Decimal (ASCII codes)

Hexadecimal

Octal

Recent Activity

Visible to everyone. Last 20 uses across all visitors, newest first.

Converted binary codes back to text

1 hour ago

Converted binary codes back to text

1 hour ago

Converted 11 character(s) of text to binary

1 hour ago

Converted 4 character(s) of text to binary

1 hour ago

Converted 2 character(s) of text to binary

1 hour ago

Converted 2 character(s) of text to binary

1 hour ago

Comments (0)

Found this tool useful? Leave a comment, share a tip, or tell us how we can make it better.

Guest comments are reviewed before publishing. Sign in to post instantly.

No comments yet. Be the first to share your thoughts!

What this tool does

This tool converts text into its binary character codes, and back again, with the result also shown in decimal, hexadecimal, and octal so you never have to convert the same text twice. Non-ASCII characters like emoji or accented letters are clearly flagged rather than silently mishandled.

How It Works

Every character in your text has an underlying Unicode code point, a number that identifies it. This tool reads each character's code point directly in your browser and writes it out in binary, padding each value to the nearest byte boundary (8, 16, 24, or 32 bits) depending on how large the code point is, and reverses the process by parsing a list of binary codes and rebuilding the matching characters with them.

Problems it solves

Frequently asked questions

›What is binary code, exactly?

Binary is base-2 numbering that represents every value using only 0s and 1s; a computer stores each character as a number (its Unicode code point), and that number written in base 2 is the binary code shown here, padded to the nearest byte boundary (8, 16, 24, or 32 bits).

›What happens if my text has emoji or accented letters?

Those characters fall outside the original 0-127 ASCII range, so this tool flags them and still converts them using their full Unicode code point in binary (for example, é is 11101001 and 😀 needs 32 bits), rather than silently dropping or mangling them; the warning tells you exactly which characters were outside standard ASCII.

›Can I convert binary codes back into text?

Yes, switch to the "Binary to Text" tab and paste a list of binary codes separated by spaces or new lines; each group of bits is converted back to its character and joined into the original text.

›Why does the output also show decimal, hexadecimal, and octal?

The same underlying character codes are often needed in more than one format depending on where you are pasting them, for example decimal for a quick lookup or hexadecimal for a byte-level debugging session, so this tool computes all three alternate representations at once under "Also view as" instead of making you convert the same text multiple times.

›What happens if I paste an invalid binary code, like one with a 2 in it?

Binary digits can only be 0 or 1, so any token containing another character (like a 2) is rejected outright rather than silently truncated or misread; the tool tells you exactly which token could not be decoded.

Related Tools