PureDevTools

ASCII Table

Full 128-character ASCII reference — decimal, hex, octal, binary, with search and filter

All processing happens in your browser. No data is sent to any server.
Show columns:
DecHexOctBinCharName
00x0000000000000NULNUL
10x0100100000001SOHSOH
20x0200200000010STXSTX
30x0300300000011ETXETX
40x0400400000100EOTEOT
50x0500500000101ENQENQ
60x0600600000110ACKACK
70x0700700000111BELBEL
80x0801000001000BSBS
90x0901100001001TABTAB
100x0A01200001010LFLF
110x0B01300001011VTVT
120x0C01400001100FFFF
130x0D01500001101CRCR
140x0E01600001110SOSO
150x0F01700001111SISI
160x1002000010000DLEDLE
170x1102100010001DC1DC1
180x1202200010010DC2DC2
190x1302300010011DC3DC3
200x1402400010100DC4DC4
210x1502500010101NAKNAK
220x1602600010110SYNSYN
230x1702700010111ETBETB
240x1803000011000CANCAN
250x1903100011001EMEM
260x1A03200011010SUBSUB
270x1B03300011011ESCESC
280x1C03400011100FSFS
290x1D03500011101GSGS
300x1E03600011110RSRS
310x1F03700011111USUS
320x2004000100000SpaceSpace
330x2104100100001!!
340x2204200100010""
350x2304300100011##
360x2404400100100$$
370x2504500100101%%
380x2604600100110&&
390x2704700100111''
400x2805000101000((
410x2905100101001))
420x2A05200101010**
430x2B05300101011++
440x2C05400101100,,
450x2D05500101101--
460x2E05600101110..
470x2F05700101111//
480x300600011000000
490x310610011000111
500x320620011001022
510x330630011001133
520x340640011010044
530x350650011010155
540x360660011011066
550x370670011011177
560x380700011100088
570x390710011100199
580x3A07200111010::
590x3B07300111011;;
600x3C07400111100<<
610x3D07500111101==
620x3E07600111110>>
630x3F07700111111??
640x4010001000000@@
650x4110101000001AA
660x4210201000010BB
670x4310301000011CC
680x4410401000100DD
690x4510501000101EE
700x4610601000110FF
710x4710701000111GG
720x4811001001000HH
730x4911101001001II
740x4A11201001010JJ
750x4B11301001011KK
760x4C11401001100LL
770x4D11501001101MM
780x4E11601001110NN
790x4F11701001111OO
800x5012001010000PP
810x5112101010001QQ
820x5212201010010RR
830x5312301010011SS
840x5412401010100TT
850x5512501010101UU
860x5612601010110VV
870x5712701010111WW
880x5813001011000XX
890x5913101011001YY
900x5A13201011010ZZ
910x5B13301011011[[
920x5C13401011100\\
930x5D13501011101]]
940x5E13601011110^^
950x5F13701011111__
960x6014001100000``
970x6114101100001aa
980x6214201100010bb
990x6314301100011cc
1000x6414401100100dd
1010x6514501100101ee
1020x6614601100110ff
1030x6714701100111gg
1040x6815001101000hh
1050x6915101101001ii
1060x6A15201101010jj
1070x6B15301101011kk
1080x6C15401101100ll
1090x6D15501101101mm
1100x6E15601101110nn
1110x6F15701101111oo
1120x7016001110000pp
1130x7116101110001qq
1140x7216201110010rr
1150x7316301110011ss
1160x7416401110100tt
1170x7516501110101uu
1180x7616601110110vv
1190x7716701110111ww
1200x7817001111000xx
1210x7917101111001yy
1220x7A17201111010zz
1230x7B17301111011{{
1240x7C17401111100||
1250x7D17501111101}}
1260x7E17601111110~~
1270x7F17701111111DELDEL

Showing 128 of 128 ASCII characters.

Quick Lookup

Type a character to see its ASCII code:

You need the hex code for the escape character. Or the decimal value for a carriage return. Or you are debugging a binary protocol and need to identify character 0x1B. An ASCII table is a reference you reach for constantly when working with low-level text processing, serial protocols, or encoding issues.

What Is ASCII?

ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding standard published in 1963. It defines 128 characters: 33 non-printing control characters (0–31 and 127) and 95 printable characters (32–126, including space).

ASCII is the foundation of virtually all modern character encodings. UTF-8, the dominant encoding on the web, is backward-compatible with ASCII — the first 128 Unicode code points are identical to ASCII.

Character Categories

Control Characters (0–31, 127)

The first 32 ASCII codes and code 127 (DEL) are non-printing control characters. Originally designed for teleprinter control, many still have active roles:

DecHexAbbrNameModern Use
000NULNullString terminator in C
909HTHorizontal Tab\t in source code
100ALFLine Feed\n — Unix line ending
130DCRCarriage Return\r — Windows line ending (with LF)
271BESCEscapeANSI escape sequences for terminal colors
1277FDELDeleteBackspace on many terminals

Printable Characters (32–126)

RangeCategoryCharacters
32Space(invisible but printable)
48–57Digits0 1 2 3 4 5 6 7 8 9
65–90UppercaseA B C … Z
97–122Lowercasea b c … z
33–47, 58–64, 91–96, 123–126Symbols! ” # $ % & ’ ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` {

Number System Representations

Each ASCII character can be represented in multiple number systems:

SystemBaseExample (Letter ‘A’)
Decimal1065
Hexadecimal160x41
Octal80101
Binary201000001

ASCII in Programming

String comparison relies on ASCII values. 'A' < 'Z' is true because 65 < 90. 'a' > 'A' is true because 97 > 65. This is why case-insensitive sorting requires explicit handling.

Character conversion. To convert uppercase to lowercase, add 32: 'A' (65) + 32 = 'a' (97). To check if a character is a digit: c >= 48 && c <= 57 (or c >= '0' && c <= '9').

Escape sequences. Control characters are represented in code as escape sequences: \n (LF, 10), \t (HT, 9), \r (CR, 13), \0 (NUL, 0), \x1B (ESC, 27).

ASCII vs. Unicode

ASCII defines 128 characters — enough for English but not for the world’s languages. Unicode extends this to over 149,000 characters across 161 scripts. UTF-8, the most common Unicode encoding, uses 1–4 bytes per character and is fully backward-compatible with ASCII: any valid ASCII text is also valid UTF-8.

Privacy

This tool is a static reference that runs entirely in your browser. No data is transmitted to any server.

Frequently Asked Questions

How many characters are in the ASCII table? ASCII defines exactly 128 characters (0–127): 33 non-printing control characters and 95 printable characters including space.

What is the difference between ASCII and UTF-8? ASCII uses 7 bits and defines 128 characters. UTF-8 is a variable-length encoding (1–4 bytes) that supports all Unicode characters. The first 128 UTF-8 characters are identical to ASCII, making them backward-compatible.

Why does ASCII start at 0, not 1? ASCII code 0 (NUL) serves as a string terminator in C and many protocols. Starting at 0 aligns with how computers address memory and is standard in computing.

What is the ASCII code for a newline? Line Feed (LF) is ASCII 10 (0x0A). Unix/Linux/macOS use LF alone as line endings. Windows uses CR+LF (13 + 10, or 0x0D 0x0A).

Can I search for a specific character? Yes. Use the search box to find characters by name, abbreviation, decimal value, or hex value. You can also filter by category (control, digit, letter, symbol).

Related Tools

More Text & String Tools