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 entry

DOI 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 fieldBibTeX fieldIn the LeCun example
titletitleDeep learning
author[].family / givenauthor, joined with andLeCun, Yann and Bengio, Yoshua and Hinton, Geoffrey
container-titlejournalNature
issued date-partsyear2015
volume / issuevolume / number521 / 7553
pagepages, double hyphen436--444
DOIdoi, plus a url field10.1038/nature14539
typeentry typejournal-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 typeBibTeX entry typeNote
journal-article@articleThe common case
proceedings-article@inproceedingsContainer is the proceedings title
book@bookPublisher takes the container position
book-chapter@inbookTitle is the chapter, container is the book
report@techreportInstitution goes in the institution field
dataset@miscRepository is the howpublished note
dissertation@miscChange to @phdthesis and add school
posted-content@articlePreprint: 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?
The first author's surname, the year and the first word of the title — LeCun2015Deep for the LeCun 2015 paper. Rename it freely; it is only a label and nothing else in the entry depends on it.
Why does an arXiv DOI return nothing?
Because 10.48550 identifiers are registered with DataCite, not Crossref. Paste the arXiv abs URL or an arXiv:2301.00001 identifier instead, and the record is read from the arXiv API.
Does the .bib entry keep the DOI?
Yes, twice: once as the doi field and once as a url field holding the https://doi.org/ link. Both survive a round trip through a reference manager.
What if Crossref has no page numbers?
Some deposits carry only an article number or no page at all, so the pages field is missing and you add it by hand. Older records sometimes lack a volume too.
Can I convert a list of DOIs at once?
The DOI box resolves one identifier per lookup. For a longer list, paste it as APA text or BibTeX, which is parsed in a single pass.
Is a DOI to BibTeX lookup private?
Only the identifier is sent, to the Crossref API, to fetch the publisher's metadata. There is no account, no upload of your bibliography, and no server-side copy of your list.

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