Omnikit
DevFilesMoneyAll tools
Ctrl K
Dev toolsFile toolsMoney calculatorsAll tools
HomeDeveloper toolsText to Binary ConverterText to ASCII Code Converter

Text to ASCII Code Converter

dev

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.

Next:
  • Number Base Converter Binary, octal, decimal, hex and any base to 36, exact at any size, with two's complement
  • Base64 Encode & Decode Text and files to Base64 and back, with URL-safe mode and image preview

How to use Text to ASCII Code Converter

1

Paste or type your input.

2

Choose the options you need.

3

Press Ctrl+Enter, then copy or download.

How Text to ASCII Code Converter works

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.

Frequently asked questions

What is hello in binary?

"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.

How many bits are in one letter?

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.

Why does my binary decode to strange symbols like �?

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.

How do I convert binary to text by hand?

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.

Sources

  • RFC 3629, UTF-8, a transformation format of ISO 10646 (IETF)How each character becomes 1 to 4 bytes; the section 7 examples are the tests
  • WHATWG Encoding Standard, UTF-8 decoderHow invalid byte sequences are found and replaced when decoding

Last verified 16 October 2026.

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.

More ways to use Text to Binary Converter

  • Text to Binary ConverterTurn text into binary, hex, decimal or octal bytes, and decode them back, in UTF-8
  • Binary to Text ConverterDecode binary code such as 01001000 01101001 into readable text

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.

Related tools

All developer tools
Base64 Encode & DecodeText and files to Base64 and back, with URL-safe mode and image previewUnix Timestamp ConverterUnix timestamps to dates and dates to timestamps, in any time zoneJSON to TypeScriptGenerate TypeScript interfaces or types from a JSON sampleCSV to JSONConvert CSV to JSON and JSON to CSV, with a table previewYAML to JSONConvert YAML to JSON and JSON to YAML, with anchors resolvedURL Encoder / DecoderPercent-encode or decode text and URLs, and see every part of a linkColor ConverterHEX, RGB, HSL, HWB, OKLCH and CMYK in both directions, with a contrast checkNumber Base ConverterBinary, octal, decimal, hex and any base to 36, exact at any size, with two's complement
Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator
GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET Paper 1)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)