Latex-wc – Word count and word frequency for LaTeX projects
I was revising my proposal defense and kept feeling like I was repeating the same term. In a typical LaTeX project split across many .tex files, it’s awkward to get a quick, clean word-frequency view without gluing everything together or counting LaTeX commands/math as “words”. So I built latex-wc, a small Python CLI that: - extracts tokens from LaTeX while ignoring common LaTeX “noise” (commands, comments, math, refs/cites, etc.) - can take a single .tex file or a directory and recursively scan all *.tex files - prints a combined report once (total words, unique words, top-N…
In plain words
Latex-wc is a Python command-line tool that analyzes word frequency in LaTeX projects. It processes single files or entire directories of .tex files, filtering out LaTeX commands, math notation, comments, and citations to count only actual words. The tool generates reports showing total word count, unique words, and top-frequency terms, helping writers identify repeated language across multi-file documents.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
I was revising my proposal defense and kept feeling like I was repeating the same term. In a typical LaTeX project split across many .tex files, it’s awkward to get a quick, clean word-frequency view without gluing everything together or counting LaTeX commands/math as “words”. So I built latex-wc, a small Python CLI that: - extracts tokens from LaTeX while ignoring common LaTeX “noise” (commands, comments, math, refs/cites, etc.) - can take a single .tex file or a directory and recursively scan all *.tex files - prints a combined report once (total words, unique words, top-N frequencies) Fastest way to try it is `uvx latex-wc [path]` (file or directory). Feedback welcome, especially on edge cases where you think the heuristic filters are too aggressive or not aggressive enough.
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com
