Text to Decimal Converter
Convert text to decimal Unicode code points, space-separated.
Converters Runs in your browser
How do you convert text to decimal?
Every character has a Unicode code point, and this converter lists them in plain base 10: “A” is 65, “€” is 8364, “😀” is 128512. Output is space-separated with one number per character, not per byte, so there’s no UTF-8 expansion to mentally undo. That makes it handy for writing numeric HTML entities such as € and for checking what codePointAt() will return.
How to use the Text to Decimal
- 1 Give it a string of any characters, plain or exotic.
- 2 A decimal code point prints for each one, in order, space-separated.
- 3 Compare values against the ASCII table for the 0–127 range.
- 4 Copy the number list for your code or entities.
What you can use it for
- Looking up character codes for programming.
- Building decimal HTML entities.
- Illustrating character-to-number mapping in lessons.
- Generating numeric test data from text.
Frequently asked questions
Are these ASCII codes or Unicode?
Unicode code points in base 10. Below 128 they coincide with ASCII, so A really is 65; beyond that you get the full Unicode value, like 8364 for €.
How are emoji handled?
One emoji, one number. “😀” prints as the single value 128512 rather than the four bytes UTF-8 would use.
Can I convert the numbers back?
The Decimal to Text converter rebuilds the string from the numbers, whatever separator you kept.
Related tools
More Converters
More tools like this:
All Converters