CiteBib is a command-line utility for generating bibliographies based on references actually used in LaTeX documents. Rather than requiring an author to maintain a separate bibliography containing only the references cited in a particular article, it extracts the relevant entries from existing bibliographic collections.
The software examines TeX source files to identify citation commands and their associated citation keys. It then uses the selected records to produce a bibliography containing the references needed by the document.
This approach is useful for researchers who maintain large BibTeX collections shared across multiple publications. Bibliographic databases often contain additional records, private notes and custom metadata fields that are unnecessary in a manuscript submitted to a journal.
CiteBib provides a way to produce smaller, cleaner bibliography files while allowing the original reference collections to remain unchanged. It also supports generating LaTeX-formatted references for publication workflows that do not accept a separate BibTeX bibliography.
This is free and open source software.
Key Features
- Analyse TeX source files to identify citation commands and referenced citation keys.
- Select bibliographic entries corresponding to references used in a document.
- Generate reduced BibTeX files containing the selected references.
- Produce bibliographies in LaTeX format for documents requiring directly formatted references.
- Exclude unused bibliography entries from generated output.
- Control which bibliographic fields are included in generated references.
- Separate configuration for BibTeX, LaTeX and raw output modes.
- Provides a citekey utility for retrieving and formatting individual references.
- Output selected references using raw, LaTeX or BibTeX formatting.
- Work with existing BibTeX reference collections maintained using tools such as JabRef.
Website: github.com/salsergey/CiteBib
Support:
Developer: Sergey Salnikov
License: GNU General Public License v3.0

CiteBib is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Terminal-Based Bibliography Tools | |
|---|---|
| coBib | Simple, console-based bibliography management tool |
| Rebiber | Replaces unofficial BibTeX references with official records |
| papis | Extensible command-line based document and bibliography manager |
| bibiman | TUI for fast and simple interaction with a BibLaTeX database |
| bibtex-tidy | Cleans, sorts and formats BibTeX bibliography files |
| Hayagriva | Rusty bibliography management |
| bibman (Haskell) | CLI/TUI bibliography manager |
| pubs | Bibliography on the command line |
| BibMan | TUI bibliography manager |
| Xapers | Personal journal article management system |
| papers | Command-line tool to manage bibliography |
| Gorae | Terminal-based library manager for PDF and EPUB collections |
| CiteBib | Generate a Bibtex or LaTeX bibliography |
| bibclean | BiBTeX and Scribe bibliography prettyprinter and syntax checker |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.