Toolzi LogoToolzi

ASCII Code Table & Converter

Convert text to ASCII codes and ASCII codes to text instantly. Supports decimal, hex, octal, and binary. Full 0–127 ASCII table included.

Text → ASCII
Sep:
ASCII (DEC)

All processing is done entirely in your browser. No data is sent to any server.

ASCII Code Table

DecHexOctBinaryCharDescription
00000000000000NULNull
10100100000001SOHStart of Heading
20200200000010STXStart of Text
30300300000011ETXEnd of Text
40400400000100EOTEnd of Transmission
50500500000101ENQEnquiry
60600600000110ACKAcknowledge
70700700000111BELBell
80801000001000BSBackspace
90901100001001HTHorizontal Tab
100A01200001010LFLine Feed
110B01300001011VTVertical Tab
120C01400001100FFForm Feed
130D01500001101CRCarriage Return
140E01600001110SOShift Out
150F01700001111SIShift In
161002000010000DLEData Link Escape
171102100010001DC1Device Control 1
181202200010010DC2Device Control 2
191302300010011DC3Device Control 3
201402400010100DC4Device Control 4
211502500010101NAKNegative Acknowledge
221602600010110SYNSynchronous Idle
231702700010111ETBEnd of Trans. Block
241803000011000CANCancel
251903100011001EMEnd of Medium
261A03200011010SUBSubstitute
271B03300011011ESCEscape
281C03400011100FSFile Separator
291D03500011101GSGroup Separator
301E03600011110RSRecord Separator
311F03700011111USUnit Separator
322004000100000(SP)Space
332104100100001!
342204200100010"
352304300100011#
362404400100100$
372504500100101%
382604600100110&
392704700100111'
402805000101000(
412905100101001)
422A05200101010*
432B05300101011+
442C05400101100,
452D05500101101-
462E05600101110.
472F05700101111/
4830060001100000
4931061001100011
5032062001100102
5133063001100113
5234064001101004
5335065001101015
5436066001101106
5537067001101117
5638070001110008
5739071001110019
583A07200111010:
593B07300111011;
603C07400111100<
613D07500111101=
623E07600111110>
633F07700111111?
644010001000000@
654110101000001A
664210201000010B
674310301000011C
684410401000100D
694510501000101E
704610601000110F
714710701000111G
724811001001000H
734911101001001I
744A11201001010J
754B11301001011K
764C11401001100L
774D11501001101M
784E11601001110N
794F11701001111O
805012001010000P
815112101010001Q
825212201010010R
835312301010011S
845412401010100T
855512501010101U
865612601010110V
875712701010111W
885813001011000X
895913101011001Y
905A13201011010Z
915B13301011011[
925C13401011100\
935D13501011101]
945E13601011110^
955F13701011111_
966014001100000`
976114101100001a
986214201100010b
996314301100011c
1006414401100100d
1016514501100101e
1026614601100110f
1036714701100111g
1046815001101000h
1056915101101001i
1066A15201101010j
1076B15301101011k
1086C15401101100l
1096D15501101101m
1106E15601101110n
1116F15701101111o
1127016001110000p
1137116101110001q
1147216201110010r
1157316301110011s
1167416401110100t
1177516501110101u
1187616601110110v
1197716701110111w
1207817001111000x
1217917101111001y
1227A17201111010z
1237B17301111011{
1247C17401111100|
1257D17501111101}
1267E17601111110~
1277F17701111111DELDelete

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a character encoding standard that maps English letters, digits, and special characters to numbers 0–127. Established in 1963, it remains the foundation of all modern computing. ASCII uses 7 bits to represent 128 characters, and modern Unicode (UTF-8) fully includes ASCII's 0–127 range.

Control Characters

Codes 0–31 and 127 are non-printable control characters used in programming and communication protocols to perform special operations.

DecAbbrDescription
0NULNull character (string terminator)
8BSBackspace
9HTHorizontal Tab
10LFLine Feed (Unix/macOS line ending)
13CRCarriage Return (Windows uses CR+LF)
27ESCEscape
32SPSpace
127DELDelete

Commonly Used ASCII Codes

CharDecHexDescription
0–948–5730–39Digits 0–9
A–Z65–9041–5AUppercase letters
a–z97–12261–7ALowercase letters
(SP)3220Space
!3321Exclamation mark
"3422Double quote
@6440At sign

Frequently Asked Questions

What is the difference between ASCII and Unicode?
ASCII represents only 128 characters (7-bit), limited to English letters, digits, and basic symbols. Unicode supports over a million characters, including scripts from all languages worldwide. Unicode's first 128 code points (0–127) are identical to ASCII.
What is the ASCII code for the letter A?
Uppercase A is 65 (decimal) or 41 (hex). Lowercase a is 97 (decimal) or 61 (hex). The difference between uppercase and lowercase is exactly 32 (0x20), making case conversion easy with a single bit flip.
What is the ASCII code for a space?
Space is 32 (decimal) or 20 (hex). It is the first printable character in the ASCII table, sitting between control characters (0–31) and visible characters (33–126).
What is the ASCII code for a newline?
LF (Line Feed) is 10 and CR (Carriage Return) is 13. Unix and macOS use only LF (10) as a line ending. Windows uses CR+LF (13, 10) together. Classic Mac OS used only CR (13).
Can Korean or non-Latin characters be represented in ASCII?
No. ASCII only supports English letters, digits, and basic symbols. Languages like Korean, Chinese, or Arabic require multi-byte encodings such as UTF-8 (which uses up to 4 bytes per character).
How is hexadecimal ASCII used in programming?
In C, '\x41' represents 'A' and '\x0A' represents a newline. In HTML, '&#x41;' renders as 'A'. In URL encoding, '%41' is the percent-encoded form of 'A'.
What is Extended ASCII (128–255)?
Extended ASCII expands the 7-bit standard to 8 bits, adding 128 more characters such as accented Latin letters and special symbols. However, characters above 127 vary by encoding (ISO-8859-1, Windows-1252, etc.), so UTF-8 is recommended for modern applications.

Related Tools