ASCII Table
Every ASCII code from 0 to 127 — decimal, hexadecimal, character, name, and HTML entity. Search, filter by group, and click any row to copy. Free, instant, no signup.
| Dec | Hex | Char | Name | HTML entity | Copy |
|---|
How to read an ASCII table
ASCII assigns a number to every basic character your keyboard can type. Programmers meet these numbers constantly — in URLs (%20 is ASCII 32, the space), in HTML entities, and in code that converts between characters and numbers.
- Find a code three ways. Type a decimal number (
65), a hex code (0x41), a character (A), or a name (bell) into the search box. - Filter by group. Codes 0–31 and 127 are control characters — invisible instructions like line feed and escape. Codes 32–126 are printable — letters, digits, and punctuation you can see.
- Copy what you need. Click a row to copy its character; use the code button to copy its decimal and hex codes for your code.
Decimal, hex, and HTML entities
The same character has three common numeric forms: decimal (A = 65), hexadecimal (A = 0x41), and the HTML entity (A renders as A in a web page). Five characters have named entities you have probably seen — < for <, > for >, & for &, " for ", and ' for ' — because they would otherwise be read as HTML markup.
- What is ASCII?
- The American Standard Code for Information Interchange: a 7-bit encoding that assigns the numbers 0–127 to letters, digits, punctuation, and control characters. Every modern text encoding, including UTF-8, keeps ASCII's first 128 codes identical.
- What are control characters?
- Codes 0–31 plus 127: non-printing instructions inherited from teletype machines, like NUL (null), BEL (bell), TAB (horizontal tab), LF (line feed), and DEL (delete).
- How do I convert a decimal code to hex?
- Each ASCII code's hexadecimal value is shown beside it in the table. A is 65 in decimal and 41 in hex. Programmers often write hex codes with a 0x prefix, like 0x41.
- What is an HTML entity?
- A code that displays a character in a web page: A renders as A. Named entities exist for special characters — < for <, > for >, & for & — and every character also has a numeric form: &# followed by its decimal code.
- What is the difference between ASCII and Unicode?
- ASCII covers 128 characters; Unicode covers over 149,000 and includes ASCII's first 128 codes unchanged. See the Unicode Lookup tool for the wider set.
- Can I copy a character by clicking it?
- Yes — click any row to copy its character, or use the code button on a row to copy its decimal and hexadecimal codes. For control characters, the click copies the standard abbreviation (like NUL), since the code itself is not printable.
More from the codex
ASCII Table
Every ASCII code, 0–127 — decimal, hex, and HTML entity.
Morse Code Translator
Text to Morse and back, with audio playback.
Open tool → LiveUnicode Lookup
Search hundreds of symbols by name — arrows, math, currency, Greek. Click to copy.
Open tool → LiveWord Counter
Count words and estimate reading time instantly.
Open tool → LiveCase Converter
UPPER, lower, Title Case and more.
Open tool → LiveBase64 Encoder
Encode and decode Base64, URL-safe too.
Open tool → LiveURL Encoder / Decoder
Encode/decode URLs and parse query strings.
Open tool → LiveHTML Entity Codec
Encode and decode HTML entities.
Open tool → LiveText-to-Speech Reader
Hear your essay read aloud for proofreading.
Open tool → LiveTyping Speed Test
Measure your words per minute and accuracy.
Open tool → LiveRegex Tester
Test regular expressions live.
Open tool → LiveLorem Ipsum Generator
Placeholder text by paragraph or word.
Open tool → LiveFancy Text Generator
Bold, italic, script and 12 more unicode styles.
Open tool →Support the codex
This tool is free, with no account and no ads. If it saved you a trip to a search engine, consider supporting the indie dev behind it.
Questions about this tool?
Found a wrong code or have a suggestion? Email [email protected] — every message is read by the indie dev behind the codex.