Arabic Paragraph & Line Counter

Count paragraphs and lines in Arabic RTL documents

Count paragraphs, lines, words, and characters in Arabic text. Splits paragraphs on blank lines, counts non-empty lines, and offers a tashkeel-free character count so harakat don't inflate totals. Right-to-left aware. Runs in your browser.

How is a paragraph defined?

A paragraph is a block of text separated from the next by at least one blank line — a line that is empty or whitespace-only. Single line breaks inside a block do not start a new paragraph, so wrapped lines count as one paragraph.

When you are checking the length of an Arabic document — an essay, an article, or a translation — you usually need more than a character count. This tool reports the document structure: how many paragraphs and lines it contains, plus word and character counts, all while displaying the text in its natural right-to-left flow.

How it works

  • Paragraphs are blocks separated by a blank line. The tool splits on runs of two-or-more newlines, so a single wrapped line break inside a block does not start a new paragraph.
  • Lines are the non-empty visual lines, split on \n, \r, or \r\n. Blank separator lines are excluded.
  • Words are whitespace-delimited tokens — Arabic separates words with spaces just like Latin text, so a plain whitespace split is correct.
  • Characters are counted by Unicode code point. A separate figure strips the tashkeel marks (U+064BU+0652, superscript alef, and tatweel) so vocalisation does not inflate the total.

Counting is direction-independent: the same code points produce the same counts whether the script is RTL or LTR. Only the textarea display direction changes.

Example

A document with two blocks separated by a blank line, each block holding two wrapped lines, reports 2 paragraphs and 4 lines. If the text is fully vocalised, the tashkeel-free character count will be noticeably lower than the raw character count.

Notes

  • A blank line starts a new paragraph; a single line break does not.
  • Only non-empty lines are counted.
  • Use the tashkeel-free figure when you want base-letter length.
  • Everything runs locally; your document never leaves the browser.