Developer Tools
ASCII Table
Full ASCII table with decimal, hex, octal and binary codes for all 128 characters, control code names and HTML entities.
How to use
- 1Search by character, code or name (e.g. 'A', '0x41' or 'tab').
- 2Copy the code in the format you need.
Frequently asked questions
What is ASCII?
A 7-bit character set from 1963 defining 128 codes: 33 control characters, the space, and 94 printable letters, digits and symbols.
How does ASCII relate to Unicode and UTF-8?
The first 128 Unicode code points are identical to ASCII, and UTF-8 encodes them as the same single bytes.
What are control characters?
Codes 0–31 and 127 were meant to control devices. Today the important ones are tab (9), line feed (10) and carriage return (13).
Worked example: ASCII Table
The letter 'A' is decimal 65, hex 0x41, octal 101, and binary 01000001 — and lowercase 'a' is exactly 32 higher at decimal 97 (binary 01100001), because ASCII deliberately set uppercase and lowercase letters 0x20 apart, which is why toUpperCase()/toLowerCase() in most programming languages amounts to flipping a single bit in that range. Code 10 is LF (line feed, what Unix text files use for a newline) and code 13 is CR (carriage return, used alongside LF for Windows-style \r\n line endings) — mixing these up between operating systems is the classic source of files that look fine on one machine and show ^M characters or no line breaks at all on another.
Why only 128 codes, and what happened to everything else
ASCII is a 7-bit encoding from 1963, so it only ever defined 128 code points (0-127) — everything from é to emoji to Chinese characters lives outside it entirely. The reason ASCII still matters today is that UTF-8, the encoding behind almost the entire modern web, was deliberately designed so the first 128 Unicode code points encode as the exact same single bytes as classic ASCII. That backward compatibility is why plain English text looks byte-identical whether you call it "ASCII" or "UTF-8" — the difference only shows up once you add a character outside that first 128.
Why most of the first 32 codes are irrelevant today
Codes 0-31 and 127 were designed for 1960s-70s teletype hardware — things like FS (file separator) and EM (end of medium) controlled physical devices that don't exist anymore. Of the 33 original control characters, only a handful survive in everyday relevance: tab (9), line feed (10), carriage return (13), escape (27, still used to start ANSI terminal color codes), and null (0, used as a C-string terminator). If you're debugging unexpected characters in a text file or API payload today, it's almost always one of these five, not an exotic 1970s teletype command.
Why only five characters get an HTML entity column entry
The HTML column only shows an entity for characters that would otherwise break HTML markup if written literally: & is decimal 38 (&), < is 60 (<), > is 62 (>), " is 34 (") and ' is 39 ('). Every other printable character in the 33–126 range is shown as its raw numeric reference (like A for 'A') purely as a lookup convenience, not because it needs escaping — only those five have actual syntactic meaning inside HTML (opening tags, closing tags, and quoting attribute values), which is exactly why forgetting to escape a user-submitted & or < in dynamically generated HTML is one of the oldest sources of broken pages and cross-site scripting bugs on the web.
Related tools
- Text to Binary, Hex, Octal & Decimal
Convert text to binary, hexadecimal, octal or decimal byte codes (UTF-8), and convert those codes back to text.
- Number Base Converter (Binary, Hex, Octal)
Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36 — including very large integers.
- HTTP Status Codes
Look up every HTTP status code — 200, 301, 404, 429, 502 and more — with what it means and when servers send it.
- HTML to Markdown Converter
Convert HTML into clean Markdown for READMEs, docs and static sites — headings, links, lists, tables and code preserved.
- Accented Letters & Special Characters
Copy accented letters (é, ñ, ü, ç) and special symbols, with their HTML codes, Unicode values and Windows Alt codes.
- Small Claims Limits by State (2026 Table)
The maximum you can sue for in small claims court in every US state and DC in 2026, from Kentucky's $2,500 to $25,000 in Delaware and Tennessee.