Typing a BibTeX entry from a paper PDF is busywork and a frequent source of citation errors (typos in author names, a wrong year, mangled diacritics, a miscategorized entry type). Most academic papers have a stable identifier you can use instead. Published work has a DOI (digital object identifier, e.g., 10.1145/3292500.3330701), and preprints have an arXiv ID (e.g., 2103.00020). Paste either one into the free BibTeX Builder and you get a well-formed BibTeX entry back in about a second. This guide covers the workflow, what to verify after import, and the common edge cases.
Where the metadata comes from
Each identifier routes to a different authoritative source.
- DOI → CrossRef, the registry where publishers submit canonical metadata. CrossRef returns the title, full author list, journal or proceedings name, volume, issue, page range, year, publisher, and the DOI itself.
- arXiv ID → arXiv's own API. It returns the title, authors (cleanly formatted), abstract, category, and submission date. An arXiv preprint often has a separately registered DOI on the journal version (see "Preprint vs published" below).
Because the data comes from the publisher's own submission, it is typically accurate. The Builder does not keep any of it. Your identifier is sent to CrossRef or arXiv, the response is formatted as BibTeX, and the result is returned to your browser.
Step-by-step
- Find the DOI. On the publisher's article page it is usually shown near the title (e.g., "doi.org/10.1145/3292500.3330701") or in the citation block. In a PDF, the DOI is often in the header or footer of the first page. The format is
10.{registrant}/{suffix}. You can include the leadinghttps://doi.org/or paste the bare DOI, and the Builder strips the prefix either way. - Or find the arXiv ID. In the URL:
arxiv.org/abs/2103.00020. In the PDF header it is usuallyarXiv:2103.00020. Either format works. - Paste into the Builder. Open the BibTeX Builder and paste your identifier. To batch-import a reading list, paste several identifiers separated by newlines.
- Click "Build." The tool queries CrossRef or arXiv with a proper User-Agent header (the string that identifies the client) and formats the response as BibTeX.
- Copy into your
.bib. Paste the entry into your bibliography file and rename the auto-generated key if you have a project naming convention (see below).
What to verify after import
CrossRef and arXiv metadata is generally clean. Four things are worth a quick check.
Author names with diacritics
Names like "Müller", "Lévy", and "Søndergaard" usually come back correctly encoded in UTF-8. If your build uses classic 8-bit BibTeX (not Biber), convert these to LaTeX accent macros ({\"u}, {\'e}, {\o}). You can also switch to Biber, which handles UTF-8 natively. The validator accepts either form, but legacy BibTeX mangles UTF-8 silently.
Title capitalization
BibTeX styles lowercase title words automatically unless you protect them with braces. If a title contains a proper noun, acronym, or programming language name, wrap it in braces.
title = {Bert: pre-training of deep bidirectional transformers for language understanding}
title = {{BERT}: Pre-training of Deep Bidirectional Transformers for Language Understanding}
This is the most common post-import edit. The Builder does not make this judgment automatically because what to protect depends on your bibliography style.
Entry type
For a preprint, CrossRef may return @misc or @article depending on the registrant. For a workshop paper, you may get @inproceedings or @article depending on venue classification. Adjust the type to match what your bibliography style expects. For example, ACM's acmart style cares whether a paper is @inproceedings or @article.
Citation key
The Builder generates a default key from the first author and year (e.g., vaswani2017). If you use a longer convention (vaswani2017attention, vaswani-attention-2017), rename it. Consistency across your .bib matters more than the exact format. The validator flags duplicate keys if you collide with an existing entry, including a key that differs only in letter case.
Edge case: preprint vs published version
Many papers exist as both an arXiv preprint and a peer-reviewed publication with a different DOI. The published version is canonical for citation (it is the version of record). However, the arXiv preprint is often open-access where the publisher's PDF is paywalled.
A good .bib entry for such a paper has two parts.
- Use the published version's DOI as the primary identifier and the published venue as the source.
- Add an
eprintfield with the arXiv ID. BibLaTeX renders this as an additional eprint link in the reference list.
@article{vaswani2017,
author = {Vaswani, Ashish and Shazeer, Noam and others},
title = {Attention Is All You Need},
journal = {Advances in Neural Information Processing Systems},
volume = {30},
year = {2017},
doi = {10.48550/arXiv.1706.03762},
eprint = {1706.03762},
eprinttype = {arxiv},
}
What if the DOI doesn't resolve?
Most failures are typos, such as a missing character or a confused 0/O or 1/l. Paste the DOI into https://doi.org/ in your browser. If it does not redirect to a real page, the DOI is wrong, so check the original source again. If the DOI is correct but CrossRef has no record, it may be too new (CrossRef ingestion can lag a few days). The publisher may also not have registered it, which happens with smaller venues.
The BibTeX Validator's "Check DOI resolution" flag spots AI-generated or hallucinated DOIs. Every DOI that returns a 404 against doi.org is reported with its HTTP status. Combine this with the CrossRef title-match check to catch a hallucinated citation before submission.
Batch import
A reference manager (Zotero, Mendeley, Paperpile, etc.) usually produces clean BibTeX for a reading-list export. However, if you collected a list of DOIs or arXiv IDs by hand, paste them into the Builder one per line. It fetches all of them in parallel (with rate-limiting against CrossRef) and returns a single concatenated .bib you can save.
Once the entry is in your file, run the whole .bib through the validator to verify the new entry does not conflict with anything you already had (duplicate keys, missing required fields, dead DOIs). The validator returns an annotated .bib with one comment per entry summarizing its state, which suits a final pre-submission check. For the manuscript as a whole, including whether each cited source supports its claim, Paper Review ($14 to $39, no account) is the fuller pre-submission check.