DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeText / StringWord Counter

Example: Word Counter

A worked example, rendered from real sample data. Sign in to run the tool on your own input.

Input
The quick brown fox jumps over the lazy dog. This sentence contains exactly forty-four characters including spaces and punctuation marks.
Output
Words:                20
Unique words:         19
Characters:           137
Characters (no space):118
Sentences:            2
Paragraphs:           1
Lines:                1
Avg word length:      5.8
Longest word:         punctuation
Reading time:         ~1 min
Speaking time:        ~1 min
Top words:            the (2), and (1), brown (1), characters (1), contains (1)

About Word Counter

Word Counter preview - Text / String tool

Count words, characters, sentences, paragraphs, and reading time. Part of the DevTools Surf developer suite. Browse more tools in the Text / String collection.

Use Cases

  • Verifying blog post length meets editorial guidelines
  • Checking character counts for meta descriptions under 160 chars
  • Estimating reading time for documentation pages
  • Counting words in academic abstracts with strict limits

Tips

  • Check estimated reading time for blog posts and articles
  • Monitor character count for social media post limits
  • Use sentence count to gauge content complexity at a glance

Fun Facts

  • The average adult reading speed is 238 words per minute, according to a 2019 meta-analysis by Marc Brysbaert.
  • Twitter's 140-character limit was based on the 160-character SMS limit, minus 20 characters reserved for the username.
  • The longest word in the English language, at 189,819 letters, is the full chemical name of the protein titin.

FAQ

What counts as a word?
Sequences of letters/digits separated by whitespace or punctuation. Contractions (it's, don't) count as one word. Hyphenated compounds (mother-in-law) count as one.
How is reading time calculated?
Assumes 230 words per minute — a global average for silent reading of general content. Technical content is slower; fiction is faster. Treat the estimate as a rough guide.
Does it count characters with and without spaces?
Both — shown side by side. 'With spaces' is the raw character count; 'without' skips whitespace. Useful for character-limited fields (Twitter, SMS, meta descriptions).
What about sentences and paragraphs?
Yes. Sentences are detected by `.`, `!`, `?` terminators. Paragraphs are separated by blank lines. Useful for essay-length estimation.

Related Text / String Tools

URL EncoderURL DecoderHTML Entity EncodeHTML Entity DecodeJWT DecoderLorem Ipsum GeneratorText DiffCase Converter
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf919+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback