Xerobit

Word Counter

Count words, characters, sentences, paragraphs, lines, and UTF-8 bytes. Live indicators for 16 platform character limits, X, LinkedIn, Bluesky, Mastodon, meta tags, SMS, YouTube, App Store, and more. Reading and speaking time estimates.

Words
0
Characters
0
Sentences
0
Paragraphs
0
Lines
0
Bytes (UTF-8)
0
Platform character limits
Meta title (Google) 60 chars 0 / 60 (60 left)
Meta description (Google) 160 chars 0 / 160 (160 left)
X / Twitter post 280 chars 0 / 280 (280 left)
LinkedIn headline 220 chars 0 / 220 (220 left)
LinkedIn post 3,000 chars 0 / 3,000 (3,000 left)
Bluesky post 300 chars 0 / 300 (300 left)
Mastodon toot (default) 500 chars 0 / 500 (500 left)
YouTube title 100 chars 0 / 100 (100 left)
YouTube description 5,000 chars 0 / 5,000 (5,000 left)
Facebook post (ideal) 80 chars 0 / 80 (80 left)
Instagram caption 2,200 chars 0 / 2,200 (2,200 left)
TikTok caption 2,200 chars 0 / 2,200 (2,200 left)
SMS (single message) 160 chars 0 / 160 (160 left)
Email subject (ideal) 50 chars 0 / 50 (50 left)
App Store title (Apple) 30 chars 0 / 30 (30 left)
Google Ads headline 30 chars 0 / 30 (30 left)
Reading & speaking time
Reading time
0 sec
~200 words/min average
Speaking time
0 sec
~130 words/min natural
Ready. Type to see live counts.

What the Word Counter counts

  • Words: whitespace-separated tokens (regex \\S+). Punctuation-attached words count as one.
  • Characters: full string length. Toggle "no whitespace" to exclude spaces, tabs, newlines.
  • Sentences: count of terminal ., !, ? followed by whitespace or end of string. Handles runs like "..." and "!!".
  • Paragraphs: blocks separated by blank lines.
  • Lines: newline-separated, including blank lines.
  • Bytes: UTF-8 byte count, not character count. Emoji and CJK characters take multiple bytes.

Platform character limits reference

The counter checks your text live against the most common platform limits (as of April 2026):

PlatformLimitNotes
Meta title (Google)60 charsTruncation point in SERPs. Use every char.
Meta description160 charsMobile may truncate earlier at ~105.
X / Twitter post280 charsURLs count as 23 chars regardless of actual length.
Bluesky post300 charsCounted as graphemes.
LinkedIn headline220 charsPost text separately allows 3000.
YouTube title100 charsMobile shows ~70. Front-load keywords.
SMS160 charsLonger texts split into multi-part SMS.

Reading time methodology

Adult reading speed averages 200-250 words per minute for technical prose, 300 WPM for easy reading. This tool uses 200 WPM for reading time (medium complexity) and 130 WPM for speaking time (natural conversational pace for narration and presentations).

Common use cases

  • SEO: check that meta title fits under 60 chars before you ship.
  • Social media: live char counter as you draft X/Bluesky posts.
  • Copywriting: verify body copy length for email subject lines (ideal: under 50 chars).
  • Academic & editorial: hit word-count limits exactly for essays, abstracts, or journal submissions.
  • Script writing: use speaking-time estimate to target a video length.

Frequently asked questions

Why does "characters" differ from "bytes"?

A character is one visible glyph. A byte is the lowest-level storage unit. ASCII characters take 1 byte each. Accented Latin characters, CJK, and emoji take 2-4 bytes each in UTF-8. For database column sizing, HTTP body Content-Length, or TLS record size, use bytes. For visual length, use characters.

How does sentence detection handle abbreviations like "e.g."?

Imperfectly. A period inside an abbreviation will over-count sentences slightly. For precise counts on dense abbreviation-heavy text (legal, academic), expect ~5% variance from a human count. For normal prose, accuracy is within 1-2%.

Does this handle emoji and multi-byte characters correctly?

Yes. JavaScript's native string length counts UTF-16 code units (which splits most emoji into 2), so "🦊" counts as 2 characters in traditional string-length terms. This matches how X, LinkedIn, and most platforms count. Byte count uses UTF-8 (so "🦊" = 4 bytes).

Is my text uploaded anywhere?

No. Everything runs in your browser. Open DevTools → Network and paste text: no requests. Your text never leaves your device.

Why is my "words per minute" calculation different on other tools?

Different tools use different WPM constants (150, 200, 225, 250). This tool uses 200 for reading (research median for adults on technical text) and 130 for speaking (public-speaking standard). For academic work cite the constant you use.

Pillar

This tool belongs to Dev Productivity: the daily-driver utilities pillar. Browse the pillar for regex, cron, timestamp, HTTP codes, and color tools.