Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Citation.js

citation.js.org

  • Free plan
  • Linux
  • Web
  • API
7.1 Club score Visit citation.js.org

What Citation.js is

Citation.js is free, MIT-licensed software for converting reference data and formatting citations. It can transform BibTeX, BibJSON, DOI, and Wikidata inputs into CSL-JSON, then apply styles such as APA and Vancouver. Listed identifiers also include ISBN, PubMed and PMC identifiers, Wikidata QIDs, GitHub repository URLs, and npm package URLs. Supported formats include JSON, CSL-JSON, BibJSON, BibTeX, BibLaTeX, RIS, YAML, CFF, and Zenodo Deposit JSON. Identifier resolvers can obtain metadata through DOI Content Negotiation, Google Books, OpenLibrary, NCBI’s Literature Citation Explorer, and the Wikidata MediaWiki API. Its modular structure separates a core npm package from plugins for formats and identifier sources, allowing selected components. The project supports Node.js and browsers and provides a command-line interface. The CLI reads a file, text, or standard input and writes to a file or standard output. Preloaded styles and locales support formatted references. The site lists an HTML API wrapper, a Chrome extension, and a BibTeX generator as example applications.

Who it suits

It suits developers, researchers, and technical writers who need programmable reference conversion, identifier lookup, or citation formatting.

Good to know, and what to watch

  • MIT-licensed and free
  • Supports many citation and identifier formats
  • Runs in Node.js and browsers
  • Modular plugins for formats and sources
  • Includes command-line input and output
  • Requires choosing and configuring formats
  • Metadata depends on listed external resolvers

Free

Free

Open source

The verdict

Citation.js provides broad reference conversion through packages, APIs, browsers, and the command line. Its modular design is useful when a project needs only selected formats or identifier sources.

What the maker publishes

CLI limits
The documented CLI reads an input file, text, or standard input and writes to an output file or standard output. source
External metadata sources
Identifier resolvers include DOI Content Negotiation, Google Books, OpenLibrary, NCBI's Literature Citation Explorer, and the Wikidata MediaWiki API. source
Integration example
The site lists an HTML API wrapper, a Chrome extension for publication data entry on the Dutch NWO ISAAC platform, and a BibTeX generator as example applications. source
Known users
The site lists users including Forgejo, Gitea, Getty Quire, NASA's General Coordinates Network, the European Environment Agency, USGS, Open Science Framework, and Jupyter Book's MyST. source
License
The project states that it is MIT licensed. source
Modular
Its modular design lets users select which formats to include. source
Output styles
It includes preloaded styles and locales for formatted references. source
Package structure
The documentation describes a core npm package and separate plugins for formats and identifier sources. source
Purpose
Citation.js converts reference formats such as BibTeX, BibJSON, DOI, and Wikidata to CSL-JSON and can format references in styles such as APA and Vancouver. source
Runtime
The project supports Node.js and browsers and provides a command-line interface. source
Supported formats
Listed formats include JSON, CSL-JSON, BibJSON, BibTeX, BibLaTeX, RIS, YAML, CFF, and Zenodo Deposit JSON. source
Supported identifiers
Listed identifier inputs include DOI, ISBN, PubMed and PMC identifiers, Wikidata QIDs, GitHub repository URLs, and npm package URLs. source

Checked against the maker's pages on 5 Oct 2026.