Count Characters, Words, Lines

Paste or type any text to count its words, characters, sentences, lines and paragraphs instantly. The counts update as you type, which helps you stay within limits for essays, social posts, meta descriptions, ads and forms. Counting follows the Unicode text segmentation rules, so accented letters, emoji and other languages are counted the way they appear. Nothing you type leaves your browser.

Inputs

Result

Words
26
Characters (with spaces)
127
Characters (without spaces)
103
Sentences
3
Lines
3
Paragraphs
2

How it is calculated

  1. Words: start from the text to count, then convert Windows and old Mac line endings to standard line breaks, then count words
  2. Characters (with spaces): start from the text to count, then convert Windows and old Mac line endings to standard line breaks, then count characters as you see them, including spaces
  3. Characters (without spaces): start from the text to count, then convert Windows and old Mac line endings to standard line breaks, then count characters other than spaces, tabs and line breaks
  4. Sentences: start from the text to count, then convert Windows and old Mac line endings to standard line breaks, then count sentences
  5. Lines: start from the text to count, then convert Windows and old Mac line endings to standard line breaks, then count lines
  6. Paragraphs: start from the text to count, then convert Windows and old Mac line endings to standard line breaks, then count paragraphs (blocks of text separated by blank lines)

Resources for your next step

Helpful downloads

View all text & lists downloads
Store coming soon

We are preparing practical spreadsheets, planners, and guides. Explore the store page for what is next.

How each count works

Words are counted using the Unicode word boundary rules, the same standard browsers use. A word is a run of letters or digits, and contractions such as it's stay one word. Punctuation and emoji are not words. Characters are counted as you see them on screen, so an accented letter or an emoji with a skin tone is one character, even if it is stored as several code units.

The example text has 26 words, 127 characters with spaces and 103 without, 3 sentences, 3 lines and 2 paragraphs. Lines are separated by line breaks, and paragraphs are blocks of text separated by at least one blank line.

Characters with and without spaces

Most limits, such as a social post or a meta description, count characters with spaces. Some publishers and translators quote rates by characters without spaces, which excludes spaces, tabs and line breaks. Both are shown so you can use whichever your limit or rate asks for. Line breaks are never counted as characters here.

Be aware that some platforms count differently. A few count each emoji as two characters, and some count a line break as one. If you are close to a strict limit, check it in the place where you will publish.

Sentences, lines and paragraphs

Sentences are found with the Unicode sentence boundary rules, which look for end punctuation such as periods, question marks and exclamation marks followed by a space or a new line. Abbreviations like e.g. can occasionally start a new sentence, so treat the sentence count as a close guide rather than an exact grammar check.

Lines are counted exactly as the text is split by line breaks, and an empty text has zero lines. Paragraphs ignore blank lines and lines that contain only spaces, so extra spacing between paragraphs does not change the count. Windows and old Mac line endings are converted to standard line breaks first.

Tips for writers

Typical targets include about 150 to 160 characters for a search snippet, short limits for headlines and ad text, and word ranges for assignments and articles. Keep the page open while you edit and watch the counts change, or paste the final draft to confirm it fits.

Counting works for every language and script, including right-to-left text. Languages written without spaces between words, such as Chinese and Japanese, are split into words using the browser's built-in dictionary rules. Up to 200,000 characters can be counted, and the text is never uploaded or saved.

Frequently asked questions

How are words counted?

With the Unicode word boundary rules. A word is a run of letters or digits; punctuation and emoji are not counted as words.

Does an emoji count as one character?

Yes. Characters are counted as they appear, so an emoji, even with a skin tone, counts as one.

Are line breaks counted as characters?

No. Line breaks are not included in either character count.

Why is the sentence count sometimes off by one?

Sentence detection relies on punctuation. Abbreviations or missing end punctuation can split or join sentences.

Does it work in other languages?

Yes. Counting follows Unicode rules for all scripts, including right-to-left languages and languages without spaces between words.

Is my text saved?

No. Counting happens in your browser and nothing is uploaded or stored.

Sources

Text is processed in your browser and never sent anywhere. Check the result before you replace your original.

All text & lists tools