Skip to content

ASCII to Text Converter

Decode ASCII codes into readable text instantly. Works with decimal, hex, binary and octal, auto-detects your format, and converts text back to ASCII too.

  • 100% free
  • No Signup
  • Instant results

Copied
ADVERTISEMENT
Demo Ad 728 x 90

How to convert ASCII to text

  1. 1

    Paste your codes

    Add decimal, hex, binary or octal ASCII codes separated by spaces, commas or new lines.

  2. 2

    Pick the format

    Leave it on Auto or choose the exact number format yourself.

  3. 3

    Copy the text

    Your decoded text appears instantly. Copy it or download it as a file.

ASCII CONVERSION GUIDE

ASCII to Text Converter – Decode ASCII Codes to Text Online Free

Looking for a free ASCII to text converter that turns number codes into readable words in one click? Our ASCII decoder lets you convert ASCII code to text online from decimal, hexadecimal, binary or octal values, with no signup, no software to install and no limits on how many times you use it. Paste a list such as 72 101 108 108 111, a hex string such as 48 65 6C 6C 6F, or a binary string such as 01001000 01100101 01101100 01101100 01101111, and the tool instantly shows the decoded message. It also works in the other direction as a text to ASCII converter, so you can turn any sentence into ASCII codes in your favorite number system. The converter auto-detects your input format, understands common prefixes such as 0x, \x and &#, and tells you if any value in your list is invalid. Whether you are a programmer debugging character codes, a student learning how computers store text, a puzzle solver working on a cipher or a CTF challenge, or someone who simply received a message written in numbers, this ASCII translator gives you a fast and accurate answer.

This free ASCII translator was built for students, programmers, puzzle solvers and anyone who has met a string of numbers such as 72 101 108 108 111 and wondered what it says. Whether you are checking a homework answer, decoding a CTF challenge, reading data from a log file or learning how computers store letters, an online ASCII decoder gives you the answer instantly. It runs in your browser on any device, with no software to install, and you can change the case of the result or count its words and characters afterwards.

Decimal, Hex, Binary and Octal

Convert decimal ASCII to text, hex to text, binary to text and octal to text in one tool. Choose a format yourself or leave it on Auto and let the converter detect it. It handles spaces, commas, semicolons and new lines between values, and even long strings without separators for hex and binary.

Text to ASCII Converter Too

Switch to Text to ASCII to convert any word, sentence or paragraph into ASCII codes. Pick decimal, hex, binary or octal, choose a separator, and add an optional 0x prefix for hex. One click on Swap and reverse flips your result back into the input.

Clear Errors and Live Stats

See how many codes you entered, how many characters were produced and how many values were invalid. If a value cannot be decoded, the converter tells you which one, so you can fix a typo instead of guessing why the result looks wrong.

How to Convert ASCII Code to Text (Step by Step)

You can decode ASCII by hand with a lookup table, but it is slow and easy to get wrong for anything longer than a few characters. With this online ASCII to text converter the whole process takes a few seconds. Follow these steps to decode any list of ASCII values.

  1. Paste your ASCII codes: Add your numbers to the input box. Separate them with spaces, commas or new lines. Hex and binary values can also be written as one continuous string.
  2. Choose the number format: Leave Auto selected to let the tool detect binary, hex or decimal, or pick Decimal, Hex, Binary or Octal to be exact.
  3. Read the text result: The decoded text appears immediately. The note under the result shows which format was detected and flags any invalid values.
  4. Copy or download the result: Use Copy result to paste the text anywhere, or Download .txt to save it as a file.
  5. Reverse it if you need to: Click Swap and reverse to move the result into the input and convert it back to codes with the Text to ASCII mode.

Everything updates as you type, so you can paste, edit and test different formats without pressing a convert button. If the output looks like nonsense, the most common cause is the wrong number format, so try the other options.

What Is ASCII? A Simple Explanation

ASCII stands for American Standard Code for Information Interchange. It is one of the oldest and most important character encodings in computing, developed in the early 1960s so that different machines could exchange text in a common way. ASCII assigns a number from 0 to 127 to each letter, digit, punctuation mark and control signal. For example, the capital letter A is 65, the lowercase letter a is 97, the digit 0 is 48 and the space character is 32. Computers store and transmit these numbers, and software turns them back into the characters you see on screen.

Standard ASCII uses 7 bits, which gives exactly 128 possible values. These split into two groups. Codes 0 to 31 and code 127 are 33 control characters that were designed for teletypes and terminals, such as line feed, carriage return and tab. Codes 32 to 126 are the 95 printable characters: the space, the digits, uppercase and lowercase English letters and common symbols. Because ASCII is so simple and so widely supported, it remains the foundation of modern text encodings, including UTF-8.

  • Uppercase letters: A to Z are codes 65 to 90.
  • Lowercase letters: a to z are codes 97 to 122, exactly 32 higher than their uppercase versions.
  • Digits: 0 to 9 are codes 48 to 57.
  • Space: Code 32 is the space character.
  • Control codes: Codes 0 to 31 and 127 do not display as visible symbols.

ASCII Conversion Example: Hello in Decimal, Hex, Binary and Octal

The same text can be written in four number systems. Each letter has one ASCII value, and the number system only changes how that value is written. The table below shows the word Hello, which is a handy reference when you want to check that your input format is right.

The word “Hello” as ASCII codes
Character Decimal Hex Binary Octal
H724801001000110
e1016501100101145
l1086C01101100154
l1086C01101100154
o1116F01101111157

Notice that the digit-only hex value 65 for the letter e looks identical to decimal 65, which is the letter A. When your codes contain only digits, the converter cannot always tell hex from decimal, so select the format manually whenever the result is not what you expect.

ASCII Control Characters: What Codes 0 to 31 Mean

Not every ASCII code produces a visible letter. The control characters were originally commands for printers and terminals, and several of them are still used every day. When you decode a list that includes these values, you may see line breaks, tabs or invisible characters in the output instead of symbols. The table below lists the control codes you are most likely to meet.

Common ASCII control characters
Decimal Hex Abbreviation Meaning
000NULNull character
707BELBell or alert
808BSBackspace
909HTHorizontal tab
100ALFLine feed (new line)
130DCRCarriage return
271BESCEscape
1277FDELDelete

Windows text files usually end a line with the pair 13 10 (carriage return followed by line feed), while Linux and macOS use 10 alone. If your decoded text looks like it has extra blank lines or odd breaks, check whether your codes include these values.

ASCII Table: Printable Characters 32 to 126

This reference table lists all 95 printable ASCII characters with their decimal, hexadecimal, binary and octal values. Use it to look up a single character, check a conversion by hand or learn the patterns, such as digits starting at 48 and uppercase letters starting at 65.

Printable ASCII characters (32 to 126)
Decimal Hex Binary Octal Character
32 20 00100000 040 Space
33 21 00100001 041 !
34 22 00100010 042 "
35 23 00100011 043 #
36 24 00100100 044 $
37 25 00100101 045 %
38 26 00100110 046 &
39 27 00100111 047 '
40 28 00101000 050 (
41 29 00101001 051 )
42 2A 00101010 052 *
43 2B 00101011 053 +
44 2C 00101100 054 ,
45 2D 00101101 055 -
46 2E 00101110 056 .
47 2F 00101111 057 /
48 30 00110000 060 0
49 31 00110001 061 1
50 32 00110010 062 2
51 33 00110011 063 3
52 34 00110100 064 4
53 35 00110101 065 5
54 36 00110110 066 6
55 37 00110111 067 7
56 38 00111000 070 8
57 39 00111001 071 9
58 3A 00111010 072 :
59 3B 00111011 073 ;
60 3C 00111100 074 <
61 3D 00111101 075 =
62 3E 00111110 076 >
63 3F 00111111 077 ?
64 40 01000000 100 @
65 41 01000001 101 A
66 42 01000010 102 B
67 43 01000011 103 C
68 44 01000100 104 D
69 45 01000101 105 E
70 46 01000110 106 F
71 47 01000111 107 G
72 48 01001000 110 H
73 49 01001001 111 I
74 4A 01001010 112 J
75 4B 01001011 113 K
76 4C 01001100 114 L
77 4D 01001101 115 M
78 4E 01001110 116 N
79 4F 01001111 117 O
80 50 01010000 120 P
81 51 01010001 121 Q
82 52 01010010 122 R
83 53 01010011 123 S
84 54 01010100 124 T
85 55 01010101 125 U
86 56 01010110 126 V
87 57 01010111 127 W
88 58 01011000 130 X
89 59 01011001 131 Y
90 5A 01011010 132 Z
91 5B 01011011 133 [
92 5C 01011100 134 \
93 5D 01011101 135 ]
94 5E 01011110 136 ^
95 5F 01011111 137 _
96 60 01100000 140 `
97 61 01100001 141 a
98 62 01100010 142 b
99 63 01100011 143 c
100 64 01100100 144 d
101 65 01100101 145 e
102 66 01100110 146 f
103 67 01100111 147 g
104 68 01101000 150 h
105 69 01101001 151 i
106 6A 01101010 152 j
107 6B 01101011 153 k
108 6C 01101100 154 l
109 6D 01101101 155 m
110 6E 01101110 156 n
111 6F 01101111 157 o
112 70 01110000 160 p
113 71 01110001 161 q
114 72 01110010 162 r
115 73 01110011 163 s
116 74 01110100 164 t
117 75 01110101 165 u
118 76 01110110 166 v
119 77 01110111 167 w
120 78 01111000 170 x
121 79 01111001 171 y
122 7A 01111010 172 z
123 7B 01111011 173 {
124 7C 01111100 174 |
125 7D 01111101 175 }
126 7E 01111110 176 ~

ASCII vs Extended ASCII vs Unicode vs UTF-8

People often mix up these terms, but they describe different things. ASCII covers 128 characters and is limited to basic English text. Extended ASCII is an informal name for 8-bit encodings that add 128 more characters in the range 128 to 255, but there is no single extended ASCII, because code pages such as ISO 8859-1 and Windows-1252 use those slots differently. Unicode is a universal standard that gives a unique number, called a code point, to characters from nearly every writing system, as well as symbols and emoji. UTF-8 is the most common way to store Unicode, and its first 128 values are identical to ASCII, which is why ASCII text is also valid UTF-8.

ASCII compared with related encodings
Encoding Value range Characters Best known for
ASCII 0 to 127 128 Basic English letters, digits and symbols
Extended ASCII 0 to 255 256 Accented letters, depending on the code page
Unicode 0 to 1,114,111 Over 150,000 assigned All languages, symbols and emoji
UTF-8 1 to 4 bytes per character All of Unicode The dominant encoding on the web

This converter focuses on standard ASCII values from 0 to 127. If you enter a value above 127, it is decoded as the matching Unicode character. For example, 233 becomes the letter é. In the Text to ASCII direction, characters outside basic ASCII are converted using their Unicode code point, so the result may contain numbers above 127.

Convert ASCII Hex, Binary and Octal to Text

ASCII codes are rarely written only in decimal. Developers and security researchers meet them as hexadecimal in memory dumps and network captures, as binary in computer science lessons and as octal in older Unix tools. This converter understands all four forms and strips the usual decoration for you.

  • Hex to text: Accepts values like 48 65 6C 6C 6F, 0x48 0x65, \x48\x65 and %48%65, and continuous strings such as 48656C6C6F.
  • Binary to text: Accepts groups of 7 or 8 bits like 01001000 01100101, and continuous binary strings that are split into 8-bit bytes.
  • Octal to text: Accepts values like 110 145 154 154 157, with optional backslashes or a 0o prefix.
  • Decimal to text: Accepts values like 72 101 108 108 111, and HTML numeric entities like &#72;&#101;.

ASCII Functions in Popular Programming Languages

If you work with code, you will often need to convert between characters and numbers directly in your program. Every major language has a short built-in way to do it. The table below shows the most common functions so you can handle conversions in your own scripts and use this tool to check the results.

Convert between characters and ASCII codes in code
Language Code to character Character to code
JavaScriptString.fromCharCode(65)'A'.charCodeAt(0)
Pythonchr(65)ord('A')
PHPchr(65)ord('A')
Java(char) 65(int) 'A'
C and C++(char) 65(int) 'A'

Common Uses for an ASCII to Text Converter

Decoding ASCII is useful in many everyday and professional situations. Here are some of the most popular reasons people use an ASCII decoder.

  • Programming and debugging: Check what a list of character codes in your logs or arrays actually says.
  • Learning computer science: See how letters become numbers and bits, which is a core idea in many beginner courses.
  • Puzzles, CTFs and geocaching: Decode hidden messages that are written as numbers, a common trick in escape rooms and capture the flag events.
  • Network and data analysis: Read hex bytes from packet captures, serial monitors and hex editors as readable text.
  • Web and HTML work: Convert numeric HTML entities and percent-encoded values into the characters they stand for.
  • Embedded and hardware projects: Make sense of values printed by microcontrollers and serial devices.

Troubleshooting: Why Your ASCII Conversion Looks Wrong

Most problems come from a few simple causes, and all of them are easy to fix once you know what to look for. If your result is empty, strange or full of symbols, check the following points before you try again.

  • Wrong number format: Digits-only hex such as 48 65 6C 6C 6F can look like decimal. Select Hex manually instead of Auto.
  • Missing separators in decimal: Decimal values need spaces, commas or new lines, because 72101 cannot be split reliably.
  • Values above 127: These are outside standard ASCII and are decoded as Unicode, which may differ from the code page your source used.
  • Typos and invalid digits: A binary value with a 2, or a hex value with a G, is invalid. The note under the result will list the first problem values.
  • Not ASCII at all: Strings such as Base64 or URL-encoded text are different encodings and need a different decoder.

Free ASCII to Text Converter for Any Device, No Software Needed

Our online ASCII to text converter runs in your web browser, so you can decode ASCII on Windows, Mac, Linux, Android and iPhone without installing anything. Whether you search for an ASCII decoder for mobile, a binary to text converter for PC or a quick hex to text tool for Mac, the steps are the same in any modern browser. Open the page, paste your codes, read the result and copy it. There is no account to create and no limit on use, and your text is never uploaded.

It is also a handy companion to other text tools. Decode a message here, then use the other free text tools on our site to count words, change case or clean up the result.

Is It Safe to Use an Online ASCII Converter?

Privacy matters, especially when your codes come from a private message, a log file or an assignment. This converter does all of its decoding inside your browser, so your input is never uploaded or stored on a server, and it disappears when you close or refresh the page. As a general habit with any online tool, avoid pasting passwords or highly sensitive information unless you are comfortable with how it is handled.

More Free Text Tools You May Need

Decoding codes is often one step in a bigger text workflow. These related free tools make the rest of the job easier:

  • Case Converter to switch decoded text between UPPERCASE, lowercase and Title Case.
  • Word Counter to count the words and characters of the decoded text.
  • Text Diff Checker to compare two decoded messages and see every difference.

Free Online ASCII Translator: Fast, Accurate and Easy

Our free ASCII to text converter was built to make decoding simple for everyone. If you want an ASCII code translator that supports decimal, hex, binary and octal, auto-detects your format, converts text to ASCII and shows clear errors, this page gives you everything in one place. Paste your codes, check the result and move on with your work.

Ready to try it? Scroll back up, paste your ASCII codes and convert them to text now. If you also need to work with other files and formats, explore the other free tools on our site.

ADVERTISEMENT
Demo Ad 300 x 250
COMMON QUESTIONS

ASCII to Text Converter FAQ

Quick answers about decoding ASCII codes in decimal, hex, binary and octal, ASCII versus Unicode, and fixing wrong characters.

How do I convert ASCII code to text?

Paste your ASCII codes into the input box, separated by spaces, commas or new lines, and the decoded text appears instantly. Leave the format on Auto or choose decimal, hex, binary or octal. Then copy the result or download it as a text file.

Can I convert hex, binary and octal to text as well?

Yes. The converter supports decimal, hexadecimal, binary and octal. It also accepts common prefixes such as 0x, \x and %, and it can split continuous hex or binary strings into bytes. If your codes contain only digits, choose the format manually because decimal and hex can look the same.

What are the ASCII codes for A, a, 0 and space?

The uppercase letter A is 65 (hex 41), the lowercase letter a is 97 (hex 61), the digit 0 is 48 (hex 30) and the space character is 32 (hex 20). Uppercase letters run from 65 to 90, and lowercase letters run from 97 to 122.

What is the difference between ASCII and Unicode?

ASCII defines 128 characters for basic English text. Unicode is a much larger standard that covers almost every language, plus symbols and emoji. UTF-8, the most common Unicode encoding, keeps the first 128 values identical to ASCII, so plain ASCII text is also valid UTF-8.

Why does my ASCII conversion show wrong characters or invalid values?

The usual reasons are the wrong number format, missing separators in decimal lists, typos such as a 2 in binary, or values above 127 that fall outside standard ASCII. The note under the result lists the first invalid values, so you can fix them and try again.

Can I convert text to ASCII with this tool?

Yes. Switch the conversion to Text to ASCII, type or paste your text, and choose decimal, hex, binary or octal. You can pick a separator and add a 0x prefix for hex. Characters outside basic ASCII are converted using their Unicode code point.

Is this ASCII to text converter free and private?

Yes. The tool is free, needs no signup and has no usage limit. Your text and codes are converted in your browser, so what you type is not uploaded to our servers.

ADVERTISEMENT
Demo Ad 320 x 50