Convert Text to Decimal

Reveal the ASCII decimal code points for any text.

Input Text

Format Options

Quick Reference

Common ASCII Values

Space32
A65
a97
048

Did you know? You can switch to 'Verbose' mode to see which character corresponds to each decimal value.

Decimal Output
Result will appear here...

Reveal ASCII Codes

The Convert Text to Decimal tool strips away the visual layer of text to show the underlying numbers. In the computing world, every character—from 'A' to '@'—is assigned a unique decimal ID number according to the ASCII (or Unicode) standard.

Common Uses

Programming

Use it to find keycodes (like keyCode 13 for Enter) or character codes for loops.

HTML Entities

Decimal codes are used in HTML entities (e.g., A displays A).

How it works

  1. Input: Type ABC.
  2. Lookup: We check the character map.
  3. Result: Get 65 66 67.

Example

Input
Code
Result
67 111 100 101

Frequently Asked Questions

What is 'Verbose' mode?

Verbose mode shows you exactly which decimal code belongs to which character (e.g., H:72 i:105). This is great for educational purposes or debugging specific characters.

Can I get JSON output?

Yes! Switch the View Mode to 'JSON' to instantly get a JavaScript-array formatted list of decimals, like [72, 101, 108, 108, 111], ready for use in code.

What does Padding do?

Padding ensures every decimal number has 3 digits by adding leading zeros (e.g., 'A' becomes '065'). This creates uniformly spaced data columns.

What is the decimal value of 'A'?

The decimal value for uppercase 'A' is 65. Lowercase 'a' is 97. Digits start at 48 ('0').

Does this work for emojis?

Yes, it converts emojis into their constituent UTF-8 byte values. For example, '😊' becomes '240 159 152 138'.

Can I use custom separators?

Absolutely. You can choose spaces, commas, or define your own custom delimiter (like a pipe '|' or hyphen '-').

Is there a limit to input length?

The tool runs locally in your browser, so it can handle very large texts (millions of characters) without crashing.

How do I reverse this?

Use our 'Convert Decimal to Text' tool to turn these numbers back into readable strings.

Why are some values negative?

In signed byte contexts, values > 127 might be interpreted as negative (Example: 128 becomes -128). We display unsigned values (0-255).

Are these Unicode code points?

For standard ASCII (0-127), yes. For characters >127, we display the UTF-8 bytes that make up that character, not the single Unicode code point.