BibTeX Cleanup Prompt
Normalize supplied bibliography entries while preserving names, identifiers and uncertain metadata.
What this prompt does
Metadata preservation
Keep supplied names and identifiers intact.
Stable keys
Apply a consistent convention and resolve collisions.
Uncertainty list
Keep missing fields visible instead of fabricating them.
What to provide & what you get
- Input
- Existing BibTeX or reference records and the project’s citation-key convention.
- Expected output
- Consistent BibTeX entries plus a separate list of unresolved metadata or key collisions.
How to use
- Provide references and the project’s bibliography conventions.
- Check author names, entry types and key collisions.
- Parse or compile the output with the project’s actual bibliography toolchain.
Check the result: Compare every field to its source and verify that the resulting entries parse in your toolchain.
Copy. Paste. Run.
v1.0.0-gas1Edit the inputs below, then copy into your AI tool with the requested source material.
Before you start
- Existing BibTeX or reference records and the project’s citation-key convention.
Worked example · Editorial fixture
Resolve duplicate keys while leaving missing identifiers unresolved
Original fictional inputs and a prepared editorial answer. This reusable prompt was not run against the fixture. Use the files and case-specific checks to review your own result.
Example input
Three fictional bibliography records, not real publications. Toolchain requested: UTF-8 biblatex. Keys: first author surname + year; same-author/year suffix by supplied order.
@article{smith2024, author={Alex Smith and María García}, title={River Notes}, year={2024}}
@article{smith2024, author={Smith, Alex and García, María}, title={Field Logs}, year={2024}}
@book{lee2023, author={Jordan Lee}, title={Mapping Basics}, year={2023}, publisher={Example Press}}Prepared output
@article{smith2024a,
author = {Smith, Alex and García, María},
title = {River Notes},
year = {2024}
}
@article{smith2024b,
author = {Smith, Alex and García, María},
title = {Field Logs},
year = {2024}
}
@book{lee2023,
author = {Lee, Jordan},
title = {Mapping Basics},
year = {2023},
publisher = {Example Press}
}
ISSUES: Both articles lack journal and DOI. None were invented. No DOI was supplied for the book. Confirm author-name parsing and project style in the actual bibliography toolchain.What to check in this case
- Three unique keys remain: smith2024a, smith2024b, lee2023. The accents in García are preserved.
- Local checks cover keys, balanced braces and supplied values only. No BibTeX/biber parse or TeX compilation is claimed.
Keep in mind
- The prompt cannot verify missing bibliographic facts without a source.
- BibTeX and biblatex conventions can differ across projects.


