We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Free online tool for two-way conversion between text and ASCII (decimal) codes. Ideal for programming, debugging, and data transmission.
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
Use this page to turn text into space-separated decimal values and to turn a decimal sequence back into text. For characters in the ASCII set, the values match the standard table: A is 65, and Hello becomes 72 101 108 108 111. The reverse sequence returns Hello. This is character-code conversion, not encryption.
ASCII is a 7-bit code with values 0–127. It includes control codes as well as visible English letters, digits, and punctuation. The converter follows a broader JavaScript string rule: it reads each UTF-16 code unit. As a result, non-ASCII text also produces numbers, but those numbers are not standard ASCII codes. A supplementary character such as many emoji is represented by a pair of code units and therefore produces two values.
| Text or code units | Decimal output or decoded result | What to notice |
|---|---|---|
AZ09 | 65 90 48 57 | Digits are characters too; “0” is not numeric zero. |
A B | 65 32 66 | A space has its own value. |
9 10 13 | Tab, line feed, carriage return | These control characters may affect layout instead of appearing as glyphs. |
😀 | 55357 56832 | Two UTF-16 code units form one displayed character. |
The ASCII table defines the standard range, while the broader values above come from the string representation used by this converter. Do not label values above 127 “extended ASCII”: that phrase refers to varying conventions and does not describe this conversion rule.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Select encoding for text-to-decimal conversion or decoding when you already have decimal values.
Encoding reads the text as entered. For decoding, put one decimal value per item and separate items with whitespace, such as 72 101 108 108 111. Spaces, tabs, and line breaks can separate values.
The result updates from the entered data. Copy it when needed, then reverse the direction to check a sequence against its text representation.
When investigating line endings, try a short sample with a line feed or carriage return. Since control codes can be invisible, compare the resulting numbers instead of relying only on how the decoded text looks.
Use cases
See how the tool fits into real work and everyday tasks.
A developer comparing a short protocol field or log entry can encode it to expose spaces, tabs, and line breaks as separate values.
A student can enter a few letters and digits, then compare the decimal values with the standard’s code table. Keep the distinction between ASCII values and larger UTF-16 code-unit values.
A support team can exchange a short whitespace-separated sequence when discussing a text sample, then decode it to check which characters it represents.
Q&A
Find concise answers to common questions and confusing cases.
No. It accepts text for encoding and whitespace-separated decimal numbers for decoding. Convert binary or hexadecimal values to decimal first if you want to use this page.
You can enter them, but the resulting values are UTF-16 code units, not standard ASCII. Some displayed characters, including supplementary Unicode characters, produce more than one number.
Some values represent controls such as tab, line feed, or carriage return. They can move text or start a new line instead of displaying a printable symbol.
No. Decimal character codes are a readable representation. They provide no secrecy or access control.
Notes
Review scope, result limitations, and important precautions before use.
For standard ASCII, use integer values from 0 through 127. The decoder itself does not enforce the ASCII range or strictly validate each token; malformed or out-of-range input can yield unexpected or invisible output. Use clean decimal integers separated by whitespace and verify important data against the format or protocol that defines it. This page displays code-unit values; it does not produce UTF-8 bytes, hexadecimal bytes, or binary output.
Related
Discover related tools, collections, and available API capabilities.