Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
GitHub ↗
Sign in

BibTeX Tools

Clean and sort a .bib file, or build an entry from a DOI, an arXiv ID, a PubMed ID or an ISBN.

Paste your .bib file
Cleaned output
Figure 1. The cleaner. It runs in your browser: paste or upload a .bib file, set the options, press Clean BibTeX.

Tip. Clean your .bib file here, then upload it directly to Overleaf via New Project → Upload Project, or paste it into your Overleaf bibliography file. The DOI, arXiv, and PubMed lookups give you correctly-formatted entries in one click.

1What the cleaner does

A .bib file that has passed through a reference manager, two co-authors and a few copy-pastes from publisher sites stops being readable: three indentation styles, the same paper under two keys, abstracts that run for half a page. The cleaner parses the file and writes it back in one consistent form. Figure 2 shows the effect on a small example.

Before: 3 entries, one of them a duplicate
@book{lamport1994, title={{LaTeX}: A Document Preparation System},
author={Leslie Lamport}, publisher={Addison-Wesley},
  year=1994, edition={2},
file={:home/me/books/lamport.pdf:pdf}}

@article{knuth1984,
    author = {Donald E. Knuth},
    title = {Literate Programming},
    journal = {The Computer Journal},
    volume = 27, number = 2, pages = {97--111},
    year = {1984},
    doi = {10.1093/comjnl/27.2.97},
    abstract = {The author and his associates ...}
}

@article{Knuth84copy,
  title={Literate programming}, author={Knuth, Donald E.},
  journal={Comput. J.}, year={1984},
  doi={10.1093/COMJNL/27.2.97}
}
After: 2 entries, 2 fields stripped
@ARTICLE{knuth1984,
  author       = {Knuth, Donald E.},
  title        = {Literate Programming},
  journal      = {The Computer Journal},
  year         = {1984},
  volume       = {27},
  number       = {2},
  pages        = {97--111},
  doi          = {10.1093/comjnl/27.2.97}
}

@BOOK{lamport1994,
  author       = {Lamport, Leslie},
  title        = {{LaTeX}: A Document Preparation System},
  year         = {1994},
  publisher    = {Addison-Wesley},
  edition      = {2}
}
Figure 2. An untidy file (top) and the output of the cleaner with its default options (bottom). The second Knuth entry carries the same DOI as the first, so it is removed.

1.1Options

Whatever the options, entry types are written in capitals, fields are put in a fixed order with the equals signs aligned, and every value is wrapped in braces. Table 1 lists the four settings above the editor.

OptionDefaultEffect
Sort entriesBy keyOrders the entries by citation key, by year (newest first) or by entry type. Don't sort keeps the order of the file.
Fields to stripabstract, file, mendeley-tagsDeletes the listed fields from every entry. Reference managers add them; a bibliography style never prints them.
Remove duplicatesOnTwo entries with the same DOI are one reference. Without a DOI, the titles are compared, ignoring case and punctuation. The first entry is kept and each removal is reported.
Normalize authorsOnRewrites author and editor names as Last, First. Names that already contain a comma, and names protected by braces, are left alone.

Table 1. Options of the cleaner.

2Lookups by identifier

The four other tabs build a single entry from an identifier, by asking the registry that holds the record. Nothing is guessed or generated. Only need one converter? Each has its own page, listed in Table 2.

IdentifierSourceExamplePage
DOICrossRef10.1093/comjnl/27.2.97DOI → BibTeX
arXiv IDarXiv API1706.03762arXiv → BibTeX
PubMed IDNCBI PubMed34265844PubMed → BibTeX
ISBNOpen Library9780262033848ISBN → BibTeX

Table 2. The four lookups, their data source and their dedicated page.

3Where your file goes

Nowhere. The cleaner runs entirely in your browser: the .bib file you paste or upload is never sent to a server. A lookup sends the identifier you typed, and nothing else, to fetch the record.

None of the BibTeX tools needs an account, and there is no limit on the size of the file beyond what your browser can hold.

See also. Live LaTeX Preview, LaTeX Diff, LaTeX Templates and Symbol Search.
latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

GitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms