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.
DEC
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.
A↔65
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.
OK
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.
-
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.
-
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.
-
Read the text result: The decoded text appears immediately. The note under the result shows which format was detected and flags any invalid values.
-
Copy or download the result: Use Copy result to paste the text anywhere, or Download .txt to save it as a file.
-
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 |
| H | 72 | 48 | 01001000 | 110 |
| e | 101 | 65 | 01100101 | 145 |
| l | 108 | 6C | 01101100 | 154 |
| l | 108 | 6C | 01101100 | 154 |
| o | 111 | 6F | 01101111 | 157 |
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 |
| 0 | 00 | NUL | Null character |
| 7 | 07 | BEL | Bell or alert |
| 8 | 08 | BS | Backspace |
| 9 | 09 | HT | Horizontal tab |
| 10 | 0A | LF | Line feed (new line) |
| 13 | 0D | CR | Carriage return |
| 27 | 1B | ESC | Escape |
| 127 | 7F | DEL | Delete |
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.
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 He.
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 |
| JavaScript | String.fromCharCode(65) | 'A'.charCodeAt(0) |
| Python | chr(65) | ord('A') |
| PHP | chr(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.