1. Home
  2. Writing & text tools
  3. Wikipedia Citation Template Generator

Wikipedia Citation Template Generator

Add properly formatted sources to Wikipedia or any MediaWiki site. Fill in a short form, or look up a DOI or ISBN, and copy wikitext that passes the citation bots.

Free, no sign-up. Runs in your browser; see “Private by design” for the one online step.

How to use Wikipedia Citation Template Generator

  1. Choose web page, news, journal, book or video.
  2. Fill in the fields, or auto-fill from a DOI or ISBN.
  3. Copy the template into the article.

Features

  • cite web, cite news, cite journal, cite book and cite AV media
  • last1/first1 author parameters, date and access-date in the article’s format
  • archive-url and archive-date for link rot
  • Named <ref> tags you can reuse later in the article
  • Import from BibTeX, RIS or CSL-JSON

Supported formats

Input

  • Typed form
  • DOI
  • ISBN
  • BibTeX (.bib)
  • RIS
  • CSL-JSON

You get

  • Wikitext

Private by design

Filling in the form is fully local. If you use DOI or ISBN auto-fill, only that number is sent to Crossref (api.crossref.org) or Open Library (openlibrary.org). How local processing works

Good to know

  • DOI and ISBN lookups need an internet connection.

Guide

Writing Wikipedia citation templates that pass review

Wikipedia articles live or die by their sources, and the citation templates are how those sources are recorded. A well-formed template lets readers find the source, lets bots repair dead links, and keeps the reference list consistent. This generator writes the wikitext for you from a short form, a DOI, an ISBN or an existing reference file.

Picking the right template

Use {{cite web}} for web pages that are not news, {{cite news}} for newspapers, magazines and news agencies, {{cite journal}} for academic articles, {{cite book}} for books and {{cite AV media}} for videos, films and broadcasts. Each has its own parameters: news sources have a work (the paper’s name), journals a journal, volume and issue, books a publisher, location, edition and isbn.

Authors and dates

People are written as last1, first1, last2, first2 and so on, which is what Wikipedia’s citation bots and the Harvard-style short footnotes expect. An organisation as author goes in author. Dates follow the article’s convention: day-month-year (29 October 2026), month-day-year (October 29, 2026) or ISO (2026-10-29). Most articles say which near the top with {{Use dmy dates}} or {{Use mdy dates}}.

Access dates and archives

Online sources should carry an access-date, the day you read them. Because links rot, add an archived copy too: save the page in the Wayback Machine, paste the archive address, and the template gains archive-url, archive-date and url-status=live. If the original later disappears, an editor only has to change url-status to dead.

Filling the form faster

Paste a DOI to fetch a journal article’s details from Crossref, or an ISBN to fetch a book from Open Library; only that number is sent. If you already have the source in a reference manager, paste its BibTeX, RIS or CSL-JSON at the bottom and press the import button.

Ref tags and reuse

By default the template is wrapped in <ref> tags, ready to paste after the sentence it supports. Switch on a named ref and the tag gains a name built from the surname and year, such as Raman2025; the tool shows the short form to reuse later. Turn on “One parameter per line” for long templates that are easier to edit vertically.

A worked example

A WHO fact sheet published on 26 June 2024, read on 29 October 2026, produces {{cite web |date=26 June 2024 |title=Physical activity |website=World Health Organization |url=… |access-date=29 October 2026}}. Switching the date format to mdy changes both dates to “June 26, 2024” and “October 29, 2026”.

What makes a citation useful to other editors

A citation should let someone else find the exact source and check the claim. That means the specific page or article, not a home page; the author and date where they exist; and the publisher or website so readers can judge reliability. For books, add the page number that supports the sentence. For paywalled journals, a DOI is better than a URL because it keeps working when the publisher’s site changes.

Common problems the template avoids

Bare URLs in ref tags, dates in mixed formats, and titles copied with the site name stuck on the end are the usual reasons bots and reviewers tag a reference. Filling the fields separately keeps the title clean and the date consistent, and a pipe character inside a value is written as {{!}} so it cannot break the template.

Format the same sources for an essay with the Citation Generator or a full list with the Bibliography Formatter, turn spreadsheet data into a wikitable with CSV to MediaWiki, or convert reference files with the BibTeX Converter.

Checked against the current version of the Wikipedia Citation Template Generator on .

Frequently asked questions

Which template should I use for a blog post?

Use cite web, with the blog’s name in the website field. Be careful with the source itself: Wikipedia generally treats self-published blogs as unreliable unless the author is an established expert writing in their field.

What is a named ref for?

It lets you cite the same source several times while it appears once in the reference list. The first use carries the full template; later uses are just the short self-closing tag with the same name.

Can I paste the result into the visual editor?

The visual editor has its own Cite button. Paste the wikitext in source editing mode, or in the visual editor insert it through the Template dialog. Most experienced editors use source mode for citations.

Which date format should I use?

Use the one the article already uses. Most articles carry a “Use dmy dates” or “Use mdy dates” template near the top; British, Irish, Australian and many international topics use dmy (29 October 2026), American topics mdy (October 29, 2026).

Do I need an archive link?

It is not required, but Wikipedia editors strongly encourage it for web sources, because links break. Save the page in the Wayback Machine at web.archive.org and paste the archive address here.

Is anything sent over the internet?

Filling in the form is fully local. If you use DOI or ISBN auto-fill, only that number is sent to Crossref (api.crossref.org) or Open Library (openlibrary.org).

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.