ASCII to Unicode conversion is exact for values 0–127 because standard ASCII occupies the first 128 Unicode code points: U+0000 through U+007F.
There is no character-by-character remapping inside the ASCII subset. The practical decision is how to represent the result: ASCII Converter produces decimal integers, while Unicode notation commonly uses a U+ prefix followed by four hexadecimal digits. For the limited ASCII range, the decimal integer and Unicode code point carry the same numeric value.
Decimal ASCII values are not automatically a UTF-8 byte sequence, however. A program expecting code points, decimal character values, or encoded bytes needs a specific format. Keeping that distinction clear prevents valid data from being interpreted under the wrong rules.

What the conversion actually changes
ASCII is a 7-bit character encoding with 128 assigned values, numbered 0 through 127. Unicode includes every one of those characters and assignments in its first 128 code points. ASCII is therefore a subset of Unicode rather than a separate set of characters that must be translated into different letters.
What changes is usually the representation. If a field expects Unicode code points, an ASCII decimal value can be written in Unicode notation. If it expects a decimal number, the same value should remain as an integer. If it expects encoded bytes, the destination must specify an encoding such as UTF-8 rather than treating a list of character numbers as a byte dump.
The ASCII Converter is designed for the bounded decimal workflow. It strictly converts standard 7-bit ASCII text to decimal codes and decimal codes back to ASCII text. It does not add an extended-code-page fallback or silently reinterpret characters outside the ASCII range.
This strict boundary matters because “extended ASCII” is not one universally consistent standard. The same byte value in Windows-1252 and ISO-8859-1 can represent different characters. A converter that accepts 128–255 without naming the intended character set could therefore produce plausible-looking but incorrect results.
ASCII, Unicode, and UTF-8 compared
| Format | What it represents | Relevant scope | Typical use |
|---|---|---|---|
| ASCII | A 7-bit character encoding | Exactly 128 assigned values, 0–127 | Legacy systems, protocols, and data that must remain within 7-bit ASCII |
| Unicode | A character code-point system | Includes the ASCII range as U+0000–U+007F and extends beyond it | Applications that need a broad character repertoire or explicit Unicode code points |
| UTF-8 | An encoding that represents Unicode characters as bytes | Byte-oriented output rather than character-number output | Files, APIs, and programs that explicitly require UTF-8 bytes |
The distinction prevents a common category error: Unicode is not simply another name for UTF-8, and ASCII decimal values are not interchangeable with every representation of Unicode. When a specification names the required format, use that format directly.
Convert ASCII text to decimal codes
Use the text-to-codes mode when each character in a standard ASCII string must become its decimal value.
- Open the ASCII Converter and choose the option for encoding ASCII text into decimal codes.
- Paste or type the source text into the input field. Every character must belong to the standard 7-bit ASCII range.
- Select Convert ASCII to validate the text and generate the decimal sequence.
- Review the result, paying particular attention to control characters that may have no visible glyph.
- Copy the output when it is ready for the destination application.
The converter returns one space-separated decimal integer per character. One complete example is Hi: encoding produces 72 105. Written in Unicode code-point notation, those same values are U+0048 U+0069, and decoding 72 105 returns Hi. The converter’s actual output is the decimal sequence, not U+ notation.
Text validation is position-aware. If the input contains the first character outside 7-bit ASCII, conversion stops and reports that character’s position rather than replacing it with a question mark or guessing an extended encoding. Input is bounded at 100,000 UTF-16 code units.
Decode decimal values to ASCII text
The reverse workflow reconstructs ASCII characters from their decimal values.
- Choose the option for decoding decimal ASCII codes into text.
- Enter unsigned decimal integers from 0 through 127, separating them with spaces, commas, or line breaks.
- Select Convert ASCII to validate and reconstruct the characters.
- Inspect the output for invisible controls or application-specific effects, then copy it if needed.
Decoded tokens must be plain, unsigned, one-to-three-digit decimal integers. Signs, fractions, hexadecimal prefixes, empty tokens, and values above 127 are rejected. Each accepted integer reconstructs the corresponding ASCII code unit exactly. Decoding is limited to 50,000 codes per input.
Strict validation is useful here because a malformed token does not have a safe automatic interpretation. Rejecting an ambiguous format is preferable to accepting it and producing a result that appears successful but differs from the intended character sequence.
Control characters can disappear visually
Codes from 0 through 31 and 127 are control characters. Some act visibly as spacing or line movement, while others may display no glyph at all in a textarea. An apparently short or incomplete decoded string can therefore still be the exact result of the supplied decimal sequence.
| Decimal value | Standard control | Possible visible effect |
|---|---|---|
| 0 | NUL | Usually no visible glyph |
| 9 | Horizontal tab | Moves to the next tab stop |
| 10 | Line feed | Starts a new line in many applications |
| 13 | Carriage return | Returns the cursor position; combined behavior depends on the destination |
| 127 | DEL | Usually no visible glyph |
Copying control characters into another application can trigger behavior specific to that application. When visibility matters, keep the decimal output for inspection or use a byte-aware editor that shows the underlying values. Do not rely on the decoded textarea alone to confirm that every supplied code is present.
Strict boundaries and validation
Standard ASCII ends at 127. Values from 128 through 255 are therefore rejected by the converter rather than being treated as a generic extension of ASCII. They belong to a named character encoding or code page, and different choices can assign them differently.
- Text encoding: Accepts only code units from 0 through 127 and reports the position of the first invalid character.
- Code decoding: Accepts only unsigned one-to-three-digit decimal tokens within 0–127.
- Input size: Applies a 100,000 UTF-16-code-unit cap to all input, including decoded input, and a separate 50,000-code cap when decoding.
- Processing location: Encoding, decoding, and validation stay in the current browser tab.
The converter’s assignments follow IETF RFC 20, the ASCII format, and are cross-checked against Unicode’s C0 Controls and Basic Latin chart. This provides a stable mapping for the full standard range, including controls and DEL.
Because processing remains in the browser, the submitted text and codes are not uploaded. Local processing also does not change the underlying validation rules: unsupported characters still fail, and no hidden Unicode or code-page conversion is applied.
Choose the right converter for wider text
The ASCII Converter does not produce UTF-8 bytes or explicit U+ notation. For characters outside the ASCII range, or when Unicode code-point notation is the required destination, use the Unicode Encoder / Decoder instead.
If the destination requires UTF-8 bytes, select a converter that explicitly names UTF-8. Legacy code pages, locale-specific conversions, binary files, and unknown source encodings also need a format-specific workflow. The correct choice depends on the application contract, not on a broad label such as “character conversion.”
Check the result before you use it
- Confirm that the source contains only standard ASCII characters if the task specifically requires a 7-bit result.
- Choose the direction that matches the task: text to codes or codes to text.
- Use decimal integers only when decoding; do not mix signs, fractions, or hexadecimal notation into the input.
- Keep a record of whether the numbers represent character codes, Unicode code points, or bytes.
- Inspect control-character output and perform a round trip when exact reconstruction matters.
For standard ASCII, the mapping is unambiguous because every decimal value from 0 to 127 has the same numeric Unicode code point. If a source contains anything outside that range, stop at the validation boundary and choose a converter that explicitly names the required Unicode format or code page.