Figure Caption Counter
Count figure and table captions in a draft.
About this tool
Paste your manuscript and get the number of figure captions, table captions and the total, based on lines beginning Figure N, Fig. N or Table N, plus LaTeX \caption{} commands.
How to use
How it works
Plain-text captions are recognised when a line starts with Figure or Fig. plus a number and a colon or full stop, or with Table plus a number. A LaTeX \caption{} is counted once, as a table caption if the nearest preceding environment is \begin{table} (or longtable) and as a figure caption otherwise. A \caption outside any figure or table environment therefore counts as a figure.
figure: ^(Figure|Fig.)\s*\d+[.:] or \caption{} in a figure table: ^Table\s*\d+[.:] or \caption{} in a tableWorked example
Plain-text captions
- Input
- Figure 1: Training loss over epochs. Fig. 2. Accuracy by model size. Table 1: Hyperparameters.
- Output
- Figure captions: 2; Table captions: 1; Total captions: 3
- Walkthrough
- Figure 1 and Fig. 2 are figure captions and Table 1 is the table caption, giving three in total.
Limitations
- In LaTeX source, a \caption is classified by the nearest preceding \begin{figure} or \begin{table}; one outside both is counted as a figure.
- Plain-text captions not at the start of a line are missed.
- Counts captions, not the figures or tables themselves.
Questions
How are LaTeX captions classified?
Does Fig. 2. count?
Does it count the figures themselves?
Features
- Figure and table totals
- Plain-text captions
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
HTML Crash Course For Absolute Beginners
Traversy Media
Web writing basics for paper and citation helpers.
Watch on YouTubeCitation Basics (MLA, APA & Chicago)
TutorialSmith
Citation styles for academic formatting tools.
Watch on YouTube
- APA reference examples
APA Style
Official APA examples for citation generators.
- MLA citations by format
MLA Style Center
MLA works-cited patterns for academic tools.