Tools
English

Neogie Binary · Developers and SEO

Binary Translator: Text to Binary and Back

Type a message to see it in 0s and 1s, or paste binary to read it.

Settings

Everything happens in your browser: nothing you type is sent.

How does text become binary?

A computer stores everything as bits, 0s and 1s. Every character has a number, written over one or more groups of eight bits called bytes. The letter A is number 65, which is 01000001.

In UTF-8, the most widespread character set, unaccented Latin letters fit in one byte. An accented letter takes two, a Chinese character three, and an emoji usually four.

Encoding and decoding

The “Text” box produces binary as you type. The second box does the opposite. Spaces, commas, line breaks and the 0b prefix are tolerated. Any sign other than 0 or 1 is reported with its position.

Groups of fewer than eight digits, common with seven-bit ASCII, are padded with zeros, and the tool tells you. Files up to 5 MB can be converted too.

A game, not a secret

A message in binary is fun and puzzling, but it protects nothing: anyone can translate it back in seconds. To keep information secret, you have to encrypt it.

Frequently asked questions

How do I write “Hello” in binary?

Type the word in the “Text” box: you get five bytes, one per letter, starting with 01001000 for the H.

Why eight digits per letter?

A byte holds eight bits, which allows 256 values. The leading zeros keep every byte the same length.

Does this tool convert numbers to base 2?

It converts text and bytes. The text “5” gives the code of the character 5, not the number five in base 2.

Why does decoding show bytes instead of text?

The bytes obtained are not valid text in the chosen character set. Check your input or change the “Text encoding” setting.

Is my message sent anywhere?

No. Everything is computed in your browser. Only your settings are kept on your device.

Similar tools

Neogie SnippetSERP Snippet Preview ToolType a title and a description: the simulated result shows where they will be cut off. Neogie Base64Base64 Encoder and Decoder: Text, Files and JWTType on one side, the result appears on the other. Text, files and JWT tokens, with nothing uploaded. Neogie CRC32CRC-32 Calculator for Text and FilesThe checksum of a text as you type, or that of a file you want to compare. Neogie FileDiffCompare two files or folders: text and bytesDrop two files or two folders: differences appear at once, by line for text and by byte for everything else. Neogie HexText to Hex and Hex to Text ConverterType text to see its bytes, or paste hexadecimal to get the text back. Neogie PunycodePunycode Converter for Internationalized Domain Names (IDN)Turn a domain name with accents or other scripts into its “xn--” form, and back. Neogie Ascii85Ascii85, Z85 and Base85 Encoder and DecoderText or files to Base85 and back: five characters for every four bytes. Neogie Base32Base32 Encoder and DecoderText or files to Base32 and back, with the three most used alphabets. Neogie Base58Base58 and Base58Check Encoder and DecoderText or files to Base58 and back, with the Base58Check checksum if you want it. Neogie URLURL Encoder and Decoder (Percent-Encoding)Type on one side, the other fills in: addresses, parameters and form data, with every part spelled out. Neogie EntitiesHTML Entity Encoder and DecoderShow code or special characters without breaking the page: the result follows your typing. Neogie CSSCSS Formatter, Checker and MinifierPaste your style sheet: it is tidied up or compacted, and errors are reported. Neogie HTMLHTML Formatter, Checker and MinifierPaste your code: it is indented or compacted instantly, and structural errors are reported. Neogie JSONJSON Formatter and Validator OnlinePaste your JSON: it is checked and tidied up instantly, with the line and column of every error. Neogie SQLSQL Formatter Online: Indent and MinifyPaste a one-line query: it comes out split into clauses, ready to review. Neogie XMLXML Formatter and Validator OnlinePaste your XML: it is checked and indented instantly, with the line and column of the first error. Neogie MetaMeta Tag and Open Graph GeneratorFill in the fields: the preview and the code to paste into your page update instantly. Neogie RobotsRobots.txt Generator and TesterBuild the rules for search engine crawlers, then check which addresses they can visit. Neogie SitemapXML Sitemap Generator from a URL ListPaste your page URLs: your XML sitemap is ready to download. Neogie RegexRegex Tester Online: JavaScript Regular ExpressionsType a pattern and some text: matches and their groups are colored as you type.