Pick the metric that matches the requirement
A word limit, a character limit, and a platform’s own counting rule are different. OmniKit displays several metrics so that you can choose the relevant one. It does not claim that every destination uses the same rules.
The examples below were checked against the current counting function on 5 September 2026. Copy each input on its own into the word counter. In the table, \n means an actual line break, not a backslash followed by the letter n.
| Input | Characters | Without spaces | Words | Han characters |
|---|---|---|---|---|
Hello world | 11 | 10 | 2 | 0 |
don't re-enter 2026 | 19 | 17 | 3 | 0 |
你好 世界 | 5 | 4 | 0 | 4 |
Hi 👨👩👧👦 | 10 | 9 | 1 | 0 |
a\n\nb | 4 | 2 | 2 | 0 |
你好hello | 7 | 7 | 1 | 2 |
How the current counters work
- Characters: counts Unicode code points, including spaces and line breaks. Windows and old Mac line endings are normalized to one newline before counting.
- Without spaces: removes whitespace, including spaces, tabs, and newlines, before counting code points.
- Words: counts runs of letters or numbers. Apostrophes and hyphens inside such a run stay with the word, so
don'tandre-entereach count as one. A number such as2026also counts. - Chinese characters: counts Han-script characters separately. An all-Han run is excluded from the word count. An unseparated mixed run such as
你好hellocounts as one word and two Han characters; this is not linguistic Chinese word segmentation.
One visible emoji can contain several characters
The family emoji in Hi 👨👩👧👦 looks like a single symbol but contains four people and three joiners. Together with H, i, and the space, the character count is ten. The counter measures code points, not user-perceived symbols. Accented letters can also have more than one underlying representation.
If a social network or submission form reports a different total, its own counter is the final authority for that destination. Do not remove useful content solely to match an unrelated counter.
Lines, paragraphs, and reading time
The input a\n\nb contains three lines and two paragraphs. Blank lines separate paragraphs; an extra newline at the end still creates an extra line. Empty input returns zero lines and paragraphs.
Reading time is a rough estimate: divide Han characters by 400, add words divided by 220, and round up to a whole minute. Non-whitespace input receives at least one minute. This estimate is not a measured reading speed and is unsuitable as a precise narration or accessibility timing requirement.
To reproduce these examples, keep spaces and line breaks intact. Pasting into another editor can change punctuation or normalize characters, which changes the input being measured.