Text counting and cleanup: define what you are counting
Compare characters, words and paragraphs, and keep an original copy before removing duplicate lines or whitespace.
Why counts differ between tools
Text length has no single universal measure. English is often counted in words, while Chinese is often counted in characters. Including punctuation, spaces or line breaks changes the total too. This tool shows several measures for a quick estimate; its results may differ from a publishing platform or office application. For a strict submission limit, use the receiving platform's own count.
Characters and visible glyphs
JavaScript can process text as code units, Unicode code points or user-perceived characters. Some emoji combine multiple code points, and letters with combining marks may consist of more than one part. Do not interpret the character count as a count of printed glyphs. A short example containing Latin letters, non-Latin text, line breaks and emoji is a better way to check counting behavior than guessing from one large total.
Preserve structure when cleaning whitespace
Text copied from a website may contain extra blank lines or leading spaces. Cleanup can make ordinary prose easier to read, but code, poetry, tables and Markdown may depend on whitespace for structure. Keep the original before running cleanup, then check that paragraphs remain separated. Avoid automated cleanup for signed text or other content that must remain exactly unchanged.
When turning a multiline address into one line, decide which separator is needed. Simply removing line breaks can join adjacent words. To preserve a poem's line endings, remove only unwanted trailing spaces rather than all whitespace.
When to deduplicate lines
Line deduplication suits simple lists with repeated labels or identifiers. It is not semantic merging: do not assume differences in case, punctuation or wording represent the same item. Avoid using it on event logs where repeated lines may represent separate meaningful events.
Try three or four lines first to check how the tool handles surrounding spaces and which order it retains. Then process the full list. If you need occurrence counts, record them before deduplicating: the resulting unique list cannot reconstruct the original frequencies.
Using estimated reading time
Reading time is a rough estimate based on length and an assumed pace, not a measurement of actual reader behavior. Formulas, technical vocabulary and reading in a second language can take longer. Use the estimate as a prompt to inspect paragraph density while checking headings, steps and examples yourself. Input and output stay in the current page; download important edits before leaving. Browser favorites remember tool preferences, not the text you are editing.