BlogCitApp

Citation guides

How to Cite a Website: APA, MLA and Harvard Examples

Step-by-step examples for citing a web page in APA 7, MLA 9 and Harvard style, including what to do when there is no author or date.

12 June 2026 6 min read

Websites are the sources students cite most, and the ones style guides make the most confusing. The good news: every style wants the same four ingredients. Find who wrote the page, when it was published, what it is called and where it lives (the site name and URL). Once you have those, the rest is punctuation.

What to collect before you start

  • Author: a person if one is named, otherwise the organisation behind the site.
  • Date: the publication or last-updated date, not the copyright year in the footer.
  • Title of the page: the headline on the page itself, not the browser-tab text.
  • Site name and URL: the clean address, without tracking parameters like ?utm_source=…

APA 7th edition

APA puts the date right after the author and ends with the site name and URL. The page title is in italics. See the APA citation generator for more source types.

APA reference list entry

Svensson, L. (2025, March 4). How sleep affects memory consolidation. Sleep Foundation. https://www.sleepfoundation.org/memory

APA in-text citation

(Svensson, 2025) or: Svensson (2025) shows that …

No individual author

Use the organisation as the author. When the organisation and the site name are identical, leave the site name out to avoid repeating it.

APA, organisation as author

World Health Organization. (2024, May 17). Physical activity fact sheet. https://www.who.int/news-room/fact-sheets/detail/physical-activity

No date

Write (n.d.) in place of the year. If the content is likely to change over time, add a retrieval date.

APA, undated and changing content

Merriam-Webster. (n.d.). Citation. In Merriam-Webster.com dictionary. Retrieved June 12, 2026, from https://www.merriam-webster.com/dictionary/citation

MLA 9th edition

MLA puts the page title in quotation marks and the site name in italics, with the date written day-month-year. The MLA citation generator handles the inverted author name for you.

MLA works cited entry

Svensson, Lena. "How Sleep Affects Memory Consolidation." Sleep Foundation, 4 Mar. 2025, www.sleepfoundation.org/memory.

MLA in-text citation

(Svensson) — websites have no page numbers, so the name alone is enough.

When the page has no publication date, add an access date at the end: Accessed 12 June 2026.

Harvard style

Harvard (author-date) always ends a web reference with "Available at:" plus the URL and an accessed date. Universities vary in small details, so check your department guide or use the Harvard reference generator set to your variant.

Harvard reference list entry

Svensson, L. (2025) How sleep affects memory consolidation. Available at: https://www.sleepfoundation.org/memory (Accessed: 12 June 2026).

Harvard in-text citation

(Svensson, 2025)

When information is missing

  • No author: use the organisation; failing that, start the reference with the page title.
  • No date: APA and Harvard use (n.d.); MLA skips the date and adds an access date instead.
  • No page title: describe the page in square brackets, e.g. [Home page].

Common mistakes to avoid

  • Copying the browser-tab title, which often has the site name bolted on ("… | Sleep Foundation").
  • Citing the homepage when you actually used a specific article deeper in the site.
  • Using the footer copyright year ("© 2026") as the publication date.
  • Pasting URLs full of tracking junk; strip everything from the question mark onwards unless it is needed to reach the page.
  • Forgetting the accessed date in Harvard style, which most Swedish and UK universities require.

Frequently asked questions

Do I always need an access date when citing a website?

No. APA 7 only asks for a retrieval date when the page is designed to change over time, such as a dictionary entry or a social media profile. Harvard style asks for an accessed date on every web source. MLA 9 makes the access date optional but recommends it when the page has no publication date.

How do I cite a whole website rather than one page?

In APA 7 you usually do not add a reference list entry for an entire website. Mention the site by name in your text and give the URL in parentheses. Only individual pages or documents you actually used get full references.

What if the web page has no author at all?

First look for an organisation that can stand as author, such as the WHO or a government agency. If there is genuinely no author, move the title of the page into the author position and alphabetise the reference by title.

Can I cite a page behind a paywall or login?

Yes. Cite it like any other web page with the public URL. Readers may need a subscription to reach it, just as they would for a printed book they do not own. Never paste shortened or tracking URLs; use the clean, canonical address.