ASCII Converter

ASCII Converter

Convert between text and ASCII values in decimal, hex, binary, or octal

Format:
Text Input
ASCII Output (decimal)
Output will appear here...

Full ASCII Table (0–127)

The complete ASCII character set with decimal, hexadecimal, binary, and character representations.

DecHexBinaryOctCharDescription
00000000000000NUL (Null)
10100000001001SOH (Start of Heading)
20200000010002STX (Start of Text)
30300000011003ETX (End of Text)
40400000100004EOT (End of Transmission)
50500000101005ENQ (Enquiry)
60600000110006ACK (Acknowledge)
70700000111007BEL (Bell)
80800001000010BS (Backspace)
90900001001011HT (Horizontal Tab)
100A00001010012LF (Line Feed)
110B00001011013VT (Vertical Tab)
120C00001100014FF (Form Feed)
130D00001101015CR (Carriage Return)
140E00001110016SO (Shift Out)
150F00001111017SI (Shift In)
161000010000020DLE (Data Link Escape)
171100010001021DC1 (Device Control 1)
181200010010022DC2 (Device Control 2)
191300010011023DC3 (Device Control 3)
201400010100024DC4 (Device Control 4)
211500010101025NAK (Negative Acknowledge)
221600010110026SYN (Synchronous Idle)
231700010111027ETB (End of Transmission Block)
241800011000030CAN (Cancel)
251900011001031EM (End of Medium)
261A00011010032SUB (Substitute)
271B00011011033ESC (Escape)
281C00011100034FS (File Separator)
291D00011101035GS (Group Separator)
301E00011110036RS (Record Separator)
311F00011111037US (Unit Separator)
322000100000040 Space
332100100001041!!
342200100010042""
352300100011043##
362400100100044$$
372500100101045%%
382600100110046&&
392700100111047''
402800101000050((
412900101001051))
422A00101010052**
432B00101011053++
442C00101100054,,
452D00101101055--
462E00101110056..
472F00101111057//
48300011000006000
49310011000106111
50320011001006222
51330011001106333
52340011010006444
53350011010106555
54360011011006666
55370011011106777
56380011100007088
57390011100107199
583A00111010072::
593B00111011073;;
603C00111100074<<
613D00111101075==
623E00111110076>>
633F00111111077??
644001000000100@@
654101000001101AA
664201000010102BB
674301000011103CC
684401000100104DD
694501000101105EE
704601000110106FF
714701000111107GG
724801001000110HH
734901001001111II
744A01001010112JJ
754B01001011113KK
764C01001100114LL
774D01001101115MM
784E01001110116NN
794F01001111117OO
805001010000120PP
815101010001121QQ
825201010010122RR
835301010011123SS
845401010100124TT
855501010101125UU
865601010110126VV
875701010111127WW
885801011000130XX
895901011001131YY
905A01011010132ZZ
915B01011011133[[
925C01011100134\\
935D01011101135]]
945E01011110136^^
955F01011111137__
966001100000140``
976101100001141aa
986201100010142bb
996301100011143cc
1006401100100144dd
1016501100101145ee
1026601100110146ff
1036701100111147gg
1046801101000150hh
1056901101001151ii
1066A01101010152jj
1076B01101011153kk
1086C01101100154ll
1096D01101101155mm
1106E01101110156nn
1116F01101111157oo
1127001110000160pp
1137101110001161qq
1147201110010162rr
1157301110011163ss
1167401110100164tt
1177501110101165uu
1187601110110166vv
1197701110111167ww
1207801111000170xx
1217901111001171yy
1227A01111010172zz
1237B01111011173{{
1247C01111100174||
1257D01111101175}}
1267E01111110176~~
1277F01111111177DEL (Delete)

Free Online ASCII Converter

Convert any text to ASCII codes or ASCII values back to readable text instantly. Our tool supports decimal, hexadecimal, binary, and octal representations. Everything runs in your browser — your data never leaves your device.

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric values to letters, digits, punctuation marks, and control characters. Developed in the early 1960s and published as a standard in 1963, ASCII was one of the first widely adopted character encoding systems in computing.

The standard ASCII table defines 128 characters: 33 non-printing control characters (0–31 and 127) and 95 printable characters (32–126) including uppercase and lowercase letters, digits 0 through 9, punctuation, and the space character. Each character is represented by a 7-bit binary number, allowing values from 0 to 127.

History of ASCII

ASCII was developed by a committee of the American Standards Association (now ANSI) beginning in 1960. The first edition was published in 1963, with major revisions in 1967 and 1986. Before ASCII, different computer manufacturers used incompatible character encoding schemes like EBCDIC (used by IBM mainframes), making data exchange between systems difficult.

ASCII became the dominant encoding for the early internet and remains the foundation of modern character encoding systems. Its 7-bit design reflected the hardware constraints of 1960s telecommunications, where the eighth bit was often reserved for error checking (parity bit).

Character Encoding Explained

Character encoding is the process of mapping characters (letters, symbols, control codes) to numeric values that computers can store and process. When you type the letter “A” on your keyboard, the computer stores the number 65 (its ASCII code). When displaying text, the computer reverses this mapping to render the correct glyph.

In JavaScript, you can use charCodeAt() to get the numeric code of a character and String.fromCharCode() to convert a numeric code back to a character. These are the same functions this tool uses under the hood.

ASCII vs Unicode

FeatureASCIIUnicode
Characters128 (7-bit)149,813+ (up to 21-bit)
LanguagesEnglish onlyAll modern & historic scripts
Encoding size7 bits per character8–32 bits (varies by encoding)
Common encodingsUS-ASCIIUTF-8, UTF-16, UTF-32
CompatibilitySubset of UnicodeSuperset of ASCII
Emoji supportNoYes

The first 128 Unicode code points are identical to ASCII, meaning every valid ASCII text is also valid UTF-8. Unicode extends far beyond ASCII to support characters from virtually every writing system in the world, as well as emoji, mathematical symbols, and historical scripts.

Frequently Asked Questions

An ASCII code is a numeric value assigned to a character by the ASCII standard. For example, the letter 'A' has ASCII code 65 (decimal), 41 (hex), or 01000001 (binary). ASCII defines 128 characters total, including letters, digits, punctuation, and control characters.

Enter your text in the input field with 'Text → ASCII' mode selected. Each character is converted to its numeric ASCII code using the charCodeAt() function. Choose your preferred format (decimal, hex, binary, or octal) to see the values in that number system.

ASCII uses 7 bits to represent 128 characters (English only). UTF-8 is a variable-length encoding that uses 1–4 bytes per character and can represent over 149,000 characters from all languages. The first 128 UTF-8 characters are identical to ASCII, making ASCII a subset of UTF-8.

Control characters (codes 0–31 and 127) are non-printing characters used for text formatting and device control. Examples include Null (0), Tab (9), Line Feed (10), Carriage Return (13), and Escape (27). They were originally used to control teletypes and terminals.

Yes. All conversions happen entirely in your browser using JavaScript's built-in charCodeAt() and String.fromCharCode() functions. No data is sent to any server — everything runs 100% client-side.

This tool uses JavaScript's charCodeAt(), which returns the UTF-16 code unit. For standard ASCII characters (0–127), the values are identical. Characters outside the ASCII range (like accented letters or emoji) will return their Unicode code point, which extends beyond the 0–127 ASCII range.

ASCII uses 7 bits to encode characters, which allows for 2⁷ = 128 unique values (0–127). This was a practical choice for 1960s hardware. The 8th bit was often used as a parity bit for error detection during serial data transmission.

The space character has ASCII value 32 (decimal), 20 (hex), or 00100000 (binary). It is the first printable character in the ASCII table, though it renders as a blank space. Characters 0–31 are non-printing control characters.