Citation Counter
Count citation markers and unique \cite keys in a manuscript.
About this tool
Paste text and the counter totals citation markers: \cite-style commands, numeric brackets like [1] and [2-4], and author-year forms like (Kim, 2021). It also lists the unique LaTeX keys.
How to use
How it works
Markers are occurrences in the text; unique keys count each \cite key once. A bracket range such as [2-4] or [1,2,5-7] counts as one marker, and so does a parenthesis of author-year citations such as (Kim and Lee, 2020; Zed et al., 2019). Plain author-year citations are counted as markers but have no key, so the key list covers only LaTeX commands.
markers = \cite-commands + [n] brackets + (Author, year) forms
Worked example
Mixed citation styles
- Input
- Prior work \cite{smith2020,lee2018} and \citep{smith2020} agree [1], [2-4]. See (Kim, 2021).
- Output
- Citation markers: 5; Unique \cite keys: 2 (lee2018, smith2020)
- Walkthrough
- Two LaTeX commands, two numeric brackets and one author-year form make 5 markers; the repeated smith2020 leaves two unique keys.
Limitations
- Does not check that cited keys exist in a.bib file.
- Author-year forms need a capitalised surname followed by a four-digit year; narrative citations such as “Kim (2021)” are not counted.
- Pattern matching can miss unusual citation styles.
Questions
Does a range like [2-4] count as three?
Are repeated citations counted?
Does it read my.bib?
Features
- Marker and unique-key counts
- Key list
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
PDF, What is it FOR?
Computerphile
Papers and appendices often ship as fixed PDF packets.
Watch on YouTubeHTML Crash Course For Absolute Beginners
Traversy Media
Web writing basics for paper and citation helpers.
Watch on YouTube
- MLA citations by format
MLA Style Center
MLA works-cited patterns for academic tools.
- DOI Foundation
DOI.org
Persistent identifiers used in academic citation tools.