Tools

Text to ASCII Code

Convert text to ASCII decimal, hex, or binary codes.

Result

How to Use the Text to ASCII Converter

Type or paste your text into the input box. Choose the output format (decimal, hexadecimal, or binary) and the separator between codes. The ASCII codes appear instantly in the output box.

Output Formats

Decimal (Base 10)

The standard ASCII representation. Each character maps to a number from 0 to 127 (standard ASCII) or 0 to 255 (extended ASCII). For example, 'A' = 65, 'a' = 97, '0' = 48.

Hexadecimal (Base 16)

Each character maps to a two-digit hex code. Commonly used in programming and Unicode documentation. 'A' = 41, 'a' = 61, '0' = 30 (hex).

Binary (Base 2)

Each character represented as an 8-bit binary string. 'A' = 01000001, 'a' = 01100001. Used in computing education and low-level debugging.

Common Use Cases

  • Learning how character encoding works
  • Debugging encoding issues in text processing
  • Generating ASCII code sequences for programming exercises
  • Converting text for data transmission protocols

Privacy

All conversion runs locally in your browser. No text is sent to a server.

Related Tools

More on TypingTest.now