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
RebiberReplaces unofficial BibTeX references with official records
papisExtensible command-line based document and bibliography manager
bibimanTUI for fast and simple interaction with a BibLaTeX database
bibtex-tidyCleans, sorts and formats BibTeX bibliography files
HayagrivaRusty bibliography management
bibman (Haskell)CLI/TUI bibliography manager
pubsBibliography on the command line
BibManTUI bibliography manager
XapersPersonal journal article management system
papersCommand-line tool to manage bibliography
GoraeTerminal-based library manager for PDF and EPUB collections
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 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted