Text to Decimal
Type any text and get each character's decimal (ASCII/Unicode) code, space-separated, ready to copy. Runs entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
Decimal (space-separated)
Example shown — replace it with your own text.
How it works
- Type or paste any text.
- Each character's Unicode code point is read.
- The decimal codes are joined with spaces, ready to copy.
Conversion reads each character's code point via
charCodeAt(), which already returns a decimal number —
no base conversion needed, just a direct character-by-character
lookup.
FAQ
Is my text uploaded anywhere?
No. Conversion happens entirely in your browser — nothing is sent to a server.
How is each character converted?
Each character's Unicode code point is read directly using charCodeAt(), giving its decimal value.
Can I go from decimal back to text?
Yes — see the companion Decimal to Text tool for the reverse conversion.
Does it handle spaces and punctuation?
Yes — every character, including spaces and punctuation, gets its own decimal code.
How we compare
| Feature | Online Tool Store | Calculator app | Python one-liner |
|---|---|---|---|
| Converts a whole sentence at once | ✓ | One character at a time | ✓ |
| Free, no setup | ✓ | ✓ | Requires Python installed |
A calculator only converts one character at a time. Text to Decimal takes a whole sentence and returns every character code in one paste.