Text to ASCII Converter

Convert text to ASCII codes in decimal, hexadecimal, binary, or octal. You can also convert ASCII codes back to text instantly.

Conversion

Input Text

ASCII Output

ASCII supports codes 0–127. Select UTF-8 to convert accented letters, emojis, and other Unicode characters.

0 Input Characters
0 Code Values
0 Output Characters

Character Breakdown

See the numerical values for each character or encoded byte.

Character Decimal Hex Binary Octal
Enter text above to see the character breakdown.

How to Convert Text to ASCII

To convert text to ASCII, enter or paste your text into the input box above. The converter automatically displays the corresponding numerical codes. Choose decimal, hexadecimal, binary, or octal from the Number Format menu.

For example, the word Hello converts to the following decimal ASCII values:

Input
Hello
ASCII Decimal
72 101 108 108 111

Each letter has its own ASCII value. Uppercase H is 72, lowercase e is 101, and lowercase l is 108. Spaces, punctuation marks, and numbers also have ASCII values.

How to Convert ASCII to Text

Select ASCII to Text to reverse the conversion. Enter the numerical ASCII codes, select the correct number format, and the tool will decode them into text.

For example, enter 72 101 108 108 111 with Decimal selected to get Hello.

When using hexadecimal, you can enter separated values such as 48 65 6C 6C 6F or a continuous hexadecimal string such as 48656C6C6F. The converter also supports hexadecimal byte values prefixed with 0x.

ASCII Decimal, Hexadecimal, Binary, and Octal

ASCII codes can be written in several number systems. The underlying character stays the same; only the numerical representation changes.

Format Letter A Letter a
Decimal 65 97
Hexadecimal 41 61
Binary 01000001 01100001
Octal 101 141

Text to ASCII Decimal

Decimal is the most familiar way to display ASCII codes. It uses base 10 numbers from 0 to 127. For example, uppercase A is 65, uppercase B is 66, and the space character is 32.

Text to ASCII Hexadecimal

Hexadecimal uses base 16 and represents values with digits 0–9 and letters A–F. It is commonly used in programming, debugging, and examining encoded data. The word Hi becomes 48 69 in ASCII hexadecimal.

Text to ASCII Binary

Binary uses only 0 and 1. This converter displays each ASCII code using eight bits, including leading zeros. For example, the letter A becomes 01000001.

Standard ASCII is a 7-bit encoding, but displaying ASCII values as eight-bit binary groups is common when working with bytes.

Text to ASCII Octal

Octal uses base 8 and digits 0–7. The decimal ASCII value 65, which represents uppercase A, is 101 in octal. Octal notation is sometimes used in programming and older computing systems.

ASCII vs. Unicode vs. UTF-8

ASCII is a character encoding standard containing 128 values, numbered 0 through 127. These include English letters, digits, punctuation, whitespace, and control characters.

Unicode supports a much larger range of characters, including accented letters, symbols, and emojis. UTF-8 is a Unicode encoding that uses one to four bytes for each Unicode code point.

For example, the letter é is not part of standard ASCII. In UTF-8, it is represented by two hexadecimal bytes: C3 A9.

Select UTF-8 in the Encoding menu when you need to convert characters outside the ASCII range. For more detailed character information, use our Character Identifier.

ASCII Reference Table (0–127)

The standard ASCII table contains 128 codes. Values 0–31 and 127 represent control characters. Values 32–126 include spaces, punctuation, numbers, and English letters.

Use the complete reference table below to look up a character's decimal and hexadecimal ASCII values.

View Complete ASCII Table (0–127)
Standard ASCII Character Codes
Decimal Hex Character / Name
000NUL - Null
101SOH - Start of Heading
202STX - Start of Text
303ETX - End of Text
404EOT - End of Transmission
505ENQ - Enquiry
606ACK - Acknowledge
707BEL - Bell
808BS - Backspace
909HT - Horizontal Tab
100ALF - Line Feed
110BVT - Vertical Tab
120CFF - Form Feed
130DCR - Carriage Return
140ESO - Shift Out
150FSI - Shift In
1610DLE - Data Link Escape
1711DC1 - Device Control 1
1812DC2 - Device Control 2
1913DC3 - Device Control 3
2014DC4 - Device Control 4
2115NAK - Negative Acknowledge
2216SYN - Synchronous Idle
2317ETB - End of Transmission Block
2418CAN - Cancel
2519EM - End of Medium
261ASUB - Substitute
271BESC - Escape
281CFS - File Separator
291DGS - Group Separator
301ERS - Record Separator
311FUS - Unit Separator
3220Space
3321!
3422"
3523#
3624$
3725%
3826&
3927'
4028(
4129)
422A*
432B+
442C,
452D-
462E.
472F/
48300
49311
50322
51333
52344
53355
54366
55377
56388
57399
583A:
593B;
603C<
613D=
623E>
633F?
6440@
6541A
6642B
6743C
6844D
6945E
7046F
7147G
7248H
7349I
744AJ
754BK
764CL
774DM
784EN
794FO
8050P
8151Q
8252R
8353S
8454T
8555U
8656V
8757W
8858X
8959Y
905AZ
915B[
925C\
935D]
945E^
955F_
9660`
9761a
9862b
9963c
10064d
10165e
10266f
10367g
10468h
10569i
1066Aj
1076Bk
1086Cl
1096Dm
1106En
1116Fo
11270p
11371q
11472r
11573s
11674t
11775u
11876v
11977w
12078x
12179y
1227Az
1237B{
1247C|
1257D}
1267E~
1277FDEL - Delete

Frequently Asked Questions

What is a text to ASCII converter?

A text to ASCII converter changes characters into their corresponding numerical ASCII values. For example, the uppercase letter A has the decimal ASCII value 65.

How do I convert ASCII numbers to text?

Select ASCII to Text, choose the number format, and enter your ASCII codes. For example, decimal values 67 97 116 decode to Cat.

Can I convert hexadecimal ASCII to text?

Yes. Select ASCII to Text and choose Hexadecimal. Enter hexadecimal ASCII values such as 48 65 6C 6C 6F to decode them into readable text.

What is the ASCII code for a space?

The ASCII code for a space is 32 in decimal, 20 in hexadecimal, and 00100000 in eight-bit binary.

What is the difference between ASCII and UTF-8?

ASCII represents 128 character values, while UTF-8 can encode all valid Unicode characters. UTF-8 uses the same byte values as ASCII for characters 0–127, but uses additional bytes for other characters.

Can ASCII represent emojis?

No. Standard ASCII does not contain emoji characters. Select UTF-8 to convert emojis into their encoded byte values. You can also explore characters with our Emoji Copy and Paste tool.

Can I convert ASCII to binary?

Yes. Select Binary from the Number Format menu. Standard ASCII values are displayed as eight-bit binary groups. You can also use our Bit Counter to analyze text in bits.

Is this ASCII converter free?

Yes. The Text to ASCII Converter is free to use. The conversion runs directly in your browser, without requiring an account or uploading your text to a conversion server.

More Text and Character Tools

CharacterCounter.com offers other tools for working with text, characters, and encodings. Use our Character Counter to count characters and words, or our Unicode Detector to find characters outside the ASCII range.

For decorative text made with ASCII characters rather than numerical ASCII codes, use our ASCII Art Generator.