Online Tool Store Online Tool Store

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)

72 105 33

Example shown — replace it with your own text.

How it works

  1. Type or paste any text.
  2. Each character's Unicode code point is read.
  3. 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 onceOne character at a time
Free, no setupRequires 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.

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.