Text Tools

Paragraph Counter

Live

Count blank-line-separated paragraphs and inspect each paragraph’s word and character length alongside document-wide writing metrics.

About Paragraph Counter

Use the Paragraph Counter as a live document-structure analyzer. Paste or type a draft to count paragraphs, words, sentences, lines, and characters while a paragraph map shows the length and opening text of every detected block. The page uses a predictable plain-text rule: one or more blank lines separate paragraphs. That rule is useful for drafts and copied text but may differ from visual paragraphs in rich-text editors, HTML, poetry, or documents that use indentation instead of blank lines.

Analyze Paragraph Structure

Workspace

Reading desk

Paste or type source text below; the readout summarizes it without changing it.

This workspace updates as you edit.

Paste the writing you want counted; formatting and line breaks are included in the reported metrics.

Paragraph Counter: paragraphs

Paste or type writing; blank-line paragraph groups and related metrics update immediately.

Text segmentation method

paragraphs = nonempty blocks separated by blank lines; words = Unicode letter/number tokens; sentences = punctuation-delimited heuristic segments.

How it works

The page normalizes line endings, trims the document edges, and splits paragraph blocks wherever one or more blank lines occur. Word matching recognizes Unicode letters and numbers plus internal apostrophe forms; sentence counting is a punctuation-based heuristic. Unicode Standard Annex #29 explains that word and sentence boundary decisions can vary by language and orthographic convention, so automated counts should be treated as consistent estimates rather than universal linguistic judgments.

Examples

Paragraph Counter: Sample sentence

Example input
{
    "text": "Hello world. This is a sample."
}
Expected result
{
    "words": 6,
    "characters": 30,
    "characters_no_spaces": 25,
    "lines": 1,
    "sentences": 2,
    "paragraphs": 1,
    "primary": 1
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. Unicode Standard Annex #29: Unicode Text Segmentation

Frequently asked questions

What creates a new paragraph in this counter?

One or more blank lines create a new paragraph. A line that merely wraps visually because the editor is narrow does not create another paragraph.

Why does the paragraph map show word lengths?

It makes structural imbalance easy to spot. A very long block beside several short blocks may be intentional, or it may suggest a place where the draft could be divided.

Why can sentence counts differ from a grammar editor?

Periods can mark abbreviations, decimals, initials, or sentence endings, and languages use punctuation differently. This tool uses a transparent punctuation heuristic rather than a language-specific grammar model.

Is pasted writing uploaded or saved?

No. Analysis runs in the browser for the current page session. The tool does not create a server-side document or local writing history.