Skip to content
UniKit

Text to decimal Unicode

Convert text into decimal Unicode code points locally: custom separator, one character per line, HTML numeric entities, whitespace skipping, and emoji kept as single code points.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Characters are converted by Unicode code point, so emoji from the supplementary planes count as a single character.

Decimal code points

A decimal code point is the character number in Unicode and can be written as an HTML numeric entity. Everything runs locally.

Enter text to see the decimal code points

What this tool does

  • Find out which code point an invisible character copied from a web page or spreadsheet really is
  • Turn copy into HTML numeric entities (你) for templates where writing the character directly is awkward
  • Batch-number characters in decimal for font coverage checks or character set statistics

Example

Input

A中😀

Output

65 20013 128512

Defaults: space separated, plain decimal code points. A is 65, 中 is 20013 and 😀 is 128512; the text is walked by code point, so an emoji from the supplementary planes counts as one code point and is never split into two UTF-16 units. Entity mode would give A 中 😀.

Frequently asked questions

Are decimal code points the same as UTF-16 code units?

Not quite. This tool converts by Unicode code point. For ASCII and most CJK characters inside the BMP both conventions agree, but supplementary-plane characters such as emoji have code points above 65535 (😀 is 128512) while JavaScript stores them as two UTF-16 surrogate units (55357 and 56832). Use a hex or UTF-8 byte tool when you need the unit sequence.

What does the HTML entity mode output?

Decimal numeric character references such as A and 中, which map one-to-one to code points and can be pasted straight into HTML. Hexadecimal entities (A) and CSS escapes such as \41 are out of scope for this tool.

Why ignore whitespace?

Text copied from documents is usually full of spaces and line breaks, which would flood the result with code points like 32 and 10. With "Ignore whitespace" enabled only visible characters are converted (spaces, tabs and line breaks are skipped) and the "Whitespace skipped" statistic shows how many characters were dropped.

Which characters are supported, and is there a length limit?

Any Unicode text — CJK, emoji, combining marks and private-use characters — limited only by browser memory. The "Largest code point" statistic is a quick way to spot anything outside the expected range, such as the private use area from 57344 upwards or supplementary planes above 65536.

Is the text uploaded?

No. The conversion runs in your browser; the input and the result never leave your machine.

Keywords:decimal unicodetxt2unicode10offline

Related tools