Word Count Tool
Compress HTML, CSS, and JavaScript code instantly. Free, fast, and runs 100% in your browser.
Whether writing essays, blog posts, or social media captions with character limits, knowing your word count is essential. This tool counts words, characters, sentences, and estimates reading time — all in real time as you type.
Back to Tools
Code Minifier
Production-grade minification for HTML, CSS, JavaScript & JSON
Minified code will appear here
Production-Ready
- Powered by Terser — the same engine used by Webpack, Vite & Rollup
- Full AST parsing — safely handles strings, template literals, regex & all ES2024+ syntax
- Dead code elimination, constant folding & optional variable mangling
- Syntax errors are caught and reported with line numbers
Feature Overview
| Feature | Details |
|---|---|
| Word count | Real-time |
| Character count | ✓ |
| Reading time | ✓ |
| Privacy | 100% client-side |
Frequently Asked Questions
How is reading time calculated?
Based on an average reading speed of 200-250 words per minute for adult readers.
Does it count spaces?
Character count is shown both with and without spaces.