keptlocal
Files never leave your browser

Word Counter

Count words and characters free in your browser — no signup, no account, nothing uploaded. Paste text and get instant counts for words, characters, sentences, paragraphs, and reading time.

0
Words
0
Characters
0
Chars (no spaces)
0
Sentences
0
Paragraphs
0
Reading time
Text never leaves your browser.

How to count words and characters

  1. Paste or type your text into the input area. The counts update instantly as you type — there is no button to click.
  2. Read the six counts in the grid below the text area: words, characters (total), characters without spaces, sentences, paragraphs, and estimated reading time.
  3. If you have entered any text, the character limit panel appears below the grid showing your current character count against common social media limits (Twitter/X, LinkedIn, Instagram, Facebook), with a progress bar for each.
  4. Click Clear to reset the text area and all counts.

Your text never leaves your browser. Counting is done entirely in JavaScript as you type — no server request is made at any point. Paste confidential documents without concern.

When to use a word counter

  • Social media posts: Twitter/X has a 280-character limit. LinkedIn posts can be up to 3,000 characters before they get truncated. Instagram captions are capped at 2,200 characters. Knowing your character count before you post prevents the frustration of hitting a limit mid-edit in the platform's own composer.
  • Academic writing: Essays, dissertations, and submission requirements often specify word counts. A 2,000-word essay means 2,000 words — checking in a word counter during drafting is faster than waiting for your word processor to update its count after large pastes.
  • Content writing and SEO: Search engines favor comprehensive content. A word count target — typically 1,200–2,500 words for a competitive article — ensures you have written enough to cover the topic thoroughly.
  • Email copy: Marketing email subject lines should stay under 50 characters for mobile clients. Body copy has no hard limit, but studies consistently show that shorter emails have higher click-through rates. A character counter keeps you disciplined.
  • Reading time estimation: If you are writing a blog post, newsletter, or report, knowing the reading time helps you set reader expectations. Posts that say "5 min read" at the top have higher completion rates than those that don't.
  • Developer tool use: Many APIs impose character limits on inputs — GPT prompts, SMS messages (160 characters per segment), database fields. A quick character count prevents truncation errors.

How words, sentences, and paragraphs are counted

Words: The text is trimmed of leading and trailing whitespace, then split on any sequence of whitespace (spaces, tabs, line breaks). Each resulting token is one word. Hyphenated words like "well-known" count as one word. Punctuation attached to a word (trailing comma, period) stays with the word and does not create a separate token.

Characters: The raw string length — every character, including spaces, tabs, and line breaks. The "without spaces" count removes all whitespace characters before measuring.

Sentences: Counted by finding sequences ending in a period, exclamation mark, or question mark followed by whitespace or end of string. This is an approximation — abbreviations like "Dr." and "e.g." can produce false positives. For formal sentence-count requirements, a grammar checker is more reliable.

Paragraphs: Counted by splitting on one or more blank lines (two consecutive newlines). Single line breaks within a paragraph are not treated as paragraph breaks — which matches how most writing tools define paragraphs. A block of text with no blank lines anywhere counts as one paragraph.

Reading time: Calculated at 238 words per minute, which is the commonly cited average for adult silent reading of general prose. Academic text, technical documentation, or dense legal writing reads slower; light fiction reads faster. Use the estimate as a guide, not a guarantee.

Social media character limits explained

Character limits vary significantly across platforms, and the platforms themselves count characters differently from what you might expect:

  • Twitter/X — 280 characters: Doubled from the original 140-character limit in 2017. URLs are always counted as 23 characters regardless of actual length (Twitter wraps them via t.co). Emojis count as 2 characters in Twitter's counting.
  • LinkedIn — 3,000 characters for posts: After approximately 210 characters, a "see more" truncation is added and readers must click to expand. Write your hook in the first 200 characters. Comments are limited to 1,250 characters.
  • Instagram — 2,200 characters for captions: The caption is truncated to approximately 125 characters in the feed view, with a "more" link to expand. Hashtags count toward the character limit. Instagram also limits 30 hashtags per post.
  • Facebook — 63,206 characters for posts: Effectively unlimited for practical purposes. Facebook's limit is rarely a concern for organic posts, but paid ads have much tighter limits: headline 40 characters, description 30 characters.

Note that this tool counts raw characters. Platform-specific encoding rules (like Twitter's URL shortening or emoji counting) are not applied — use the platform's composer for a final character count before publishing.

Privacy: what happens to your text

The text you paste into this tool is processed entirely in your browser. No network request is made. Nothing is stored in a database, logged for analytics, or transmitted to any server. You can paste a confidential legal document, a draft contract, or a private message and the contents remain on your device.

This is the structural advantage of a client-side tool: the code that counts your words runs in the same browser tab you are reading this in, with no connection to any external service.

Frequently asked questions

Is my text sent anywhere?
No. All counting happens locally in your browser as you type. Your text never leaves your device.
How are words counted?
Words are sequences of characters separated by spaces or line breaks. Hyphenated words (e.g. 'well-known') count as one word. Numbers count as words.
How is reading time calculated?
Based on an average reading speed of 238 words per minute — the commonly cited research average for adult silent reading. Actual reading time varies by content complexity and individual reader.
Does it count characters with or without spaces?
Both — the tool shows character counts with spaces and without spaces separately.
What is the character limit?
There is no hard limit. Very large texts (book-length) may take a fraction of a second to process. The tool handles millions of characters without issue.
Can I use this for social media limits?
Yes. Twitter/X allows 280 characters, LinkedIn posts up to 3,000, Instagram captions up to 2,200. The character counter tells you exactly where you stand.