ASCII Table & Converter

Browse all 128 ASCII characters with their decimal, hex, binary, octal, and HTML entity codes — or convert any value instantly.

DecHexOctBinaryCharHTMLDescriptionCopy
00000000000000none�
Control
NUL (Null)
10100100000001none
Control
SOH (Start of Heading)
20200200000010none
Control
STX (Start of Text)
30300300000011none
Control
ETX (End of Text)
40400400000100none
Control
EOT (End of Transmission)
50500500000101none
Control
ENQ (Enquiry)
60600600000110none
Control
ACK (Acknowledge)
70700700000111none
Control
BEL (Bell)
80801000001000none
Control
BS (Backspace)
90901100001001none	
Control
TAB (Horizontal Tab)
100A01200001010none

Control
LF (Line Feed)
110B01300001011none
Control
VT (Vertical Tab)
120C01400001100none
Control
FF (Form Feed)
130D01500001101none
Control
CR (Carriage Return)
140E01600001110none
Control
SO (Shift Out)
150F01700001111none
Control
SI (Shift In)
161002000010000none
Control
DLE (Data Link Escape)
171102100010001none
Control
DC1 (Device Control 1)
181202200010010none
Control
DC2 (Device Control 2)
191302300010011none
Control
DC3 (Device Control 3)
201402400010100none
Control
DC4 (Device Control 4)
211502500010101none
Control
NAK (Negative Acknowledge)
221602600010110none
Control
SYN (Synchronous Idle)
231702700010111none
Control
ETB (End of Transmission Block)
241803000011000none
Control
CAN (Cancel)
251903100011001none
Control
EM (End of Medium)
261A03200011010none
Control
SUB (Substitute)
271B03300011011none
Control
ESC (Escape)
281C03400011100none
Control
FS (File Separator)
291D03500011101none
Control
GS (Group Separator)
301E03600011110none
Control
RS (Record Separator)
311F03700011111none
Control
US (Unit Separator)
322004000100000  Printable
332104100100001!!Printable
342204200100010""Printable
352304300100011##Printable
362404400100100$$Printable
372504500100101%%Printable
382604600100110&&Printable
392704700100111''Printable
402805000101000((Printable
412905100101001))Printable
422A05200101010**Printable
432B05300101011++Printable
442C05400101100,,Printable
452D05500101101--Printable
462E05600101110..Printable
472F05700101111//Printable
48300600011000000Printable
49310610011000111Printable
50320620011001022Printable
51330630011001133Printable
52340640011010044Printable
53350650011010155Printable
54360660011011066Printable
55370670011011177Printable
56380700011100088Printable
57390710011100199Printable
583A07200111010::Printable
593B07300111011;&#59;Printable
603C07400111100<&#60;Printable
613D07500111101=&#61;Printable
623E07600111110>&#62;Printable
633F07700111111?&#63;Printable
644010001000000@&#64;Printable
654110101000001A&#65;Printable
664210201000010B&#66;Printable
674310301000011C&#67;Printable
684410401000100D&#68;Printable
694510501000101E&#69;Printable
704610601000110F&#70;Printable
714710701000111G&#71;Printable
724811001001000H&#72;Printable
734911101001001I&#73;Printable
744A11201001010J&#74;Printable
754B11301001011K&#75;Printable
764C11401001100L&#76;Printable
774D11501001101M&#77;Printable
784E11601001110N&#78;Printable
794F11701001111O&#79;Printable
805012001010000P&#80;Printable
815112101010001Q&#81;Printable
825212201010010R&#82;Printable
835312301010011S&#83;Printable
845412401010100T&#84;Printable
855512501010101U&#85;Printable
865612601010110V&#86;Printable
875712701010111W&#87;Printable
885813001011000X&#88;Printable
895913101011001Y&#89;Printable
905A13201011010Z&#90;Printable
915B13301011011[&#91;Printable
925C13401011100\&#92;Printable
935D13501011101]&#93;Printable
945E13601011110^&#94;Printable
955F13701011111_&#95;Printable
966014001100000`&#96;Printable
976114101100001a&#97;Printable
986214201100010b&#98;Printable
996314301100011c&#99;Printable
1006414401100100d&#100;Printable
1016514501100101e&#101;Printable
1026614601100110f&#102;Printable
1036714701100111g&#103;Printable
1046815001101000h&#104;Printable
1056915101101001i&#105;Printable
1066A15201101010j&#106;Printable
1076B15301101011k&#107;Printable
1086C15401101100l&#108;Printable
1096D15501101101m&#109;Printable
1106E15601101110n&#110;Printable
1116F15701101111o&#111;Printable
1127016001110000p&#112;Printable
1137116101110001q&#113;Printable
1147216201110010r&#114;Printable
1157316301110011s&#115;Printable
1167416401110100t&#116;Printable
1177516501110101u&#117;Printable
1187616601110110v&#118;Printable
1197716701110111w&#119;Printable
1207817001111000x&#120;Printable
1217917101111001y&#121;Printable
1227A17201111010z&#122;Printable
1237B17301111011{&#123;Printable
1247C17401111100|&#124;Printable
1257D17501111101}&#125;Printable
1267E17601111110~&#126;Printable
1277F17701111111none&#127;
Control
DEL (Delete)

Control characters (0–31 and 127) are highlighted and shown with their abbreviated names. Printable characters (32–126) can be copied with the copy button.

Private by design: All ASCII lookups and conversions run entirely in your browser. No data is sent to any server.

Full ASCII table

All 128 standard ASCII characters with decimal, hex, binary, octal, and HTML entity codes. Searchable and sortable.

Bidirectional converter

Enter a character, decimal, hex, octal, or binary value and see every other representation instantly.

Private by design

All lookups and conversions run locally in your browser. No data is ever sent to a server.

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric values to 128 characters. It was first published in 1963 and became the backbone of modern text encoding. The first 32 codes (0–31) are control characters used for device management — like carriage return, line feed, and tab. Codes 32–126 are printable characters including letters, digits, punctuation, and symbols. Code 127 is the DEL (delete) control character.

Because ASCII uses only 7 bits, it is universally supported and forms the common subset of virtually every modern encoding, including UTF-8. When you type plain English text, you are using ASCII. When a web page sends JSON data, the JSON specification itself is defined in terms of ASCII. Understanding ASCII is foundational to understanding how computers represent text.

How the ASCII converter works

The converter uses JavaScript's built-in charCodeAt and fromCharCode methods to translate between representations. When you enter a character, its Unicode code point is read (which equals the ASCII value for standard ASCII characters). When you enter a decimal, hex, octal, or binary number, parseInt converts it to a numeric value and fromCharCode maps it back to the corresponding character. All of this happens locally in your browser.

Common use cases for ASCII codes

Web developers reference ASCII when writing regex for whitespace (\t, \n, \r), handling CSV parsing, or sanitizing form input. Embedded systems engineers use ASCII for serial communication protocols where bytes are sent as human-readable text. Security researchers analyze network traffic and need to recognize control characters in hex dumps. Computer science students study ASCII when learning about character encoding, bitwise operations, and data representation. No matter your field, having a quick ASCII reference at hand saves time.

Frequently asked questions

What is an ASCII table and why do I need one?

An ASCII table lists all 128 standard ASCII characters with their decimal, hexadecimal, octal, binary, and HTML entity codes. Developers use it constantly when writing parsers, debugging protocols, handling serial communication, or working with character encodings.

What is the difference between ASCII and Unicode?

ASCII is a 7-bit character set with 128 characters (0–127), covering basic English letters, digits, punctuation, and control codes. Unicode is a much larger standard that supports over 149,000 characters across virtually every writing system in the world, including emoji. ASCII is a strict subset of Unicode.

How do I convert a character to its ASCII decimal value?

Use the Converter tab, select 'Character' as the input type, and type any single character. The tool instantly shows the decimal, hex, octal, binary, and HTML entity representations.

What are control characters in ASCII?

Control characters are the first 32 codes (0–31) plus DEL (127). They are non-printable and used for device control rather than display — for example, NUL (0), TAB (9), LF (10), CR (13), and ESC (27). In the table view they are highlighted and labeled with their abbreviated names.

Why is ASCII 7-bit and not 8-bit?

The original ASCII standard was defined as 7-bit (128 characters) because that was sufficient for English text and telecommunications equipment of the 1960s used 7-bit channels. Extended ASCII variants (like ISO-8859-1 and Windows-1252) later used the 8th bit to add 128 more characters for other Western European languages.

Does this tool show extended ASCII (128–255)?

This tool focuses on the standard 7-bit ASCII set (0–127) because it is the only universally agreed-upon subset. Extended ASCII (128–255) varies by code page and encoding (e.g., Latin-1 vs. Windows-1252), so a single table would be misleading.

Is my input sent to a server?

No. All table rendering and conversions happen entirely in your browser. Your characters and search queries are never transmitted, logged, or stored on any server.

What is the HTML entity column for?

The HTML entity column shows the numeric character reference (e.g., &#65; for 'A'). These are useful when you need to embed special characters in HTML without ambiguity, especially when the raw character might be interpreted as markup.

How do programmers use ASCII codes in practice?

Developers use ASCII codes when parsing text files, serializing data, writing regex for control characters, debugging network protocols, working with escape sequences in strings, and handling keyboard input events where key codes map to ASCII values.

Part of our growing tool belt — all client-side, all free.