Citation.js (GitHub, NPM) converts formats like BibTeX, BibJSON, DOI, and Wikidata to CSL-JSON to convert to styles like APA, Vancouver and to BibTeX and RIS.

Read the paper Citation.js: a format-independent, modular bibliography tool for the browser and command line DOI 10.7717/peerj-cs.214 .

NPM version NPM total downloads Build Status

Features

Supported input and output

Identifiers

File formats

Formats Input Output Plugin
JSON check_circle check_circle
CSL-JSON check_circle check_circle
BibJSON check_circle highlight_off @citation-js/plugin-bibjson
Formatted bibliographies and citations with CSL and citeproc-js highlight_off check_circle @citation-js/plugin-csl
BibTeX, BibLaTeX, Bib.TXT check_circle check_circle @citation-js/plugin-bibtex
.enw files check_circle check_circle @citation-js/plugin-enw
QuickStatements v1 highlight_off check_circle @citation-js/plugin-quickstatements
RIS (1st and 2nd version) check_circle check_circle @citation-js/plugin-ris
refer file format check_circle check_circle @citation-js/plugin-refer
RefWorks tagged format check_circle check_circle @citation-js/plugin-refworks
CFF (Citation File Format), Zenodo Deposit JSON check_circle check_circle @citation-js/plugin-software-formats
Citation Style 1 templates of the English Wikipedia highlight_off check_circle @citation-js/plugin-wikipedia-templates

Usage

  • @citation-js/replacer, a simple HTML API for Citation.js, to format citations on your page as easily as possible.
  • ISAAC Chrome Extension, a web extension to aid the entry of data regarding publications on the Dutch NWO ISAAC platform.
  • BibTeX generator, easily generate a BiTeX file from various inputs.

In the wild

  • PubPub, a platform for open publishing.
  • Scholia, an interface that displays and augments data from Wikidata.
  • wcite, a CLI for fetching and managing bibliographic records from Wikidata.
  • Reference Extractor, an online tool to extract references from Microsoft Word and LibreOffice documents.
  • Forgejo, a self-hosted Git server.

Similar projects & alternatives