calculatortoolshub
Runs on your device

Word counter

Count words and characters as you type.

Your text

Up to 100,000 characters. Nothing is saved.

Inputs stay on your device.

Your result
15 Words
79 Characters
65 Without spaces
2 Lines
Need a quick number calculation? Open Percentage calculator

What the word and character counter does

A word counter and character counter tallies words, total Unicode characters, characters excluding whitespace, and lines in real time as you type or paste text into the editor.

Many online word counters send pasted text to a backend server or third-party analytics script. This tool runs 100% inside your browser tab—confidential drafts, legal clauses, and unpublished articles never leave your device.

If you want to check what percentage of a 650-word essay cap or 3,000-character post limit your draft has used so far, plug your count into the Percentage calculator.

Common use cases

  • Academic essays, abstracts, and grant proposalsCheck word counts and non-space character counts against university, journal, or fellowship submission caps.
  • SEO title tags and meta descriptionsKeep HTML title tags within 50–60 characters and meta descriptions within 145–155 characters so search snippets do not truncate.
  • Social media posts, bios, and SMS copyDraft posts and messages against strict character ceilings before pasting them into your publishing tool.
  • Code comments, CSV rows, and line-based listsCount total lines across pasted lists, logs, or multi-line notes.

How Unicode word, character, and line counting work

Instead of splitting naively on space characters, the counter uses the browser's Unicode word segmenter (Intl.Segmenter) and code-point iterator (Array.from) so punctuation, contractions, multi-line breaks, and emoji are counted accurately.

Words = Σ(segment.isWordLike) | Characters = Array.from(text).length | Without Spaces = Array.from(text.replace(/\s/gu, '')).length
  • Words: Word-like segments identified by Intl.Segmenter('en', { granularity: 'word' }), with a whitespace-delimited fallback on older browsers.
  • Characters: Total Unicode code points in the string, including spaces, tabs, and line breaks.
  • Without spaces: Total Unicode code points remaining after stripping all whitespace characters (\s).
  • Lines: Number of lines separated by LF (\n), CRLF (\r\n), or CR (\r); an empty editor reports 0 lines.

As you type, all four metrics update immediately in the result panel, and clicking Copy copies a formatted one-line summary of all four counts to your clipboard.

According to Unicode Standard Annex #29 (Unicode Text Segmentation), word boundary rules segment text by identifying word-like sequences of letters and numbers separate from surrounding punctuation and whitespace.

You can find all writing and text-processing utilities in the Education & Academic calculators section.

How to use this word and character counter

Paste or type your text into the left panel to see live counts.

  1. Type or paste your text: Click inside the Your text editor and type or paste up to 100,000 characters, or click a sample preset chip above the editor.
  2. Compare the four counters: Read Words, Characters, Without spaces, and Lines in the result panel.
  3. Copy the counts or clear the editor: Click Copy to copy the summary counts, or press Clear below the editor to empty the box and start over.

When writing a 155-character meta description for a web page, paste your draft into the editor and trim words while watching the Characters counter until it lands between 145 and 155.

To verify that pasted drafts and confidential notes never leave your device, read how local browser privacy works.

Worked numerical examples

Single phrase: 'Hello world'

2 word-like segments · 11 code points · 1 space · 1 line

Result2 words · 11 characters · 10 without spaces · 1 line
Two-line note with 15 words

Small tools can make a big difference. / A little less figuring. A lot more done.

Result15 words · 79 characters · 65 without spaces · 2 lines
Common character and word limits across search, social, and academic formats
Common character and word limits across search, social, and academic formats
Format or platformPrimary limit metricTypical target rangeNotes
HTML <title> tagCharacters (with spaces)50 – 60 charactersAvoids truncation in desktop and mobile search results
Meta descriptionCharacters (with spaces)145 – 155 charactersSummarizes page value in search result snippets
Standard SMS segmentCharacters (with spaces)160 characters (GSM-7)70 characters when message contains Unicode emoji
X (Twitter) standard postCharacters (with spaces)Up to 280 charactersURLs count as 23 characters regardless of length
LinkedIn feed postCharacters (with spaces)Up to 3,000 charactersFirst ~210 characters appear above the 'see more' fold
Journal abstractWords150 – 250 wordsMost scientific and medical journals enforce a 250-word cap
College application essayWords250 – 650 wordsCommon App personal statement cap is 650 words

Why word and character counts sometimes differ across editors

Word processors, character-limited web forms, and programming languages measure text boundaries using slightly different rules.

Unicode word segmentation (UAX #29)

Intl.Segmenter('en', { granularity: 'word' }) recognizes that an apostrophe inside a contraction like 'don’t' stays inside one word, whereas punctuation at the end of a sentence is not a word.

Characters with vs. without spaces

Web forms, SMS gateways, and database columns count every character including spaces, whereas translation billing and some academic style guides count characters excluding spaces.

Unicode code points vs. UTF-16 code units

JavaScript's raw string.length property counts 16-bit UTF-16 code units, which counts an astral-plane emoji like 🚀 as 2. Iterating Unicode code points via Array.from(text) counts 🚀 as 1 character.

Cross-platform line breaks (LF vs. CRLF)

Windows text editors represent a line break as two characters (\r\n), while macOS and Linux use one (\n). Splitting on /\r\n|\r|\n/ ensures identical line counts on every operating system.

Practical benefits of counting text locally in your browser

Checking word and character counts in a local browser tab combines speed with complete document privacy.

  • Zero server transmission: Unpublished articles, client contracts, and private messages stay in your browser's memory and are never uploaded.
  • Four metrics side by side: Shows words, total characters, characters without spaces, and lines simultaneously without switching views.
  • Unicode code-point accuracy: Handles accented letters, non-Latin scripts, and emoji code points accurately.
  • One-click Clear and Copy: Copy the count summary for client reporting or clear the editor in one tap.

Once you have your exact draft word count, convert that length into silent reading and speaking durations with the Reading Time Calculator.

Factors that affect word counts and tool limitations

Different editors apply different conventions to hyphens, numbers, and compound sequences.

  • Hyphenated words and slashes: Standard Unicode word segmentation treats hyphens and slashes as word breaks (counting 'state-of-the-art' as 4 word tokens), whereas some desktop word processors count hyphenated compounds as 1 word.
  • Numbers and currency strings: Numeric sequences like '2026' or '311.06' are classified as word-like tokens by UAX #29 and included in the total word count.
  • Multi-code-point ZWJ emoji: Single-code-point emoji like 🚀 count as 1 code point, while family or skin-tone emoji joined by Zero-Width Joiners (ZWJ) consist of multiple Unicode code points.
  • Caps single pastes at 100,000 characters (roughly 15,000 to 20,000 words) so live keystroke counting remains instantaneous on mobile and desktop devices.
  • Uses English ('en') segmentation rules for word boundaries.

According to ECMA-402 Internationalization API (Intl.Segmenter), Intl.Segmenter provides locale-sensitive word segmentation with an isWordLike boolean property on each segment record.

For long-form manuscripts or full novels, turn total pages and daily reading minutes into a finish date with the Book Reading Calculator.

Frequently asked questions

Is the text I paste into the Word counter saved or uploaded anywhere?

Never. Your text remains inside the textarea in your current browser tab's memory. It is never transmitted over the network and is never written to localStorage, cookies, or any database.

How are contractions and hyphenated words counted?

When the browser supports Intl.Segmenter('en', { granularity: 'word' }), English contractions with an internal apostrophe (such as 'don’t' or 'it’s') count as a single word, while words separated by spaces, hyphens, or slashes count as separate word tokens.

What is the difference between Characters and Without spaces?

Characters counts every Unicode code point in the editor, including spaces, tabs, and line breaks. Without spaces strips all whitespace characters (\s) before counting, which is useful when an assignment or translation rate specifies characters excluding spaces.

How are emoji and accented characters counted?

The counter measures characters using Array.from(text), which counts Unicode code points rather than raw 16-bit UTF-16 code units. Accented letters and standard single-code-point emoji (such as 🚀) each count as 1 character.

Why does an empty editor show 0 lines instead of 1 line?

When the text box is completely empty (0 characters), there are no lines of text, so Lines reports 0. As soon as you type at least one character, the line count becomes 1 and increments on each line break.

What is the maximum text length supported?

The editor accepts up to 100,000 characters per paste (approximately 15,000 to 20,000 words) so that live keystroke segmentation stays responsive on both phones and laptops.

Ready to use

Loading tools…