Word & Character Counter
TextCount words, characters, sentences, lines, and reading time instantly. Checks against Twitter, meta description, and LinkedIn character limits — all in browser.
What is a Word Count?
The Word & Character Counter measures the length of any text — word count, character count, lines, sentences, and estimated reading time — all updating live as you type or paste. It also benchmarks your character count against common platform limits so you can immediately see whether your copy fits within Twitter, meta description, LinkedIn, YouTube, or SMS constraints.
This is primarily a tool for writers, content marketers, developers, and SEO professionals who need to know exactly how long their text is — and whether it fits the space they are writing for. A meta description that runs long gets truncated in search results. A tweet over 280 characters cannot be posted. A LinkedIn headline over 220 characters is cut off on the profile. The platform limits panel makes all of these constraints visible at a glance.
Six measurements, always live:
- Words — counted by whitespace-separated tokens
- Characters (with spaces) — full string length; used by Twitter, SMS, meta description limits
- Characters (no spaces) — useful for density analysis and some database column length checks
- Lines — newline-separated segments
- Sentences — heuristic count based on sentence-ending punctuation
- Reading time — estimated at 200 words per minute
All counting is client-side. Text is never transmitted or stored. Use the Case Formatter to change the case of your text, or Text to Slug to convert a title to a URL-safe slug.
How to use this Word Count calculator
- Type or paste your text into the 'Text' textarea.
- Read the counts in the output panel — words, characters (with spaces), characters (no spaces), lines, sentences, and reading time all update instantly.
- Check the platform limits section — each platform shows either "N chars remaining ✓" or "N chars over ✗".
- Edit your text to hit your target — the counts update with every keystroke.
- Use the copy button to copy the count summary if you need to share or log the measurements.
Formula & Methodology
Word count:text.trim().split(/\s+/).filter(Boolean).lengthCharacter count (with spaces):text.lengthCharacter count (no spaces):text.replace(/\s/g, '').lengthLine count:text.split('\n').lengthSentence count (heuristic): count matches of/[.!?]+(?:\s|$)/gReading time:Math.max(1, Math.round(wordCount / 200))minutes Platform limits: | Platform | Limit | Notes | |---|---|---| | Twitter / X | 280 | Counts chars including spaces; URLs counted as 23 | | Meta description | 160 | Google truncates; 150–160 is the target range | | LinkedIn headline | 220 | Profile page display limit | | YouTube title | 100 | Search result truncation threshold | | SMS (single segment) | 160 | Messages over 160 split into multiple segments |
Frequently Asked Questions