Character encoding tool

ASCII to Text Converter

Decode whitespace-separated decimal standard ASCII codes into their corresponding text characters.

ASCII code sequence

Enter decimal character codes

ASCII 0–127
Use decimal values from 0 to 127, separated by whitespace. Use code 32 to include a space in the decoded text.
Decoded output

Text from ASCII codes

Decoded text will appear here

Enter decimal ASCII codes separated by spaces or line breaks.

What Is ASCII to Text Conversion?

The ASCII to Text Converter turns a sequence of decimal character codes into text. Enter whole numbers from 0 to 127, separated by whitespace. The tool returns the decoded text and a count of the characters produced, including spaces and control characters.

ASCII is a character mapping: a number identifies a letter, digit, punctuation mark or control. This page decodes decimal standard ASCII only. It does not guess whether a sequence is hexadecimal or binary, identify file encodings or translate Unicode characters.

How to Decode Decimal ASCII Codes

  1. Paste your sequence into Decimal ASCII codes. Use decimal integers from 0 through 127, such as 68 for uppercase D.
  2. Separate adjacent codes with spaces, tabs or line breaks. Commas, decimal points, negative signs and hexadecimal prefixes are not accepted.
  3. Include the code 32 wherever you want a space in the decoded text. Whitespace between input codes only separates numbers; it does not add output spaces.
  4. Select Decode ASCII text. Read the main Decoded text result.
  5. Check Characters decoded. If the count exceeds the visible symbols, look for code 32 or a control code such as 10 rather than assuming conversion failed.

The submitted code sequence has a 10,000-character limit, including separators and digits. This is not a limit of 10,000 decoded letters. The form has one input format and no file upload, base selector or automatic encoding detection.

ASCII Character Mapping and Count

Decoded text = ASCII(code₁) followed by ASCII(code₂), …, ASCII(codeₙ)

Characters decoded = number of accepted code tokens

Read each token as a decimal integer, look up its ASCII character and join the characters in their original order. This is a table-based mapping rather than a multiplication formula. RFC 20’s ASCII table documents the seven-bit character set, including controls and space.

The controller validates every token before calling PHP’s chr function and appending its single-byte result. Although chr supports a wider byte range, this form restricts values to standard ASCII. The browser counts the returned characters; it does not count words or just visible letters.

A number’s written base matters. The token 41 is decimal forty-one and decodes to a closing parenthesis, not uppercase A. Hexadecimal 41 represents decimal 65, but this page has no hexadecimal input mode. Convert the base first if your source uses a different notation.

Code Sequence, Decoded Text and Character Count

Decimal ASCII codes
One string of whitespace-separated integers from 0 to 127. Each token requests one output character.
Decoded text
The characters joined in input order, shown in the main result card. Some characters are invisible.
Characters decoded
Count of characters in the returned ASCII string, including spaces, newlines and other controls. It is not a word count.

Decimal ASCII to Text Example

Illustrative example. Enter 68 97 116 97 32 52 50 33. The codes identify D, a, t, a, a space, 4, 2 and !, in that order.

The output is Data 42!, with 8 characters decoded. There are seven visible nonspace symbols and one space. The digits 52 and 50 each map to a character; together they produce the text 42 rather than a numerical calculation.

Remove code 32 and the result becomes Data42!, with seven characters. Adding extra spaces between the numeric tokens does not restore the missing output space. To request that space, put 32 back in the sequence.

Calculation check. The individual character values, an independent byte conversion and the endpoint agree. These are hypothetical message examples; the converter does not infer a message’s language or purpose.

Example comparison. The cases below use the same conversion rules.

Illustrative sequences: separators between numbers do not add output spaces
Decimal sequenceDecoded formCount
68 97 116 97 32 52 50 33Data 42!8
68 97 116 97 52 50 33Data42!7
65 10 66A, line feed, B3

Spaces, Control Codes and Number Bases

A separator and an encoded space serve different purposes. A space between two decimal codes lets the parser find each token. Decimal 32 requests an actual space in the decoded string. This distinction also applies to line breaks.

Selected decimal ASCII codes and what they contribute
CodeMeaningDisplay consideration
0Null, NULNo ordinary printed symbol
9Horizontal tab, HTWhitespace layout may vary
10Line feed, LFAn output formatting character
13Carriage return, CRNot an extra visible letter
32SpaceCounts as one character
127Delete, DELNo ordinary printed symbol

For example, entering 65 and 66 on separate input lines still requests AB. Entering 65 10 66 requests three characters, with a line feed between the letters. The text card preserves the returned sequence, while rendering depends on each control’s behavior.

Use the source’s declared number base. Decimal 41 means a closing parenthesis; hexadecimal 41 means decimal 65, or A. A leading zero does not select octal here. There is no automatic base detection, and no single universal extended-ASCII mapping for every byte above 127.

How to Read the Decoded ASCII Text

Read the result as the exact sequence requested by the accepted codes. Uppercase and lowercase letters have different values, so changing 68 to 100 changes D to d. The tool does not correct spelling or decide which letter you intended.

A successful conversion can produce little visible text. ASCII includes formatting controls, and code 127 is DEL. For example, 65 0 66 contains three characters even though the null character between A and B has no ordinary printed symbol. Display behavior can vary by control and browser.

A line break used between numeric input tokens is just a separator. To request a line-feed character in the result, include decimal 10. A source that uses carriage return plus line feed would represent that pair as 13 10. The tool preserves the supplied sequence rather than choosing a newline convention.

Values above 127 belong outside this page’s accepted range. Do not treat all possible 8-bit values as one universal “extended ASCII” alphabet. Accented letters, emoji and other Unicode text need an appropriate encoding-aware tool; changing a number until it passes validation does not decode that text correctly.

Common ASCII Decoding Mistakes

  • Using commas instead of whitespace between codes.
  • Pasting hexadecimal or binary notation and expecting the tool to detect its base.
  • Forgetting code 32 between output words.
  • Assuming a newline between input numbers becomes a decoded newline.
  • Counting only visible letters and overlooking spaces or controls.
  • Entering 128–255 as if they were standard ASCII.
  • Reading a successfully decoded string as proof that the source encoding was identified.

ASCII to Text Questions

How do I convert decimal ASCII codes to text?

Enter codes from 0 to 127 with whitespace between them, then select Decode ASCII text. The converter joins the corresponding characters in the same order.

How do I include spaces between decoded words?

Insert code 32. Spaces between the input numbers are separators and do not automatically become spaces in the result.

Can I separate codes with commas or newlines?

Newlines, spaces and tabs work as separators. Commas do not; replace them with whitespace before submitting.

Does this converter accept hexadecimal or binary ASCII?

No. It reads every token as decimal and has no base selector. Convert each source code to decimal first.

Why is part of the output invisible?

Your sequence may contain a space or control character. The character count includes those positions even when they have no ordinary visible symbol.

What does decimal 10 do?

It inserts the ASCII line-feed character. A line break between input numbers merely separates tokens; it is not the same as including code 10.

Can I decode accented letters or emoji here?

No. This form accepts standard ASCII codes only, from 0 to 127. It does not interpret a Unicode encoding or an extended byte table.

Can this page convert text back into ASCII codes?

This page decodes codes into text. Use the related Text to ASCII tool for the reverse direction, within its own input limits.

Sources and References

  • RFC 20: ASCII Format for Network Interchange provides the standard character table, seven-bit representation and control/space definitions.
  • PHP Manual: chr explains the single-byte mapping used by the controller and its distinction from Unicode code-point conversion. The page’s narrower accepted range comes from local validation.