The Wayback Machine - https://web.archive.org/web/20241125111710/https://www.geeksforgeeks.org/ascii-table/
Open In App

ASCII Values Alphabets ( A-Z, a-z & Special Character Table )

Last Updated : 03 Sep, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

ASCII (American Standard Code for Information Interchange) is a standard character encoding used in telecommunication. The ASCII pronounced ‘ask-ee’, is strictly a seven-bit code based on the English alphabet. ASCII codes are used to represent alphanumeric data.

The code was first published as a standard in 1967. it was subsequently updated and published as ANSI X3.4-1968, then as ANSI X3.4-1977, and finally as ANSI X3.4-1986. Since it is a seven-bit code, it can at the most represent 128 characters. it currently defines 95 printable characters including 26 upper case letters (A to Z), 26 lower case letters, 10 numerals (0 to 9), and 33 special characters including mathematical symbols, punctuation marks, and space characters. They represent text in, telecommunications equipment, and devices. These include numbers, upper and lowercase English letters, functions, punctuation symbols, and some other symbols.

In total, there are 256 ASCII characters, and can be broadly divided into three categories:

  1. ASCII control characters (0-31 and 127)
  2. ASCII printable characters (32-126) (most commonly referred to)
  3. Extended ASCII characters (128-255)

What is ASCII Value?

 ASCII stands for American Standard Code for Information Interchange, A character encoding standard that assigns unique numerical values to letters, digits, punctuation marks, and other symbols.

Why do we need ASCII Value representation?

In the physical world, you would use a pen and paper to write the message, and your friend would read the text directly. However, when it comes to digital communication, computers don’t understand letters and symbols the way humans do. Instead, they process information in the form of binary code, which consists of 0s and 1s. This is where ASCII values come into play.

ASCII values serve as a bridge between human-readable text and computer-readable binary code. Each character, whether it’s a letter, number, or symbol, is assigned a unique ASCII value ranging from 0 to 127. For example, the ASCII value of the uppercase letter ‘A’ is 65, while the lowercase letter ‘a’ has an ASCII value of 97. Similarly, the digit ‘0’ has an ASCII value of 48.

How Computers Use ASCII to Understand Human Text?

Suppose you want to send a text message to your friend that reads, “Hello!” When you type this message on your phone or computer, each character is converted into its corresponding ASCII value. In this case, the ASCII values for “Hello!” are 72, 101, 108, 108, 111, and 33.

These numerical values are then translated into binary code, which is transmitted to your friend’s device. Upon receiving the message, their device converts the binary code back into ASCII values and finally displays the original text, “Hello!”

ASCII Table

ASCII Table

The Extended ASCII Codes (character code 128-255)

The table below adheres to the Windows-1252 (CP-1252) standard, an extension of ISO 8859-1, also known as ISO Latin-1. This standard differs from IANA’s ISO-8859-1 by substituting control characters with displayable characters in the range of 128 to 159. Any characters that deviate from ISO-8859-1 are highlighted in light blue.

DEC BIN Symbol HTML Number HTML Name Description
128 10000000 € € € Euro sign
129 10000001       Unused
130 10000010 ‚ ‚ ‚ Single low-9 quotation mark
131 10000011 ƒ ƒ ƒ Latin small letter f with hook
132 10000100 „ „ „ Double low-9 quotation mark
133 10000101 … … … Horizontal ellipsis
134 10000110 † † † Dagger
135 10000111 ‡ ‡ ‡ Double dagger
136 10001000 ˆ ˆ ˆ Modifier letter circumflex accent
137 10001001 ‰ ‰ ‰ Per mille sign
138 10001010 Š Š Š Latin capital letter S with caron
139 10001011 ‹ ‹ ‹ Single left-pointing angle quotation
140 10001100 Œ Œ Œ Latin capital ligature OE
141 10001101       Unused
142 10001110 Ž Ž Ž Latin capital letter Z with caron
143 10001111       Unused
144 10010000       Unused
145 10010001 ‘ ‘ ‘ Left single quotation mark
146 10010010 ’ ’ ’ Right single quotation mark
147 10010011 “ “ “ Left double quotation mark
148 10010100 ” ” ” Right double quotation mark
149 10010101 • • • Bullet
150 10010110 – – – En dash
151 10010111 — — — Em dash
152 10011000 ˜ ˜ ˜ Small tilde
153 10011001 ™ ™ ™ Trade mark sign
154 10011010 š š š Latin small letter S with caron
155 10011011 › › › Single right-pointing angle quotation mark
156 10011100 œ œ œ Latin small ligature oe
157 10011101       Unused
158 10011110 ž ž ž Latin small letter z with caron
159 10011111 Ÿ Ÿ Ÿ Latin capital letter Y with diaeresis
160 10100000 NBSP     Non-breaking space
161 10100001 ¡ ¡ ¡ Inverted exclamation mark
162 10100010 ¢ ¢ ¢ Cent sign
163 10100011 £ £ £ Pound sign
164 10100100 ¤ ¤ ¤ Currency sign
165 10100101 ¥ ¥ ¥ Yen sign
166 10100110 ¦ ¦ ¦ Pipe, broken vertical bar
167 10100111 § § § Section sign
168 10101000 ¨ ¨ ¨ Spacing diaeresis – umlaut
169 10101001 © © © Copyright sign
170 10101010 ª ª ª Feminine ordinal indicator
171 10101011 « « « Left double-angle quotes
172 10101100 ¬ ¬ ¬ Negation
173 10101101 ­SHY ­ ­ Soft hyphen
174 10101110 ® ® ® Registered trademark sign
175 10101111 ¯ ¯ ¯ Spacing macron – overline
176 10110000 ° ° ° Degree sign
177 10110001 ± ± ± Plus-or-minus sign
178 10110010 ² ² ² Superscript two-squared
179 10110011 ³ ³ ³ Superscript three – cubed
180 10110100 ´ ´ ´ Acute accent – spacing acute
181 10110101 µ µ µ Micro sign
182 10110110 ¶ ¶ Pilcrow sign – paragraph sign
183 10110111 · · · Middle dot – Georgian comma
184 10111000 ¸ ¸ ¸ Spacing cedilla
185 10111001 ¹ ¹ ¹ Superscript one
186 10111010 º º º Masculine ordinal indicator
187 10111011 » » » Right double-angle quotes
188 10111100 ¼ ¼ ¼ Fraction one quarter
189 10111101 ½ ½ ½ Fraction one half
190 10111110 ¾ ¾ ¾ Fraction three quarters
191 10111111 ¿ ¿ ¿ Inverted question mark
192 11000000 À À À Latin capital letter A with grave
193 11000001 Á Á Á Latin capital letter A with acute
194 11000010 Â Â Â Latin capital letter A with circumflex
195 11000011 Ã Ã Ã Latin capital letter A with tilde
196 11000100 Ä Ä Ä Latin capital letter A with diaeresis
197 11000101 Å Å Å Latin capital letter A with ring above
198 11000110 Æ Æ Æ Latin capital letter AE
199 11000111 Ç Ç Ç Latin capital letter C with cedilla
200 11001000 È È È Latin capital letter E with grave
201 11001001 É É É Latin capital letter E with acute
202 11001010 Ê Ê Ê Latin capital letter E with circumflex
203 11001011 Ë Ë Ë Latin capital letter E with diaeresis
204 11001100 Ì Ì Ì Latin capital letter I with grave
205 11001101 Í Í Í Latin capital letter I with acute
206 11001110 Î Î Î Latin capital letter I with circumflex
207 11001111 Ï Ï Ï Latin capital letter I with diaeresis
208 11010000 Ð Ð Ð Latin capital letter ETH
209 11010001 Ñ Ñ Ñ Latin capital letter N with tilde
210 11010010 Ò Ò Ò Latin capital letter O with grave
211 11010011 Ó Ó Ó Latin capital letter O with acute
212 11010100 Ô Ô Ô Latin capital letter O with circumflex
213 11010101 Õ Õ Õ Latin capital letter O with tilde
214 11010110 Ö Ö Ö Latin capital letter O with diaeresis
215 11010111 × × × Multiplication sign
216 11011000 Ø Ø Ø Latin capital letter O with a slash
217 11011001 Ù Ù Ù Latin capital letter U with grave
218 11011010 Ú Ú Ú Latin capital letter U with acute
219 11011011 Û Û Û Latin capital letter U with circumflex
220 11011100 Ü Ü Ü Latin capital letter U with diaeresis
221 11011101 Ý Ý Ý Latin capital letter Y with acute
222 11011110 Þ Þ Þ Latin capital letter THORN
223 11011111 ß ß ß Latin small letter sharp s – ess-zed
224 11100000 à à à Latin small letter a with grave
225 11100001 á á á Latin small letter a with acute
226 11100010 â â â Latin small letter a with circumflex
227 11100011 ã ã ã Latin small letter a with tilde
228 11100100 ä ä ä Latin small letter a with diaeresis
229 11100101 å å å Latin small letter a with ring above
230 11100110 æ æ æ Latin small letter ae
231 11100111 ç ç ç Latin small letter c with cedilla
232 11101000 è è è Latin small letter e with grave
233 11101001 é é é Latin small letter e with acute
234 11101010 ê ê ê Latin small letter e with circumflex
235 11101011 ë ë ë Latin small letter e with diaeresis
236 11101100 ì ì ì Latin small letter i with grave
237 11101101 í í í Latin small letter i with acute
238 11101110 î î î Latin small letter i with circumflex
239 11101111 ï ï ï Latin small letter i with diaeresis
240 11110000 ð ð &etc; Latin small letter eth
241 11110001 ñ ñ ñ Latin small letter n with tilde
242 11110010 ò ò ò Latin small letter o with grave
243 11110011 ó ó ó Latin small letter o with acute
244 11110100 ô ô ô Latin small letter o with circumflex
245 11110101 õ õ õ Latin small letter o with tilde
246 11110110 ö ö ö Latin small letter o with diaeresis
247 11110111 ÷ ÷ ÷ Division sign
248 11111000 ø ø ø Latin small letter o with slash
249 11111001 ù ù ù Latin small letter u with grave
250 11111010 ú ú ú Latin small letter u with acute
251 11111011 û û û Latin small letter u with circumflex
252 11111100 ü ü ü Latin small letter u with diaeresis
253 11111101 ý ý ý Latin small letter y with acute
254 11111110 þ þ þ Latin small letter thorn
255 11111111 ÿ ÿ ÿ Latin small letter y with diaeresis

So what’s before 33 and beyond 126?

  1. ASCII values before 32 (0-31) are control characters. A character code is often used in in-band signaling as a reference point in a set of characters to avoid adding additional symbols to the text.
  2. At 32, we have space, which is included as printed characters, however, it’s not wrong to say space could also serve as a control character.
  3. At 127, we have DEL (delete), which is a control character.
  4. After 127, (128-255), we have Extended ASCII characters representing mathematical and other symbols that are not represented as keys and are not used in general.

Below are the ASCII values of Control Characters (0-31, 127):

Character Character Name ASCII Code
NULL Null character 00
SOH Start of header 01
STX Start of text 02
ETX End of text 03
EOT End of transmission 04
ENQ enquiry 05
ACK acknowledge 06
BEL bell 07
BS backspace 08
HT Horizontal tab 09
LF Line feed 10
Character Character Name ASCII Code
VT Vertical tab 11
FF Form feed 12
CR Carriage return 13
SO Shift out 14
SI Shift in 15
DLE Data link escape 16
DC1 Device control 1 17
DC2 Device control 2 18
DC3 Device control 3 19
DC4 Device control 4 20
NAK Negative acknowledge 21
Character Character Name ASCII Code
SYN Synchronous idle 22
ETB End of trans. Block 23
CAN Cancel 24
EM End of medium 25
SUB substitute 26
ESC escape 27
FS File separator 28
GS Group separator 29
RS Record separator 30
US Unit separator 31
DEL delete 127

Difference Between ASCII and Unicode

ASCII Unicode
ASCII bassically used to represent text in form of symbols, numbers, and character UNICODE is used to exchange, process, and store text data in any language
ASCII is a character encoding standard that uses 7-bit binary numbers to represent characters UNICODE is a character encoding standard that uses 16-bit binary numbers to represent characters
ASCII can only represent 128 characters. Unicode can represent over 65,000 characters from different languages and scripts.

Conclusion

To summarize, the range of ASCII values for capital letters spans from 65 to 90, while for small letters, it extends from 97 to 122. Allocated in alphabetical sequence, the values for “A” and “Z” are 65 and 90, respectively, in uppercase. Similarly, the values for “a” and “z” in lowercase are 97 and 122, respectively.

Frequently Asked Questions on ASCII Values

What is the ASCII value of A to Z?

The Ascii Value of Capital A to Z are Assigned in alphabetical order from (65-90) , with “A” assigned the value of 65 and “Z” assigned the value of 90 for uppercase letters.

What is the ASCII value of lowercase a to z?

The Ascii Value of small a to z are also assigned in alphabetical order from (97-122) , with  “a” is assigned the value of 97 and “z” is assigned the value of 122 for lowercase letters.

How can I convert ASCII values to characters?

In the context of programming, for conversion you can use Char() function in python to convert ascii value to their corresponding characters. for ex:- Char(32) gives nothing because it’s a space. but for other values it definitely gives a Character.

Can ASCII values be used to represent non-English characters?

No, ASCII values only represent a limited set of characters in the English language and cannot be used to represent non-English characters.



Previous Article
Next Article

Similar Reads

Difference Between Page Table and Inverted Page Table
Paging is a concept for storage management in operating systems that retrieve processes from secondary storage and store them in main memory as pages. The main concept behind paging is to divide each process into pages. Frames will also be used to divide the main memory. One page of the process is to be saved in one of the memory frames. In various
5 min read
Difference Between ASCII and EBCDIC
ASCII and EBCDIC are the most widely used character coding system. Eight-bit character encoding called Extended Binary Coded Decimal Interchange Code is primarily utilized by IBM mainframe and midrange computer operating systems. What is ASCII?ASCII is well-known as the American Standard Code for Information Interchange. Digital computers utilize a
5 min read
Data Structure to Design a special social network
Consider a special social network where people are called connected if one person is connected to other with any number of intermediate connections. For example if a person x is connected with y and y is connected with z, then x is also considered to be connected with z. We are given a set of friend requests as input. We are also given a set of que
4 min read
What is Optical Character Recognition (OCR)?
By digitizing the document's content, text-encased image files are produced. Word processing software cannot process text in photos the same way it does text documents. By transforming text photos into text data that can be evaluated by other business tools, OCR technology finds a solution to the issue. The data can then be used to perform analytic
5 min read
What is Character User Interface(CUI)?
CUI stands for Character User Interface. This is a user interface where the user interacts with a computer using only a keyboard. In this article, we will understand the use of CUI, some examples of CUI, and more in detail. What is Character User Interface(CUI)?Character User Interface(CUI), also known as Command Line Interface(CLI), is used to int
6 min read
What is a Character (CHAR)?
In progrаmmiոg, dаtа is stored аոd mаnupulаted іո vаrious forms, kոowո аs dаtа types. Oոe fuոdаmeոtаl dаtа type is the chаrаcter, ofteոly аbbreviаted аs chаr. Uոderstаոdiոg chаrаcters аոd their use іո progrаmmiոg is crucіаl for hаոdliոg text, symbols, аոd more complex dаtа structures effectively. What is Char?The chаr dаtа type, short for "chаrаcte
3 min read
How to Remove Pivot Table But Keep Data in Excel?
In this article, we will look into how to remove the Pivot Table but want to keep the data intact in Excel. To do so follow the below steps: Step 1: Select the Pivot table. To select the table, go to Analyze tabSelect the menu and choose the Entire Pivot Table. Step 2: Now copy the entire Pivot table data by Ctrl+C. Step 3: Select a cell in the wor
1 min read
How to Delete a Pivot Table in Excel?
A pivot table is a tool in Excel that allows you to quickly summarize data in the spreadsheet. When it comes to deleting a Pivot Table, there are a few different ways you can do this. The method you choose will depend on how you want to delete the Pivot Table. 1.Delete the Pivot Table and the Resulting Data. Steps to delete the Pivot table and the
3 min read
What is EIGRP Neighbor and Topology Table?
Enhanced Interior Gateway Routing Protocol (EIGRP) is a networking protocol used by computer networks for configuration, making routing decisions, and automating them. EIGRP is a Cisco proprietary protocol that is, it is accessible on Cisco routers. Later on, its functionality was changed to an open standard and was available under RFC 7868. It is
3 min read
Control Table UI Component Appearance and Behavior in MATLAB
In this article, we shall discuss how to create UI tables in MATLAB and control their behaviors and appearance by manipulating some basic properties and visuals. UI tables in MATLAB are the graphical form of tabular data. The UI tables can be created using the uitable function. Syntaxtab = uitable(...parameters...) The uitable without any parameter
6 min read
Difference Between View and Table
View and Table both are integral parts of a relational database, and both terms are used interchangeably. The view is a result of an SQL query and it is a virtual table, whereas a table is formed up of rows and columns that store the information of any object and be used to retrieve that data whenever required. In this article, we are going to disc
6 min read
ML | Handling Missing Values
Missing values are a common issue in machine learning. This occurs when a particular variable lacks data points, resulting in incomplete information and potentially harming the accuracy and dependability of your models. It is essential to address missing values efficiently to ensure strong and impartial results in your machine-learning projects. In
12 min read
Discrete Mathematics Tutorial
Discrete Mathematics is a branch of mathematics that is concerned with "discrete" mathematical structures instead of "continuous". Discrete mathematical structures include objects with distinct values like graphs, integers, logic-based statements, etc. In this tutorial, we have covered all the topics of Discrete Mathematics for computer science lik
3 min read
What is TCP (Transmission Control Protocol)?
TCP (Transmission Control Protocol) is one of the main protocols of the TCP/IP suite. It lies between the Application and Network Layers which are used in providing reliable delivery services. Transmission Control Protocol (TCP) ensures reliable and efficient data transmission over the internet. TCP plays a crucial role in managing the flow of data
6 min read
Advanced Encryption Standard (AES)
Advanced Encryption Standard (AES) is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology (NIST) in 2001. AES is widely used today as it is much stronger than DES and triple DES despite being harder to implement. In this article, we will cover the AES, the Working of Cipher an
8 min read
Top 50 Plus Networking Interview Questions and Answers for 2024
Networking is defined as connected devices that may exchange data or information and share resources. A computer network connects computers to exchange data via a communication media. Computer networking is the most often asked question at leading organizations such Cisco, Accenture, Uber, Airbnb, Google, Nvidia, Amazon, and many others. To get int
15+ min read
What is an Operating System?
Operating System a type of system software. It basically manages all the resources of the computer. An operating system acts as an interface between the software and different parts of the computer or the computer hardware. The operating system is designed in such a way that it can manage the overall resources and operations of the computer. Operat
10 min read
ASCII Values Alphabets ( A-Z, a-z & Special Character Table )
ASCII (American Standard Code for Information Interchange) is a standard character encoding used in telecommunication. The ASCII pronounced 'ask-ee', is strictly a seven-bit code based on the English alphabet. ASCII codes are used to represent alphanumeric data. The code was first published as a standard in 1967. it was subsequently updated and pub
7 min read
Difference between NP hard and NP complete problem
Prerequisite: NP-Completeness NP Problem: The NP problems set of problems whose solutions are hard to find but easy to verify and are solved by Non-Deterministic Machine in polynomial time. NP-Hard Problem: A Problem X is NP-Hard if there is an NP-Complete problem Y, such that Y is reducible to X in polynomial time. NP-Hard problems are as hard as
2 min read
What is IPv4?
IP stands for Internet Protocol version v4 stands for Version Four (IPv4), is the most widely used system for identifying devices on a network. It uses a set of four numbers, separated by periods (like 192.168.0.1), to give each device a unique address. This address helps data find its way from one device to another over the internet. IPv4 was the
4 min read
What is DFD(Data Flow Diagram)?
Data Flow Diagram (DFD) represents the flow of data within information systems. Data Flow Diagrams (DFD) provide a graphical representation of the data flow of a system that can be understood by both technical and non-technical users. The models enable software engineers, customers, and users to work together effectively during the analysis and spe
9 min read
Architecture of 8086
Introduction : The 8086 microprocessor is an 8-bit/16-bit microprocessor designed by Intel in the late 1970s. It is the first member of the x86 family of microprocessors, which includes many popular CPUs used in personal computers. The architecture of the 8086 microprocessor is based on a complex instruction set computer (CISC) architecture, which
15+ min read
What is a neural network?
Neural Networks are computational models that mimic the complex functions of the human brain. The neural networks consist of interconnected nodes or neurons that process and learn from data, enabling tasks such as pattern recognition and decision making in machine learning. The article explores more about neural networks, their working, architectur
10 min read
Coupling and Cohesion - Software Engineering
The purpose of the Design phase in the Software Development Life Cycle is to produce a solution to a problem given in the SRS(Software Requirement Specification) document. The output of the design phase is a Software Design Document (SDD). Coupling and Cohesion are two key concepts in software engineering that are used to measure the quality of a s
10 min read
KDD Process in Data Mining
Pre-requisites: Data Mining In the context of computer science, “Data Mining” can be referred to as knowledge mining from data, knowledge extraction, data/pattern analysis, data archaeology, and data dredging. Data Mining also known as Knowledge Discovery in Databases, refers to the nontrivial extraction of implicit, previously unknown and potentia
5 min read
Computer Organization | Von Neumann architecture
Von-Neumann computer architecture: Von-Neumann computer architecture design was proposed in 1945.It was later known as Von-Neumann architecture. Historically there have been 2 types of Computers: Fixed Program Computers - Their function is very specific and they couldn't be reprogrammed, e.g. Calculators. Stored Program Computers - These can be pro
4 min read
COCOMO Model - Software Engineering
The Constructive Cost Model (COCOMO) is a software cost estimation model that helps predict the effort, cost, and schedule required for a software development project. Developed by Barry Boehm in 1981, COCOMO uses a mathematical formula based on the size of the software project, typically measured in lines of code (LOC). Table of Content What is th
15+ min read
Data Warehousing
A Database Management System (DBMS) stores data in the form of tables and uses an ER model and the goal is ACID properties. For example, a DBMS of a college has tables for students, faculty, etc. A Data Warehouse is separate from DBMS, it stores a huge amount of data, which is typically collected from multiple heterogeneous sources like files, DBMS
8 min read
ACID Properties in DBMS
This article is based on the concept of ACID properties in DBMS that are necessary for maintaining data consistency, integrity, and reliability while performing transactions in the database. Let's explore them. A transaction is a single logical unit of work that accesses and possibly modifies the contents of a database. Transactions access data usi
7 min read
Deadlock Prevention And Avoidance
When two or more processes try to access the critical section at the same time and they fail to access simultaneously or stuck while accessing the critical section then this condition is known as Deadlock. Deadlock prevention and avoidance are strategies used in computer systems to ensure that different processes can run smoothly without getting st
6 min read
Article Tags :
three90RightbarBannerImg