TontonTools

Text to Decimal

Convert text to decimal character codes — Unicode values for every character.

100% Free No signup Privacy-friendly Binary & Number Tools
Updated Sep 2026

Share X / Twitter Facebook LinkedIn WhatsApp

How to use Text to Decimal

  1. Type or paste your text — anything from a word to a paragraph, emoji included.
  2. Read the decimal code points instantly, one per character: "€5" → 8364 53.
  3. Investigate oddities: paste suspicious copied text and look for 160, 8203 or other invisible-character codes among the expected values.
  4. Click “Copy result” — prepend &# and append ; to any code for an HTML entity.

What is Text to Decimal?

A text to decimal converter outputs the numeric code point of every character in your text, in base 10: "Hi" → 72 105, é → 233, € → 8364, 😀 → 128512. For English letters this matches classic ASCII; beyond that it continues into the full Unicode range, which today numbers over 150,000 characters.

Decimal code points are what programming functions actually return — JavaScript's codePointAt(), Python's ord() — and what HTML numeric entities use: € renders as €. Seeing them per character demystifies encoding at a glance.

About the Text to Decimal

Type or paste any text — including accents, symbols and emoji — and each character's decimal code point appears instantly, space-separated.

Concrete uses: finding the number for an HTML entity (™ → 8482 → ™), checking what ord() will return before writing the code, hunting invisible troublemakers in copied text (a non-breaking space reveals itself as 160 instead of 32, a zero-width space as 8203), and comparing visually identical characters that differ in code — the source of many "why doesn't this string match" bugs.

Conversion is live and local to your browser. Decimal to Text decodes the other direction; Text to Hex gives the same code points in base 16 (the U+ notation).

Frequently Asked Questions

€ is 8364, £ is 163, © is 169, ™ is 8482, — (em dash) is 8212. Each becomes an HTML entity as &#code; — for example € renders €.
Every character shows a code, visible or not: a normal space is 32, a non-breaking space 160, a zero-width space 8203, a BOM 65279. If pasted text misbehaves, the codes expose the intruder.
Emoji live high in the Unicode range: 😀 is code point 128512 (U+1F600). Some emoji are also sequences of several code points joined invisibly — each part shows as its own number.
For characters 0–127, identical — Unicode adopted ASCII's numbering. Beyond that, ASCII simply ends while Unicode code points continue: é (233) is Unicode, not classic ASCII.
One is a single character (233), the other is e (101) plus a combining accent (769). They look identical but compare as different strings — a classic Unicode normalization bug this tool makes visible.

We use cookies for analytics and to keep the tools free via ads. See our Privacy Policy.