How to cite a website in APA, MLA, or Harvard style

Image of daniel-elias
✔️ Answered on July 24, 2018 (updated on December 30, 2020) by Daniel Elias · 6 min read

There are many different ways to cite a website, depending on which citation style you need to format it in.

The easy way to cite a website in any citation style

Use our citation generator below to automatically cite a website in any style, including APA, MLA 7 and 8, and Harvard. Just select the style you need, copy the URL into the search box, and press search. We’ll do the rest.

The manual way to cite a website

To cite a website by hand just follow the instructions below. For the 3 most popular styles–APA, MLA 8, and Harvard–this is as follows:

In APA style

You need to locate these details for the website: page or article author, page or article title, website name, published date, access date, page URL (web address).

  • The author can typically be found on the page, but if there isn’t one listed you can use the website name in its place.
  • The page title can be found near the top of the page, and you can also find it by hovering your mouse over the browser tab.
  • The website name can usually be found in the web address or by looking for a logo or similar at the very top of the page.
  • There often isn’t a publish date, but if there is it’ll be very close to the page title.
  • The access date is the date you took information from the article (usually today).
  • The page URL can be copied straight from the address bar of your browser and will start with either http:// or https://.

Then use this template, replacing the colored placeholders with the information you found on the page:

Author last name, author first name initial. (published year, published month and day). Page title. Retrieved accessed month and day, accessed year, from article URL.

The final formatted citation should look like this:

Ingle, S. (2018, February 11). Winter Olympics was hit by cyber-attack, officials confirm. Retrieved July 24, 2018, from https://www.theguardian.com/sport/2018/feb/11/winter-olympics-was-hit-by-cyber-attack-officials-confirm.

Example of a website citation in APA style

For a more comprehensive guide, including what to do when you can’t find certain details, have a look at our more in-depth guide to citing a website in APA format.

In MLA 8 style

Here are the specific details you need to find on the page: page or article author, page or article title, website name, published date, access date, page URL (web address).

  • The author can typically be found on the page, but if there isn’t one listed you can use the website name in its place.
  • The page title can be found near the top of the page, and you can also find it by hovering your mouse over the browser tab.
  • The website name can usually be found in the web address or by looking for a logo or similar at the very top of the page.
  • There often isn’t a publish date, but if there is it’ll be very close to the page title.
  • The access date is the date you took information from the article (usually today).
  • The page URL can be copied straight from the address bar of your browser and will start with either http:// or https://.

Then use this template:

Author last name, author first name. “Page title.” website name, published date day, month, year, page URL. Accessed accessed date day, month, year.

The final formatted citation should look like this:

Ingle, Sean. “Winter Olympics Was Hit by Cyber-Attack, Officials Confirm.” The Guardian, 11 Feb. 2018, https://www.theguardian.com/sport/2018/feb/11/winter-olympics-was-hit-by-cyber-attack-officials-confirm. Accessed 13 July 2018.

Example of a website citation in MLA 8 style

For a more comprehensive guide, including what to do when you can’t find certain details, have a look at our more in-depth guide to citing a website in MLA 8 format.

In Harvard style

First, find these details for the website: page or article author, page or article title, website name, published date, access date, page URL (web address).

  • The author can typically be found on the page, but if there isn’t one listed you can use the website name in its place.
  • The page title can be found near the top of the page, and you can also find it by hovering your mouse over the browser tab.
  • The website name can usually be found in the web address or by looking for a logo or similar at the very top of the page.
  • There often isn’t a publish date, but if there is it’ll be very close to the page title.
  • The access date is the date you took information from the article (usually today).
  • The page URL can be copied straight from the address bar of your browser and will start with either http:// or https://.

Then use this template:

Author last name, author firstname initial (published date year). Page title. [online] website name. Available at: page URL [Accessed accessed date day, month, year].

The final formatted citation should look like this:

Ingle, S. (2018). Winter Olympics was hit by cyber-attack, officials confirm. [online] The Guardian. Available at: https://www.theguardian.com/sport/2018/feb/11/winter-olympics-was-hit-by-cyber-attack-officials-confirm [Accessed 13 Jul. 2018].

Example of a website reference in Harvard style