See the decimal ASCII code of every character, A = 65, and turn codes back into text
Runs in your browser. Nothing you type is sent anywhere. Checked against sources on 16 Oct 2026.ASCII gives each English letter, digit and punctuation mark a number from 0 to 127: A is 65, a is 97 and a space is 32. Type text to see the code of every character in decimal, or paste codes such as 72 105 to get the text back. Characters beyond ASCII are shown as their UTF-8 bytes, each from 128 to 255, with the Unicode code point in the table.
Paste or type your input.
Choose the options you need.
Press Ctrl+Enter, then copy or download.
Computers store text as numbers. A character set gives every character a number, and an encoding decides how that number becomes bytes. Almost every web page, file and API today uses UTF-8, so that is what this tool uses in both directions.
Encoding text. Each character becomes one to four bytes. The 128 ASCII characters, which cover English letters, digits and punctuation, are one byte each, with the same values ASCII has always had: A is 65, or 01000001 in binary and 41 in hex. Letters such as é take two bytes, most Indian and Asian scripts three, and emoji four. The output shows every byte in the base you pick:
Separators, an optional 0b, 0o or 0x prefix and upper or lower-case hex are yours to choose. A table under the result lists each character with its Unicode code point and its bytes, which is the quickest way to see why a string is longer in bytes than in letters.
The rest of the article, and all 6 questions about Text to Binary Converter, are on the Text to Binary Converter page.
"hello" in binary is 01101000 01100101 01101100 01101100 01101111, one group of 8 bits per letter. Those are the ASCII codes 104, 101, 108, 108 and 111. Capital letters differ in one bit: "Hello" starts with 01001000, which is 72, because upper-case letters sit 32 places before lower-case ones.
An English letter, digit or punctuation mark takes 8 bits, one byte, in both ASCII and UTF-8. Characters outside ASCII need more in UTF-8: 16 bits for letters like é or ñ, 24 bits for most Hindi, Chinese and Japanese characters, and 32 bits for emoji. So byte count and character count often differ.
The replacement character � appears when the bytes are not valid UTF-8: a byte is missing or extra, a group was mistyped, or the data was written in another encoding such as Windows-1252. Check that every binary group has exactly 8 digits. The page counts the replaced bytes so you know how many are affected.
Split the binary into groups of 8 bits. For each group, add the place values of the 1s, which are 128, 64, 32, 16, 8, 4, 2 and 1 from left to right: 01001000 is 64 + 8 = 72. Then look the number up in an ASCII table, where 72 is H.
Rates and rules change; check the source before you rely on a figure.
Still stuck? Ask about Text to Binary Converter and anybody who knows can answer. No account needed.
Same job, other tools: Base64 Decode – Turn Base64 back into text or a downloadable file · Base64 Encode – Turn text or a file into Base64 · Query String Parser – Split a URL query string into a table of decoded parameters · HEX to RGB – Turn a hex colour code into rgb() values you can paste into CSS.
On the related tools: TSV to JSON – Convert tab-separated values, such as a paste from Excel, into JSON.