Purplelink
← All guides

How to count words in a LaTeX document

Many venues enforce strict word limits. However, counting words in LaTeX is fiddly because of all the markup. This guide shows how to get a number you can trust.

Conferences and journals enforce word and page limits. However, LaTeX source is full of commands that are not words. The hard part is counting the prose without counting the markup. Paste text into our free word counter for an instant count, or read on for the trade-offs.

Why counts disagree

Three methods give three different numbers:

The practical approach

  1. For a quick estimate, paste your body text into the word counter. It reports words, characters, sentences, and reading time live.
  2. For a strict submission limit, decide what the venue counts. Check whether the limit includes the abstract, references, and captions in the call for papers.
  3. Count the relevant sections only, excluding the bibliography and any appendices that don't count toward the limit.

What usually does not count

When in doubt, stay slightly under the limit using the strictest reasonable interpretation.

Frequently asked questions

Why is my LaTeX word count different from Word's?
LaTeX source includes markup commands that are not prose. Counting the raw .tex inflates the number. However, texcount or counting the compiled text gives a closer match to what a reader sees.
Does the bibliography count toward a word limit?
Usually not, but it is venue-dependent. Check the call for papers: some limits exclude references, captions, and appendices, and some don't.
Can I count words without compiling?
Yes. Paste your body text into the free word counter for an instant count. It runs entirely in your browser and stores nothing.
Does the counter handle LaTeX commands?
The counter treats any non-whitespace sequence as a word, so raw commands are counted as written. For prose-only counts, paste the text without the surrounding markup.

From the maker of these tools

Writing LaTeX on a Mac?

ModernTex is a native macOS LaTeX studio. It has multi-file manuscript navigation, a PDF preview that stays in sync, BibTeX completion that searches by author or title, and compile errors in plain language. $19.99 once, all updates included, forever.

Requires macOS 14 or later. No account, and the trial is the full app.