Reference Managers

bibtex-tidy – clean and format BibTeX bibliography files

bibtex-tidy is a utility for cleaning and formatting BibTeX bibliography files. It brings inconsistently formatted references into a standardised layout, making bibliographies easier to read, maintain and share.

BibTeX files obtained from publishers, academic databases and reference managers often differ in their field ordering, capitalisation and spacing. bibtex-tidy addresses these inconsistencies without requiring references to be edited individually.

The program can be run from the command line or integrated into automated workflows. A browser-based interface is also available. Its focus is on cleaning existing bibliography data rather than collecting research papers or managing a reference library.

This is free and open source software.

Key Features

  • Configurable indentation, field alignment, blank lines and value wrapping.
  • Sort bibliography entries by citation key, author, year or other fields, with ascending and descending ordering.
  • Reorder fields within entries using a predefined order or custom field list.
  • Detect duplicate references using citation keys, DOIs, abstracts or similarities between authors and titles.
  • Merge duplicate entries, with options to retain, combine or overwrite field values.
  • Remove empty or duplicate fields, omit specified fields and strip comments.
  • Generate citation keys from author names, publication years and titles, with support for configurable patterns.
  • Normalise month values, convert numeric fields and adjust capitalisation.
  • Convert between LaTeX character escapes and Unicode, and percent-encode invalid URL characters.
  • Control brace handling, including preserving capitalisation in selected fields.
  • Write formatted output to another file or standard output. The command-line tool overwrites input files by default unless instructed otherwise.
  • Integrate with Git pre-commit hooks to format bibliography files automatically.
  • JavaScript and TypeScript API for integration into other applications.

Website: github.com/FlamingTempura/bibtex-tidy
Support:
Developer: FlamingTempura
License: MIT License

bibtex-tidy in action


Related Software

Terminal-Based Bibliography Tools
coBibSimple, console-based bibliography management tool
papisExtensible command-line based document and bibliography manager
bibimanTUI for fast and simple interaction with a BibLaTeX database
HayagrivaRusty bibliography management
bibman (Haskell)CLI/TUI bibliography manager
pubsBibliography on the command line
BibMan (Python)TUI bibliography manager
XapersPersonal journal article management system
Bibman (Perl)Small console tool for managing BibTeX files
papersCommand-line tool to manage bibliography
CiteBibGenerate a Bibtex or LaTeX bibliography
bibcleanBiBTeX and Scribe bibliography prettyprinter and syntax checker

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted