ASCII table

Enter short text to view U+, decimal, hexadecimal, octal, 8-bit binary, and character names character by character, while retaining the ASCII 0–127 encoding tables.

Local browser processing
This page has passed the public directory check; full functionality is available after enabling JavaScript.
User Guide

How to use the ASCII encoding table

Character code values are calculated only in the current browser and are not uploaded or saved.

  1. Input character

    Enter or paste up to 64 Unicode scalar values; the tool splits them character by character in their original order.

  2. View the representation of ASCII

    For U+0000–U+007F, display decimal, hexadecimal, octal, 8-bit binary, and printable characters or control names.

  3. Linked reference table

    When querying a single ASCII character, the corresponding table row is located and highlighted; you can also copy TSV or clear the input.

Limitations and Notes

  • ASCII defines only 0–127; Chinese, emojis, and other non-ASCII characters are shown as “unsupported” and are not truncated to the low 8 bits.
  • Control characters are displayed using standard abbreviations or descriptions; some control characters cannot be entered directly with a regular keyboard.
  • Multi-character queries retain the results for each line, but do not automatically scroll or highlight multiple reference-table rows at the same time.

FAQ

Why doesn’t Chinese have ASCII encoding?

ASCII is a 7-bit character set containing only basic Latin letters, digits, punctuation, and control characters; it does not include Chinese.

Why is the highest bit always 0 in 8-bit binary?

The valid range of ASCII is only 7 bits; the page pads it to 8 bits for display, so the highest bit is always 0.

Are spaces and line breaks ignored?

No. Spaces, tabs, and line breaks are all preserved as separate query items and displayed with the corresponding control name or character name.

Page feedbackFound an issue or have suggestions for improvement?
Feedback features need to be used in the online version

Please enable JavaScript in the online version before submitting; local features of the current tool or example are not affected.

Go to the online version for feedback