Author thchr
17 Stars
Updated Last
5 Months Ago
Started In
November 2022


Build status Coverage

Get a well-formatted, journal-abbreviated BibTeX string from a DOI:

julia> using DOI2BibTeX
julia> doi = "10.1103/PhysRevLett.45.494"
julia> doi2bib(doi)

With output:

  doi = {10.1103/physrevlett.45.494},
  year = 1980,
  volume = {45},
  number = {6},
  pages = {494--497},
  author = {K. v. Klitzing and G. Dorda and M. Pepper},
  title = {New Method for High-Accuracy Determination of the Fine-Structure Constant Based on Quantized Hall Resistance},
  journal = {Phys. Rev. Lett.}

The BibTeX entry is obtained from a GET request to, following the approach described here.

Journal abbreviations

Journal titles returned by doi2bib are automatically abbreviated using the List of Title Word Abbreviations (disable by setting the abbreviate keyword argument of doi2bib to false).

The functionality is also separately accessible via the exported function journal_abbreviation:

julia> journal_abbreviation("Physical Review Letters")
"Phys. Rev. Lett."

julia> journal_abbreviation("Journal of Physical Chemistry Letters")
"J. Phys. Chem. Lett."

julia> journal_abbreviation("npj Quantum Materials")
"npj Quantum Mater."


The package is registered in Julia's General registry and can be installed from the pkg> prompt:

pkg> add DOI2BibTeX

Used By Packages

No packages found.