LaTeX Word Counter
Paste your .tex source into this LaTeX word counter and see how many words a reviewer will count, with commands, comments and math left out.
How are words counted?
Only prose between \begin{document} and \end{document} counts as text. Commands, comments, labels, citation keys and file names are skipped. Words inside \textbf{…} or \emph{…} still count. Headings, captions and footnotes are counted on their own lines so you can choose what goes into the total.
Does it match the word count in Overleaf?
Overleaf's word count is built on TeXcount, and this tool follows TeXcount's default rules: the sample on this page gives the same numbers in both. Small differences can appear with custom macros or packages that TeXcount knows about and this page doesn't.
How is math counted?
Formulas are not words. Each inline formula such as $E = mc^2$ and each displayed equation counts as one formula, shown separately, so a page of equations doesn't inflate the total.
What should you include for a journal word limit?
It depends on the journal, so read its author guide. Many count the main text and headings but leave out the abstract, captions, footnotes and references. Use the checkboxes to match the rule, and paste only the sections that count. If the journal sets a page limit instead, check the page numbering of the compiled PDF.
What about projects split into several files?
Files pulled in with \input or \include are not opened. Paste each file in turn and add the totals, or paste the combined text. To see how your document will look on a web page, try the LaTeX to HTML converter; for other free tools, see all tools.
Text drafted with AI from the TeXcount documentation; checked by Cem Demir. See the editorial policy.