Skip to content

Word Counter

Count words, characters and lines in your text.

Input
Output

No result

About Word Counter

Word Counter reports four numbers for a block of text: words, characters including spaces, characters excluding spaces, and lines. They come back together because they answer different questions, and the mismatch between them is often the useful part — a character count that suddenly jumps while the word count holds steady means words got longer, not that you wrote more.

Characters are counted as Unicode code points rather than as raw string positions, so an emoji or any character outside the basic Latin range counts as one. That matches how length limits are usually enforced by publishing platforms and messaging systems, and it differs from the internal string length that some other tools report for the same text.

Two counting rules are worth knowing before you rely on the figures. Words are counted by splitting on runs of whitespace, so languages that do not separate words with spaces are counted as a single word for the whole passage. And lines are counted by counting newlines: empty input reports zero, while a text that ends with a line break reports one more line than you can see, because the empty segment after the final break is counted.

How to use Word Counter

  1. 1 Paste or type your text into the input box.
  2. 2 Read the four figures: words, characters with spaces, characters without spaces, and lines.
  3. 3 Check the line count against your text if it ends with a newline, since that trailing break counts as a line.

Frequently asked questions

Does an emoji count as one character or two?

One. Counting works on Unicode code points, so a character outside the basic Latin range is a single unit. Many programming languages would report two for the same input, because they count the underlying storage units instead.

How is a word defined here?

Anything between runs of whitespace. That is unambiguous for languages that separate words with spaces and quite wrong for those that do not, where a whole sentence is one token. For those scripts a character count is the more meaningful measure.

Why does my line count seem one too high?

Because the text ends with a line break, and the empty segment after that break is counted as a line. Removing the trailing newline brings the count down by one, which is usually what you want when the count is meant to match something visible.

Should I use the with-spaces or without-spaces figure?

Use the with-spaces figure when a platform limit is being enforced, since that is the number the platform will measure. Use the without-spaces figure when you are describing how much actual content is there.

Free, online, and private

Free to use

Word Counter is completely free. There is no account to create, no login, and no hidden charge or usage limit.

Runs online in your browser

It is a free online tool that runs entirely in your browser. Nothing to download or install — open the page and start using it right away.

Your data stays private

All processing happens locally on your device. Your input is never uploaded, stored, or tracked, so it never leaves your browser.

How Word Counter behaves in detail

These are the specifics of this implementation — the exact ranges, defaults and fixed settings you are working with.

Parameter Value
Counts reported words, characters with spaces, characters without spaces, lines
Word splitting runs of whitespace — any space, tab or newline separates a word
Empty input every count is 0, including lines
Character counting Unicode code points, so an emoji counts as one
Update mode live — recounts on every keystroke, no button

Compiled from the implementation of this tool and checked against it by itoolnet.

What Word Counter does not do

Knowing the edges of a tool saves more time than another list of its features. These are the cases where it will not do what you might expect.

  • Words are counted by whitespace, not by language rules. Chinese, Japanese and Thai text has no spaces between words, so a paragraph of Chinese counts as a single "word" here.
  • Hyphenated words count as one (well-known is one word) and so does an abbreviation with a period (e.g.), which is the usual convention for word counts but differs from how some editors count.

Tested and documented by itoolnet, the team that builds and maintains this site.

Share & embed this tool

Writing a guide or article? You are welcome to link to Word Counter with the snippet below. It is free, runs entirely in your browser, and needs no signup.