# ASCII Table

> Searchable ASCII table for codes 0 to 127 with decimal, hex, octal, binary, HTML entities and control character names, plus Latin-1 and Windows-1252.

- URL: https://www.tooljig.com/ascii-table
- Category: [Developer tools](https://www.tooljig.com/category/developer.md)
- Runs: In the browser; nothing uploaded
- Price: free, no account needed

## What it does

Every ASCII code from 0 to 127 in one table: decimal, hexadecimal, octal and 8-bit binary, the character, its Unicode name and its HTML entity. The 33 control characters are listed with their abbreviations, full names, caret notation and C escapes, so 7 is BEL (Bell), ^G and \a. Search by number, hex such as 0x41, the character itself or a name, and click a row to copy it. A toggle adds bytes 128 to 255 as ISO-8859-1 (Latin-1) with the Windows-1252 characters that differ, clearly marked as not ASCII.

## How to use it

1. Search by decimal, hex (0x41), character or name such as “bell”.
2. Read the code in each base, its name and its HTML entity.
3. Click a row to copy the character (or a control's abbreviation).

## Good to know

- ASCII is a 7-bit code: only 0 to 127 are ASCII. Bytes 128 to 255 depend on the encoding. ISO-8859-1 places C1 control codes at 128–159, while Windows-1252 puts printable characters such as € and curly quotes there; in UTF-8, bytes above 127 are only parts of multi-byte characters.
- Named entities include those added in HTML5, such as &excl; and &num;. Control characters other than tab, line feed and carriage return are not allowed in HTML, so no entity is given for them.

## FAQ

### What is the ASCII code for A?

Capital A is 65 (0x41, binary 01000001). Lowercase a is 97 (0x61): lowercase letters are always 32 higher than capitals.

### What is the difference between LF and CR?

LF (10, \n) moves to a new line and is the line ending on Linux and macOS. CR (13, \r) returns to the start of the line; Windows uses CR followed by LF.

### Is € an ASCII character?

No. ASCII has no euro sign. Windows-1252 stores it as byte 128 and UTF-8 as the three bytes E2 82 AC, while its Unicode code point is U+20AC.

## Related tools

- [Text to Binary](https://www.tooljig.com/text-to-binary.md): Convert text to binary, hex or decimal UTF-8 bytes and decode them back to text. Accented letters and emoji are handled correctly. Runs in your browser.
- [Number Base Converter](https://www.tooljig.com/number-base-converter.md): Convert integers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Exact for very large numbers, with 0x, 0b and 0o prefixes.
- [HTML Encode / Decode](https://www.tooljig.com/html-encode-decode.md): Escape text for HTML with entities such as &lt; and &amp;, or decode named, decimal and hex entities back to text. Safe, local and instant.
