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

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

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).

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).

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 About the author

Image of daniel-elias

Daniel Elias

Daniel is a qualified librarian, former teacher, and citation expert. He has been contributing to MyBib since 2018.