cffconvert
This page is an online equivalent of the command line tool cffconvert.
With this page, you can read a CFF formatted CITATION file from a supplied
string or a GitHub url, and convert it to Apalike, BibTeX, EndNote, Codemeta, RIS, schema.org, or
Zenodo JSON. The way to do that is by supplying various
combinations of arguments as query parameters in the URL (see examples
below).
Version
Display the version of the cffconvert tool, as follows
Converting from a URL
For the examples below, we use the repository
https://github.com/citation-file-format/cff-converter-python as the source
from which to read the CITATION data. By using the
outputformat parameter, we can
convert to various other formats, as follows.
Or if you just want to check the CITATION.cff for a certain repository,
simply set the outputformat
parameter to cff:
The following GitHub URL formats are supported:
Converting from a supplied string
Instead of a GitHub URL, it's also possible to use a string as the data
source. For this, you need to make sure that the CFF data (which is in YAML
format) has been encoded as a URL string, for example using an online
service like https://onlineyamltools.com/url-encode-yaml.
The way this works is very similar to using outputformat, except now the
data is
part of the URL, like so:
Validating
Validation is also supported. Just include the validate parameter, as
follows