Real-time character, word, sentence, paragraph, and reading-time counter.
- Real-time: characters (with/without spaces), words, sentences, paragraphs, lines
- Reading time at 238 words per minute
- Speaking time at 183 words per minute
- Twitter/X (280) and SMS (160) limit progress bars
- Top 5 most frequent characters bar chart
- Clear button and Paste from clipboard button
- Dark theme with orange accent (#ff6b35)
Every keystroke triggers a counter recalculation. text.split() regex patterns count words, sentences (by . ! ?), and paragraphs (by double newline). Reading time = wordCount / 238, speaking time = wordCount / 183. Frequency analysis builds a character map from the input and displays the top 5 as horizontal bar segments.
- Open
https://soumendrak.github.io/text-counter/in any browser. - No build step, no installation, no server required.
- Deploy anywhere — GitHub Pages, Netlify, or any static host.
git clone https://github.com/soumendrak/text-counter.git
# Open index.html directlyLicensed under the MIT License.
Built with ❤️ and zero dependencies