inyourbrowser.com

Paragraph count

Counts paragraphs by looking for blank lines (one or more empty lines between blocks of text). A single line break does not start a new paragraph.

Text input

COUNT

Runs entirely in your browser

How it works

The text is split wherever a line break is followed by a blank line, using the /\n\s*\n/ pattern, so a line that holds only spaces or tabs also separates two paragraphs. Blocks that are empty after trimming are dropped, and a single line break stays inside its paragraph.

Processing runs in your browser

All counting happens locally in your browser tab. Our servers are not involved at any point.

Related operations

For checking reading difficulty alongside word count, try the readability checker. To generate placeholder copy of a target length, use lorem ipsum. For tidying capitalisation as you draft, see the case converter.

Frequently asked questions

How is a paragraph defined?
A paragraph is any block of text separated from the next by one or more blank lines. A single newline (line break) without a blank line does not start a new paragraph.
What if my text has no blank lines?
If there are no blank lines, the entire text is counted as one paragraph, regardless of how many line breaks it contains.
Does it count code blocks or quoted passages as paragraphs?
Yes. Any block of text separated from the next by a blank line counts as a paragraph, including indented code, quotations, and list items rendered as plain text.
Do lines with only spaces count as blank?
Yes. A line that holds only spaces or tabs counts as blank, so it still separates two paragraphs.

Last reviewed September 30, 2026

Other pages for this tool

Related tools

Readability checker
Flesch reading ease, grade level, and estimated reading time. Paste any text and see the score.
Text diff
Compare two texts in word, side-by-side, or git-style views. The word and side-by-side views highlight changed words.
Case converter
Convert text between camelCase, snake_case, kebab-case, PascalCase and more.
Extract text from PDF
Extract plain text from a PDF using pdfjs-dist. Copy or download. Runs in your browser.