ASCII to Decimal Converter
Convert ASCII text to decimal numbers online. Each character becomes its decimal code point value.
Paste any text and get the decimal code point for every character — "A" becomes 65, "a" is 97, space is 32. Pick a separator (space, comma, newline, or none), toggle the 0d prefix if you want it, and hit Swap to flip decimals back into text. And everything runs in your browser. Nothing gets uploaded.
How to Use
Enter your text in the left panel. You can type, paste, or click Sample for example text.
Choose a separator (space, comma, newline, or none) and optionally enable the 0d prefix.
Click Convert or leave Live mode enabled for real-time conversion as you type.
Copy, Download, or Swap the result. Swap converts decimal values back to ASCII text.
Frequently Asked Questions
What is an ASCII decimal value?
Every ASCII character has a corresponding decimal number (code point). For example, the letter "A" is 65, "a" is 97, the space character is 32, and "0" (the digit) is 48. The standard ASCII table defines 128 characters (0-127), including control characters, digits, uppercase and lowercase letters, and punctuation symbols.
How does this tool handle non-ASCII characters?
Characters outside the standard ASCII range (code points 0-127) are still converted using their Unicode code point value. For example, the euro sign has code point 8364. This makes the tool useful for inspecting any text, though the values above 127 are technically Unicode rather than ASCII.
What does the 0d prefix mean?
The "0d" prefix is a notation that explicitly marks a number as decimal (base-10), similar to how "0x" marks hexadecimal and "0b" marks binary. Enabling it makes each output value appear as "0d72" instead of just "72", which can help distinguish decimal values from other number formats in technical contexts.
Can I convert decimal numbers back to ASCII text?
Yes. Click the Swap button to switch the output into the input panel, which automatically changes the mode to decimal-to-ASCII. The tool will parse the decimal values (separated by spaces, commas, or newlines) and convert them back to the corresponding characters.
When would I need to convert ASCII to decimal?
Common use cases include debugging communication protocols, analyzing character encodings, working with serial data, creating lookup tables for embedded systems, understanding how text is stored in memory, and educational purposes when learning about character encoding. It is also useful for data entry in systems that require numeric character codes.