DOI to BibTeX: Turning an Identifier Into a .bib Entry
A DOI is the fastest route to a .bib entry and the one most likely to arrive with pieces missing. A DOI to BibTeX lookup resolves the identifier against Crossref, reads the publisher's deposit, and writes it out as a BibTeX entry. That works well for modern journal deposits and needs a second look for everything else.
Last updated:
Don't want to reformat by hand? Paste your references into the converter and get a formatted result — processed entirely in your browser.
Paste a DOI and get the BibTeX entryDOI to BibTeX: what the lookup returns
The lookup is one request to the Crossref REST API for a single work identifier, asking for JSON. The response is the publisher's deposit rather than a curated catalogue record. From it the converter reads nine things: title, container title, authors split into family and given names, issued date, volume, issue, page, publisher and the identifier itself.
Those nine fields are exactly what a BibTeX entry needs, which is why a bare DOI often produces a finished @article. Everything else in the deposit, from abstracts to licence text to funder data, is discarded. Take 10.1038/nature14539: the lookup returns the LeCun, Bengio and Hinton paper Deep learning, published in Nature in 2015, volume 521, issue 7553, pages 436–444.
The catch is deposit quality. Older records sometimes carry capitalised titles, a missing volume, or an author list without given names. A DOI to BibTeX result can be structurally correct and still need two edits, and knowing which fields to inspect makes that fast.
| Crossref field | BibTeX field | In the LeCun example |
|---|---|---|
| title | title | Deep learning |
| author[].family / given | author, joined with and | LeCun, Yann and Bengio, Yoshua and Hinton, Geoffrey |
| container-title | journal | Nature |
| issued date-parts | year | 2015 |
| volume / issue | volume / number | 521 / 7553 |
| page | pages, double hyphen | 436--444 |
| DOI | doi, plus a url field | 10.1038/nature14539 |
| type | entry type | journal-article becomes @article |
The citation key: LeCun2015Deep
Every BibTeX entry needs a key, and the DOI lookup builds one from the record itself: the first author's surname, the year and the first word of the title. The LeCun paper becomes @article{LeCun2015Deep, ...}. The key never contains the DOI, so it stays short enough to type in a cite command and safe to use in every LaTeX setup.
Rename the key freely before you save the file — it is plain text, and nothing else in the entry depends on it. The one rule is uniqueness: two entries in the same .bib file cannot share a key, and a second paper by the same first author in the same year gets a key from its own title word. If two titles start with the same word, rename one of them by hand.
- Keys are built as SurnameYearFirstTitleWord, for example LeCun2015Deep.
- A key is only a label: renaming it changes no field in the entry.
- Two entries in one .bib file must never share a key.
- Check the key before citing it: a typo there is a missing reference in the PDF.
Which entry type the DOI becomes
Crossref labels every work with a type, and that type decides the BibTeX entry type. The mapping follows the document rather than the publisher, with one trap: posted-content is Crossref's name for a preprint, and it arrives as an @article whose container is the preprint server, so check the container before you cite it as a journal paper.
A thesis DOI is the other edge case. Crossref calls it a dissertation and the converter has no way to know whether it was a PhD or a master's thesis, so it arrives as @misc. Change the type to @phdthesis by hand and add the school field; the rest of the entry is already correct.
| Crossref type | BibTeX entry type | Note |
|---|---|---|
| journal-article | @article | The common case |
| proceedings-article | @inproceedings | Container is the proceedings title |
| book | @book | Publisher takes the container position |
| book-chapter | @inbook | Title is the chapter, container is the book |
| report | @techreport | Institution goes in the institution field |
| dataset | @misc | Repository is the howpublished note |
| dissertation | @misc | Change to @phdthesis and add school |
| posted-content | @article | Preprint: check the container first |
When Crossref has no record for the DOI
Crossref is one registration agency among several, and a DOI to BibTeX lookup can only read its own deposits. An arXiv DOI of the form 10.48550/arXiv.2301.00001 is registered with DataCite, so a Crossref request returns a not-found error however valid the identifier is. Paste the arXiv abs URL (e.g. https://arxiv.org/abs/2301.00001) or an arXiv:2301.00001 identifier instead: the pattern is recognised separately, the version suffix is stripped, and the record is read from the arXiv API.
Zenodo, figshare and Dryad identifiers, including the 10.5281 family, are DataCite records too, so no DOI to BibTeX lookup finds them at Crossref. Those describe datasets, so the entry type is @misc and the container is the repository rather than a journal. A pasted URL works as well: the input is scanned for a DOI-shaped string and trailing punctuation such as a semicolon or full stop is removed before the request, which matters when the identifier came out of a PDF reference list with the sentence still attached.
DOI to BibTeX at list scale
The DOI box resolves a single identifier: it reads the first DOI-shaped string or arXiv identifier in the input and returns one record. A list of forty identifiers would mean forty lookups, so use the other input modes when the references are already in front of you.
Paste them as APA text, one reference per blank line, or as BibTeX, and both are parsed locally in a single pass. Keep the DOI box for the reference that is garbled at the source, where a title is missing or a page range was lost in a copy-paste. For a long list, one DOI to BibTeX lookup per broken entry is usually the whole job.
Lookups and conversions stay in your browser's local history, the most recent twenty, so an identifier you resolved yesterday is one click away. Output leaves as .bib, .ris or plain .txt, and the .ris route moves records into EndNote or Zotero without retyping.
- Paste the identifier, or the whole reference if you only have that.
- Check the entry type before you trust the @article label.
- Fix missing volume or pages in the source record, then re-export.
- Keep the .bib file: it is the source the other styles are generated from.
Frequently asked questions
What citation key does a DOI to BibTeX conversion produce?
Why does an arXiv DOI return nothing?
Does the .bib entry keep the DOI?
What if Crossref has no page numbers?
Can I convert a list of DOIs at once?
Is a DOI to BibTeX lookup private?
Paste a DOI and get the BibTeX entry
Input BibTeX, APA text, a DOI or an arXiv link. Output APA, MLA, Chicago, Harvard, IEEE, BibTeX and GB/T 7714. Nothing is uploaded, no signup.
See the same record as APA 7th