Research Tools
BibTeX & BibLaTeX Cleaner, Validator and Formatter
Runs in your browser
Example loaded.
Bibliography
Paste or type BibTeX, or drop a .bib file. Your text is checked as you edit.
Operations
Each operation is independent. Safe formatting is applied unless you untick it; anything else waits for you.
Indent fields, align the = signs and collapse runs of spaces. URL, DOI and file values are never touched.
Author, title, journal, year, … first; other fields keep their order at the end.
Strip https://doi.org/ and doi: from DOI fields.
Month macros (BibTeX) or numbers (BibLaTeX); 12-19 becomes 12--19.
Offer to remove fields such as note = {}.
Offer to remove the fields listed below, and URLs that only repeat the DOI.
Report keys used more than once. Keys are never renamed.
Report entries that share a DOI. Nothing is deleted.
Report repeated fields and names outside BibTeX and BibLaTeX.
Report missing required fields and broken crossref, xref and xdata targets.
Report URLs with spaces, no scheme or an invalid form.
Second opinion from the Citation.js BibTeX parser (first 400 entries). It only reports.
Comma-separated field names offered for removal. Removal always needs your approval.
Entries
9
Changes applied
21 / 25
Lines changed
48
Needs review
12
Syntax errors
1
Informational
4
Diagnostics
- Syntax error
Malformed entries · line 83
@article{broken2020} starting on line 83 is never closed (unbalanced braces). The entry is left unchanged.
- Needs review
Duplicate citation keys · line 8 · lecun2015deep
The key "lecun2015deep" is used 2 times (lines 8, 78). Rename all but one; keys are not changed automatically.
- Needs review
Duplicate citation keys · line 78 · lecun2015deep
The key "lecun2015deep" is used 2 times (lines 8, 78). Rename all but one; keys are not changed automatically.
- Needs review
Duplicate DOIs · line 8 · lecun2015deep
DOI 10.1038/nature14539 also appears in "bishop2006pattern". These may be the same work; nothing is deleted.
- Needs review
Duplicate DOIs · line 61 · bishop2006pattern
DOI 10.1038/nature14539 also appears in "lecun2015deep". These may be the same work; nothing is deleted.
- Safe formatting
DOI prefixes · line 8 · lecun2015deep
Remove the resolver prefix from the DOI: https://doi.org/10.1038/nature14539 → 10.1038/nature14539.
- Safe formatting
Months and page ranges · line 8 · lecun2015deep
Write the month as may (BibTeX month macro) instead of {May}.
- Safe formatting
Months and page ranges · line 8 · lecun2015deep
Write the page range with an en dash (--): 436-444 → 436--444.
- Needs review
Empty fields · line 8 · lecun2015deep
The field "note" is empty. Remove it?
- Needs review
Redundant fields · line 8 · lecun2015deep
Remove "abstract" (listed in your redundant-field rules)?
- Needs review
Redundant fields · line 8 · lecun2015deep
The URL only points to the DOI, which is already given. Remove the url field?
- Safe formatting
Whitespace and indentation · line 8 · lecun2015deep
Normalise indentation, spacing and line breaks.
- Safe formatting
Field order · line 8 · lecun2015deep
Put fields in the standard order (author, title, journal, year, …); unknown fields keep their order at the end.
- Needs review
Incomplete entries · line 22 · vaswani2017attention
@article usually needs journal or journaltitle.
- Needs review
URLs · line 22 · vaswani2017attention
The URL https://papers.nips.cc/paper/7181-attention is all you need.pdf contains spaces; encode them as %20 or remove them.
- Safe formatting
Whitespace and indentation · line 22 · vaswani2017attention
Normalise indentation, spacing and line breaks.
- Safe formatting
Months and page ranges · line 31 · He_2016_CVPR
Write the month as jun (BibTeX month macro) instead of {June}.
- Safe formatting
Months and page ranges · line 31 · He_2016_CVPR
Write the page range with an en dash (--): 770–778 → 770--778.
- Needs review
Redundant fields · line 31 · He_2016_CVPR
Remove "mendeley-groups" (listed in your redundant-field rules)?
- Safe formatting
Whitespace and indentation · line 31 · He_2016_CVPR
Normalise indentation, spacing and line breaks.
- Safe formatting
Field order · line 31 · He_2016_CVPR
Put fields in the standard order (author, title, journal, year, …); unknown fields keep their order at the end.
- Safe formatting
Whitespace and indentation · line 42 · jmlr-vol
Normalise indentation, spacing and line breaks.
- Informational
Incomplete entries · line 46 · srivastava2014dropout
@article usually needs journal or journaltitle, which may come from its cross-reference.
- Needs review
URLs · line 46 · srivastava2014dropout
The URL www.jmlr.org/papers/v15/srivastava14a.html has no scheme; add https://.
- Safe formatting
Whitespace and indentation · line 46 · srivastava2014dropout
Normalise indentation, spacing and line breaks.
- Safe formatting
Field order · line 46 · srivastava2014dropout
Put fields in the standard order (author, title, journal, year, …); unknown fields keep their order at the end.
- Safe formatting
Months and page ranges · line 54 · goodfellow2016chapter
Write the page range with an en dash (--): 224-270 → 224--270.
- Informational
Incomplete entries · line 54 · goodfellow2016chapter
@incollection usually needs booktitle, year or date, which may come from its cross-reference.
- Informational
Incomplete entries · line 54 · goodfellow2016chapter
crossref refers to "goodfellow2016book", which is not in this file.
- Safe formatting
Whitespace and indentation · line 54 · goodfellow2016chapter
Normalise indentation, spacing and line breaks.
- Safe formatting
Field order · line 54 · goodfellow2016chapter
Put fields in the standard order (author, title, journal, year, …); unknown fields keep their order at the end.
- Informational
Field names · line 61 · bishop2006pattern
"readstatus" is not a standard BibTeX or BibLaTeX field. Styles usually ignore it; it is kept.
- Safe formatting
Whitespace and indentation · line 61 · bishop2006pattern
Normalise indentation, spacing and line breaks.
- Safe formatting
Field order · line 61 · bishop2006pattern
Put fields in the standard order (author, title, journal, year, …); unknown fields keep their order at the end.
- Safe formatting
Whitespace and indentation · line 71 · schr2020note
Normalise indentation, spacing and line breaks.
- Safe formatting
Field order · line 71 · schr2020note
Put fields in the standard order (author, title, journal, year, …); unknown fields keep their order at the end.
- Needs review
Incomplete entries · line 78 · lecun2015deep
@article usually needs author, journal or journaltitle.
- Safe formatting
Whitespace and indentation · line 78 · lecun2015deep
Normalise indentation, spacing and line breaks.
Citation keys are never changed and no entry is ever deleted. Malformed entries are written back exactly as they were. Field removals and other judgement calls are applied only when you tick them.
Before and after
Cleaned bibliography
The report lists every finding with its line, key and whether you applied it. The ZIP holds the cleaned and original files and both reports. Nothing is saved in your browser.
How to use this tool
- 1Paste your bibliography, open a .bib file or load the example.
- 2Choose the operations to run, the sort order and BibTeX or BibLaTeX as the target.
- 3Go through the diagnostics and tick or untick each proposed change; the side-by-side view updates as you go.
- 4Copy or download the cleaned .bib file, and the report as CSV or JSON if you need a record.
Frequently asked questions
No. Keys are never renamed, even when two entries share one; the duplicate is reported so you can decide which to rename. No entry is ever deleted, and an entry with a syntax error is written back exactly as it was.
Changes that do not alter what BibTeX or Biber reads: indentation and aligned = signs, the standard field order, removing https://doi.org/ from DOI fields, month macros such as may (or numbers for BibLaTeX) and -- in page ranges. They are ticked by default, and you can untick any of them.
Anything that removes information: empty fields, fields in your redundant-field list (abstract, file, mendeley-groups and so on) and URLs that only repeat the DOI. They are listed under Needs review and are applied only when you tick them. Duplicate keys, duplicate DOIs, incomplete entries and bad URLs are reported for you to fix by hand.
Yes. The file is read by a tokenizer that keeps the exact text of every value, so case-protecting braces such as {IEEE}, escaped characters such as {\"o} and \&, math, @string macros, # concatenation, @preamble, @comment blocks and % comments are written back unchanged. Only whitespace between words is tidied when formatting, never inside URL, DOI or file fields.
Yes. It knows the BibLaTeX data model, including journaltitle, date, xdata, xref and entry types such as @online and @report, and checks that crossref, xref and xdata targets exist in the file. Choose the BibLaTeX target to write months as numbers, as Biber expects.
A second, independent parser reads each entry and reports any it cannot understand. It is only used to report problems; it never rewrites your file. A warning from it means the entry is worth checking, not that BibTeX will fail.
No. Parsing, checking and formatting all run in your browser, and nothing is saved. The bibliography is gone when you close or refresh the page unless you download it.
Related tools
BibTeX De-duplicator — Remove Duplicate Entries
Remove duplicate BibTeX entries from your bibliography file based on DOI. Upload a .bib file and get a clean, deduplicated version.
Citation Toolkit — BibTeX, RIS, APA, Retraction Checker
All-in-one citation tool for researchers. Convert BibTeX ↔ RIS, format in APA/MLA/Chicago/Vancouver, validate BibTeX, check retractions, look up journal abbreviations, and fetch from PMID, arXiv, or ISBN.
Academic Article Finder — Search Crossref, Europe PMC & DataCite
Search Crossref, Europe PMC and DataCite (and optionally OpenAlex) at once by title, DOI, author or reference. Compare source-attributed records, check which fields each one has, edit the metadata, and export BibTeX, BibLaTeX, RIS, APA, MLA, Chicago, Vancouver or CSL-JSON.
DOI to BibTeX Converter
Convert DOI (Digital Object Identifier) to BibTeX citation format. Supports multiple DOIs.