ASCII Table

Look up ASCII decimal, hexadecimal, binary, escape, HTML entity, and control-code labels while checking pasted text for non-ASCII characters.

Generate a practical ASCII reference table for decimal, hexadecimal, binary, octal, printable characters, control-code names, common escapes, and HTML entities. Paste text to check whether every character fits the 7-bit ASCII range before using it in legacy data files, protocols, documentation, or tests. Everything runs locally in your browser.

Used only when custom range is selected.

Enter a decimal value from 0 through 127.

Examples: space, line feed, 0x41, 65, A, \n.



How it works

ASCII is a 7-bit character set with 128 code positions. Codes 0 through 31 and 127 are control codes, code 32 is space, and codes 33 through 126 are printable letters, digits, punctuation, and symbols.

The table can show all ASCII codes, printable characters, control codes, or a custom decimal range. Each row includes decimal, hexadecimal, octal, binary, a safe character preview, the standard label, a common escape when one exists, and an HTML entity when it is useful for web text.

The optional text inspection counts ASCII and non-ASCII characters in your pasted text. Non-ASCII characters are reported with their Unicode code points so you can find accents, emoji, smart punctuation, non-breaking spaces, or other characters that will not fit in strict ASCII-only output.

Your input stays in the browser and is not uploaded. ASCII is useful for legacy formats and protocol examples, but it cannot represent most modern language text; use Unicode-aware formats when you need international text.


References