Xerobit

ASCII Table: Complete Character Codes 0-255

Look up any ASCII or Latin-1 character by code or name. Every button in this ASCII table shows its decimal, hexadecimal, octal and binary value on hover, and the filter box accepts any of them. Click a character to copy it. Nothing is sent to a server.

Control Characters (0-31, 127)

Printable ASCII (32-126)

C1 Controls (128-159)

Latin-1 Punctuation & Symbols (160-191)

Latin-1 Uppercase Accented (192-223)

Latin-1 Lowercase Accented (224-255)

How to use the ascii table

  1. Filter by typing a decimal, hex, octal or binary value (for example 65, 0x41) or a name such as tilde.
  2. Hover a character button (or long-press on a phone) to read its name and its code in decimal, hex, octal and binary.
  3. Click a character to copy it and add it to the text box below the grid; use Copy to take the whole string.
  4. Scroll down for the reference tables with control characters, printable ASCII and common Latin-1 symbols with their HTML entities.

How the table is organized

This ASCII table covers the full 8-bit range, 0 to 255. Codes 0 to 127 are the standard ASCII set defined in ANSI X3.4-1986. Codes 128 to 255 follow the ISO-8859-1 (Latin-1) assignment, which matches the first 256 Unicode code points (U+0000 to U+00FF). For most positions it also matches the Windows-1252 code page, except 128 to 159, where Windows-1252 puts printable symbols such as the euro sign.

The grid is split into six groups: control characters (0 to 31 and 127), printable ASCII (32 to 126), C1 controls (128 to 159), Latin-1 punctuation and symbols (160 to 191), and uppercase and lowercase accented letters (192 to 255). Each button carries its code in four bases:

  • Decimal: the value in base 10, for example 65 for A.
  • Hex: base 16 with a 0x prefix, for example 0x41.
  • Octal: base 8 written with three digits, for example 101.
  • Binary: the 8-bit pattern, for example 01000001.

Control characters show their standard abbreviation (NUL, LF, ESC and so on) because they have no visible glyph, and clicking one copies that abbreviation, not the invisible control code.

Control characters (0-31 and 127)

These non-printing codes were designed for teletype and data transmission control. Most have no visual representation; the table shows their traditional two- or three-letter abbreviations.

DecHexAbbrNameCommon use
00x00NULNullString terminator in C
70x07BELBellAudible alert
80x08BSBackspaceMove cursor left
90x09HTHorizontal TabTab stop
100x0ALFLine FeedNew line (Unix)
130x0DCRCarriage ReturnNew line (Mac classic), part of CRLF (Windows)
270x1BESCEscapeANSI escape sequences
1270x7FDELDeleteRubout character

Printable ASCII (32-126)

These 95 codes are the characters you can type on a US keyboard. Code 32 is the space character. Codes 48-57 are digits 0-9, 65-90 are uppercase A-Z, 97-122 are lowercase a-z.

DecHexCharHTMLName
320x20  Space
330x21!!Exclamation Mark
340x22""Quotation Mark
380x26&&Ampersand
600x3C<&lt;Less-Than Sign
620x3E>&gt;Greater-Than Sign
640x40@&#64;Commercial At
960x60`&#96;Grave Accent
1260x7E~&#126;Tilde

Extended Latin-1 (128-255)

Codes 128-159 are additional control codes in ISO-8859-1 (C1 controls). Codes 160-255 add accented letters, currency symbols, and punctuation used in Western European languages. The table below shows a selection of the most used symbols; the grid above has all 96.

DecHexCharHTMLName
1600xA0 &nbsp;No-Break Space
1610xA1¡&iexcl;Inverted Exclamation Mark
1630xA3£&pound;Pound Sign
1670xA7§&sect;Section Sign
1690xA9©&copy;Copyright Sign
1740xAE®&reg;Registered Sign
1760xB0°&deg;Degree Sign
1810xB5µ&micro;Micro Sign
1830xB7·&middot;Middle Dot
1910xBF¿&iquest;Inverted Question Mark
2150xD7×&times;Multiplication Sign
2470xF7÷&divide;Division Sign

Typing ASCII codes on different systems

Windows: hold Alt and type the decimal code on the numeric keypad, for example Alt+0169 for the copyright sign. A leading zero selects the Windows ANSI code page; without it, the result depends on the active OEM code page (usually CP437 or CP850).

Mac: use Option key combinations for common symbols (for example Option+G for the copyright sign on a US layout). For arbitrary Unicode, enable Unicode Hex Input in System Settings, then hold Option and type the four-digit hex code.

Linux (GTK and Qt apps): press Ctrl+Shift+U, release, type the hex code, then press Enter or Space.

HTML: use named entities (for example &copy;) or numeric references: decimal &#169; or hexadecimal &#xA9;.

Common pitfalls

  • Extended ASCII is not universal. Codes 128-255 vary by code page (Windows-1252, ISO-8859-1, CP437, MacRoman, etc.). Always declare your encoding (e.g., <meta charset="utf-8">) and prefer UTF-8.
  • Control characters in text files. CR (13) and LF (10) line endings differ across platforms. Use tools like dos2unix or editor settings to normalize.
  • HTML entities vs. raw characters. In UTF-8 documents you can paste © directly; entities are only required for characters that have special meaning in HTML (<, >, &, ") or when the document encoding cannot represent the character.
  • Null bytes in strings. Many languages treat NUL (0) as a string terminator. Embedding it can cause truncation or security issues.

Worked examples

ExampleInputResult
Find the code for the letter A (try 65)This input could not be calculated.
Look up a symbol by name (try copyright)This input could not be calculated.
Find control characters by hex (try 0x0A)This input could not be calculated.

FAQ

What is the difference between ASCII and extended ASCII?

Standard ASCII defines 128 codes (0-127). Extended ASCII refers to any 8-bit superset that adds 128 more codes (128-255). The most common extended set is ISO-8859-1 (Latin-1), which this table uses for codes 128-255.

Why do some extended characters show as boxes or question marks?

Your font lacks a glyph for that code point, or the page encoding does not match the byte values. Use a font with broad Unicode coverage (e.g., DejaVu Sans, Noto Sans) and ensure the document is served as UTF-8.

How do I type a character from its decimal code on Windows?

Hold Alt and type the decimal number on the numeric keypad with a leading zero (e.g., Alt+0169 for ©). Without the leading zero, the result depends on the active OEM code page (usually CP437).

What are the HTML entities for reserved characters?

Less-than: &lt; or <. Greater-than: &gt; or >. Ampersand: &amp; or &. Quotation mark: &quot; or ". Apostrophe: &apos; or ' (not defined in HTML4 but valid in HTML5 and XML).

Is this table the same as Unicode?

Codes 0-255 in this table match the first 256 Unicode code points (U+0000 to U+00FF) exactly. Unicode continues far beyond 255 to over 140,000 characters covering virtually all writing systems.

Can I use control characters like BEL (7) in modern web pages?

Browsers ignore most control characters in HTML. BEL does not produce a sound. For audible alerts, use the Web Audio API or <audio>. For formatting, use CSS.

Why does the table show abbreviations like NUL, SOH for control characters?

Control characters have no printable glyph. The two- or three-letter abbreviations (from ASCII and ISO 6429) are the standard way to represent them visually in documentation and debugging output.