100% local processing — your files and data never leave this browser. No uploads, no server storage.

OnboxTools

Free · Browser-only · No upload

Free word counter online — count words and characters

Live word count checker with character counter, file import, and frequency reports

Count my words online as you type or paste — this free word counter shows word count, character count with and without spaces, lines, sentences, and optional frequency analysis. Import .txt, .docx, or PDF files to count words in text without uploading to a server.

Whether you need an essay word counter, a paragraph counter for social posts, or a document word counter for drafts from Google Docs and MS Word, totals update instantly in your browser. For PDF-only workflows, use our PDF Word Counter.

Input Text
Analysis Results

More Text Utilities

🔓
Base64 Decoder
🧬
Base64 Encoder
🔡
Case Converter
Cron Generator
🎨
CSS Minifier
📐
CSS Unminifier
📆
Date Format Converter
📅
Date to Unix
🔎
Find and Replace
🛡️
HTML Escape
📰
HTML Minifier
↩️
HTML to Markdown
🔓
HTML Unescape
📄
HTML Unminifier
📋
Markdown Preview
🔄
Markdown to HTML
🎲
Random Number
🔤
Random String
🔍
Regex Tester
🧹
Remove All Whitespace
↩️
Reverse Text
✂️
Split String
⚖️
Text Compare
🔁
Text Repeater
📖
Text Viewer
🌍
Time Zone Converter
🕐
Unix Time to Date
🔗
URL Encoder
🔤
UTF-8 Decoder
🌐
UTF-8 Encoder
📊
Word Counter

Browse by category

How word and character totals are calculated

Words are tokens separated by whitespace after trimming leading and trailing space. Characters include every code unit in the string; characters without spaces omit all whitespace characters.

words = text.trim().split(/\s+/).filter(Boolean).length charsNoSpace = text.replace(/\s/g, '').length

Sample word count

The sentence “Hello world — welcome back.” contains five words, 28 characters with spaces, and 23 characters without spaces. Punctuation attached to words stays part of the token unless you normalize text elsewhere first.

A 500-word blog section typically spans roughly 2,500–3,000 characters with spaces in English prose — useful when converting between word limits and character caps.

Common length references

FromToResult
Short blog postTypical range~400–600 words
Essay (1 page)Double-spaced~250–300 words
Novel chapterTypical range~2,000–5,000 words
Tweet / X postCharacter cap280 characters
Meta descriptionSEO snippet~150–160 characters
SMS segmentGSM-7 encoding160 characters

Complete guide to counting words and characters online

What this word counter tool measures

A word count counter splits text on whitespace boundaries, so each token separated by spaces or line breaks contributes to the total. This matches how Microsoft Word, Google Docs, and Grammarly report English word count for plain prose.

Character count online totals include every character in your paste, including spaces and punctuation. A separate no-spaces figure helps when a platform counts symbols only — common for SMS segments, meta descriptions, and API field limits.

Lines and sentences use simple heuristics: line breaks define rows, while periods, question marks, and exclamation points suggest sentence boundaries. The live stats bar updates on every keystroke.

How to count words in text step by step

Paste or type into the input panel. The word count, character count, line count, and sentence estimate appear immediately in the stats bar above the editor — no button required for basic totals.

Use Import to load plain-text files (.txt, .md, .csv, .html, .json, and more), .docx documents, or PDF files with selectable text. Legacy .doc binaries are not supported; save as .docx or paste from Word instead.

The analysis report panel updates automatically with word counts and repeated-word frequency — useful for spotting overused terms in essays and SEO drafts.

Copy or save the report from the output panel when you need to share counts with an editor, teacher, or client. Clear the fields when finished on a shared computer.

Word count in Word, Google Docs, and other editors

Word shows word count in the status bar; Google Docs under Tools → Word count; Grammarly in its sidebar. This page mirrors those totals when you paste the same plain text.

Writers often paste here while editing to check limits, compare character count with spaces against a strict cap, or run frequency analysis native editors lack. Import .docx or PDF exports instead of retyping when possible.

Scanned image PDFs need OCR before any tool can count words on PDF content. Strip HTML tags first when pasting webpage markup so characters reflect body text only.

Character counter and platform limits

Social posts, ad headlines, and form fields often enforce character limits. The character counter shows with-spaces and without-spaces totals so you can match Twitter/X, LinkedIn, SMS, and meta description rules.

Essay word counter workflows for school assignments specify minimum and maximum ranges — for example 400 words or 2000 words in pages of double-spaced print. Use the live total to trim filler before submission.

Paragraph counter behavior follows line breaks in your paste. Blank lines between paragraphs count as separate lines.

PDF, DOCX, and document word counter tips

To count words in a PDF document with embedded text, use Import here or our PDF Word Counter for page-level stats. Image-only scans return empty text until OCR runs.

DOCX import reads the document body locally — no cloud conversion. Prose-heavy drafts align closely with Word; complex tables may differ slightly.

Frequency reports highlight whether a keyword appears too often in SEO copy. For very large manuscripts, split by chapter if the tab feels slow.

Privacy, accuracy, and related tools

All counting runs client-side. Your draft never uploads — suitable for confidential contracts, unpublished manuscripts, and internal memos. Clear the textarea when you are done on shared machines.

English word count tools may differ slightly from counts in Japanese, Chinese, or Arabic because word boundaries vary by language. Emoji and combining characters affect character totals; verify against your publish platform if precision matters.

Pair this page with Find and Replace for bulk edits, Case Converter for title formatting, or Split String when you need per-line analysis. Use PDF Word Counter when the source file is PDF-only and you want page-level stats.

Detailed guide

Hitting an exact word count for school or work

Write freely first, then trim or expand while watching the live total. Focus on one section at a time if the whole document is too large to paste at once.

If you are slightly over the limit, cut redundant adjectives and repeated arguments rather than shrinking font size on the printout — instructors and editors notice formatting tricks.

Counting words from Google Docs or Word

Select all (Ctrl+A / Cmd+A), copy, and paste here for instant totals plus frequency analysis. Alternatively, export as .docx or PDF and use Import when the paste is too large for the clipboard.

Compare your editor’s built-in count with this page on a sample paragraph once — small differences usually mean whitespace or footnote handling, not a bug.

Common questions

Word Counter FAQ

How do I count the words in a Word document?

Paste from Word (Ctrl+A, Ctrl+C) or import a .docx file. The live total matches plain-text word count for most prose. Legacy .doc files should be saved as .docx first.

Can I count words in a PDF online?

Yes. Import a PDF with selectable text and this tool extracts and counts locally. Scanned image PDFs need OCR first — use our PDF Word Counter or PDF OCR tools.

Does this include a character counter?

Yes. You get character count with spaces, without spaces, lines, sentences, and words — all updating live as you type.

Is this a free word counter?

Yes. No account, no upload, and no daily limit. Everything runs in your browser.

How does this compare to Grammarly word count?

Grammarly counts words in its editor sidebar. Pasting the same plain text here should produce similar totals; differences usually come from citations, code blocks, or tracked changes not included in your paste.

Can I count words in Google Docs?

Copy your Doc text and paste here, or export as .docx and import. This page adds frequency reports Google Docs does not provide natively.

Does the Word Counter send my input to a server?

Yes. Everything runs in your browser. Your input is not uploaded, logged, or stored on our servers.

Do I need an account?

No account or sign-up is required. Open the page and start using the tool immediately.