How it works

How the formatter works

Updated

The formatter rests on three rules: format automatically, verify independently, correct transparently. This page explains what that means for your reference list, and where the formatter stops.

1. Reading your list

The pasted text is split into references: a blank line, a number such as "1." or "[1]", or a new author at the start of a line begins a new one. "Review the references" shows how it was split before you format, so a joined or broken reference can be fixed in the box. Up to 1,000 references can be formatted at once.

Each reference is then read from your own text into its parts: authors and editors, year, title, journal or book, volume, issue, pages, edition, publisher, DOI and the like, and the kind of work it is (article, book, chapter, conference paper, thesis, report, web page).

2. Formatting in your style

The parts are written out in the style you choose, from more than 10,000 styles of the Citation Style Language (CSL) project, by the same open-source engine that reference managers use. Changing the style, the output language or the sorting re-formats the list at once, without looking anything up again. The output language changes words such as "and" or "pp." and the quotation marks; titles are never translated.

3. Completing a reference from a database record

Each reference is also looked up, as needed, in Crossref, OpenAlex, DataCite, doi.org, Open Library and, for a book or thesis the others miss, Google Books. A record's details are used only when the record is reliably the same publication, and, for books, the same edition. Nothing is taken from a record when the identity is in doubt: for example when two records compete, when the record lacks the details, or when it is another edition or translation, a review of the work, the conference version of an article, or the whole book rather than the chapter. A DOI of an unrelated publication is never carried over. One exception is made on purpose: when a database explicitly links a preprint to its published article, the published article's details, including its DOI, are used; the change is listed and can be undone. When nothing is taken, the reference is formatted from your text alone.

4. Every change is shown, and can be undone

5. No reference is lost or moved

The number of references out always equals the number in, and the order is yours unless you turn on "Sort per style rules". A reference that can't be read with confidence, that the style can't format without losing a detail, or that the style fails on, is kept as you wrote it (list numbers and line breaks aside), in its place, and highlighted in yellow: on screen, in the Word file and in the copy with italics, so you can fix it by hand. BibTeX and RIS, which hold fields rather than text, leave such references out, and say so before you download.

6. What the formatter doesn't do

7. Your references

Nothing you paste is stored, and there is no account. Formatting runs in your browser; each reference's text, or only its DOI or ISBN, is sent only to the databases above. Lookups in Google Books, and in OpenAlex when asking it directly fails or its free daily allowance for your connection runs out, go through our own small server, which adds the site's access key and passes them on without logging or keeping them; it remembers OpenAlex's public answers for up to a week, filed under a fingerprint of the search rather than its text. While the page is open, answers are also remembered in your browser, so formatting the list again asks only about what changed; they are gone when you leave. The only thing kept after you leave, in your own browser, is the names of the last few styles you used, for the "Recent" choices.

8. How it is tested

Automated tests check, for any input, that every reference comes out exactly once, and in its place unless sorting is on. Quality tests on real reference lists, in six styles, check that each formatted reference keeps every detail of its fields, that every detail from a record comes from the one record selected and is recorded with its source, and that the original is always kept.