How to Cite Websites & Online Sources

A complete guide to citing websites, social media, YouTube, news articles, and every kind of online source in APA 7, MLA 9, Chicago, and Harvard.

⏱ 10 min read📚 Research SkillsUpdated 2025

Why Citing Websites Is Tricky

Websites are among the most cited sources in student papers — and also the most frequently cited incorrectly. Several features of the web make them harder to cite than books or journal articles:

This guide walks through how to handle all of these challenges, style by style, source type by source type.

Core Elements Needed to Cite a Website

Before looking up the specific format for your citation style, gather these key pieces of information from the web page:

  1. Author(s): Individual name(s) or the name of the organisation responsible for the content.
  2. Publication date: The date the page was published or last updated. If absent, note it (in APA: "n.d." for no date).
  3. Title of the page: The specific title of the article or page, not the website name.
  4. Name of the website: The parent site (e.g., The Guardian, CDC, Wikipedia).
  5. URL: The direct link to the page. Aim for stable or permanent links where possible.
  6. Access date: Some styles (Chicago, Harvard, MLA 9 optionally) require the date you retrieved the page, especially if the content is time-sensitive or likely to change.
What if a field is missing? See the style-specific sections below for how to handle missing authors, missing dates, and missing titles — each style has its own conventions.

Cite Websites Automatically

Paste the URL into Bibloq and it extracts the author, title, date, and site name for you. Choose APA, MLA, Chicago, or Harvard and copy your citation.

Cite a Website — Free →

Citing Websites in APA 7

APA 7 website format: Author, A. A. (Year, Month Day). Title of webpage. Site Name. URL

Key rules for APA 7 web citations:

Website with Named Author

Mackintosh, C. (2023, April 14). How social media algorithms shape political opinion. The Conversation. https://theconversation.com/how-social-media-algorithms-shape-political-opinion-202345

Website with Organisation as Author

World Health Organization. (2024, January 11). Global tuberculosis report 2023: Key facts. https://www.who.int/news-room/fact-sheets/detail/tuberculosis

No Author Listed

Understanding intellectual property rights. (2022). LegalInfo.gov. https://www.legalinfo.gov/ip-rights

When there is no author, the title moves to the author position. Italicise the title as you would an article title.

No Date

Henderson, P. (n.d.). The history of academic publishing. ScholarNotes. https://scholarnotes.net/academic-publishing-history

Changing Content (Retrieval Date Required)

Wikipedia contributors. (2024, March 3). Cognitive load theory. In Wikipedia. Retrieved March 10, 2024, from https://en.wikipedia.org/wiki/Cognitive_load_theory

Citing Websites in MLA 9

MLA 9 uses the "container" system. For a website, the page title is your work title and the website name is your container. Format:

Author Last, First. "Title of Page." Website Name, Day Month Year, URL. Accessed Day Month Year.

Key MLA 9 rules:

Website with Author (MLA 9)

Mackintosh, Claire. "How Social Media Algorithms Shape Political Opinion." The Conversation, 14 Apr. 2023, theconversation.com/how-social-media-algorithms-shape-political-opinion-202345.

No Author (MLA 9)

"Understanding Intellectual Property Rights." LegalInfo.gov, 2022, www.legalinfo.gov/ip-rights. Accessed 12 Jan. 2024.

Citing Websites in Chicago

Chicago 17 always requires an access date for online sources. Footnote/endnote format:

First Last, "Title of Page," Site Name, Month Day, Year, accessed Month Day, Year, URL.

Footnote Example

Claire Mackintosh, "How Social Media Algorithms Shape Political Opinion," The Conversation, April 14, 2023, accessed January 12, 2024, https://theconversation.com/how-social-media-algorithms-shape-political-opinion-202345.

Bibliography Entry

Mackintosh, Claire. "How Social Media Algorithms Shape Political Opinion." The Conversation. April 14, 2023. Accessed January 12, 2024. https://theconversation.com/how-social-media-algorithms-shape-political-opinion-202345.

Citing Websites in Harvard

Harvard format: Author/Organisation (Year) 'Title of webpage', Website Name. Available at: URL (Accessed: Day Month Year).

Website with Author (Harvard)

Mackintosh, C. (2023) 'How social media algorithms shape political opinion', The Conversation. Available at: https://theconversation.com/how-social-media-algorithms-shape-political-opinion-202345 (Accessed: 12 January 2024).

Organisation as Author (Harvard)

World Health Organization (2024) Global tuberculosis report 2023: Key facts. Available at: https://www.who.int/news-room/fact-sheets/detail/tuberculosis (Accessed: 15 February 2024).

Citing News Articles Online

Online news articles (The Guardian, BBC, New York Times, Reuters) are treated differently from general websites because they are periodical publications with editorial standards.

Online News Article — APA 7

Mwangi, S. (2024, February 8). Kenya's climate adaptation strategy wins international recognition. The Guardian. https://www.theguardian.com/kenya-climate-adaptation-strategy

Online News Article — MLA 9

Mwangi, Samuel. "Kenya's Climate Adaptation Strategy Wins International Recognition." The Guardian, 8 Feb. 2024, www.theguardian.com/kenya-climate-adaptation-strategy.

Online News Article — No Byline

If there's no author listed, treat the newspaper name as the author group (APA) or begin with the article title (MLA/Chicago).

Reuters. (2024, March 1). IMF raises global growth forecast for 2024. https://www.reuters.com/economy/imf-growth-forecast-2024

Auto-Cite Any Online Source

Bibloq pulls metadata from URLs — author, title, publisher, date — and formats your citation correctly. Works for news, blogs, government sites, and more.

Try It Free →

Citing Social Media Posts

Social media is increasingly cited in research — particularly in communication studies, political science, public health, and journalism. Each style handles it slightly differently.

Twitter / X Post — APA 7

Use the account holder's real name as author, then their handle in brackets. Include the first 20 words of the tweet as the title.

Gates, B. [@BillGates]. (2023, November 12). Excited to share our foundation's new report on malaria eradication. Progress is real, but there's much more work to do [Tweet]. Twitter. https://twitter.com/BillGates/status/1234567890123456789

Twitter / X Post — MLA 9

Gates, Bill (@BillGates). "Excited to share our foundation's new report on malaria eradication. Progress is real, but there's much more work to do." Twitter, 12 Nov. 2023, twitter.com/BillGates/status/1234567890123456789.

Instagram Post — APA 7

NASA [@nasa]. (2024, January 20). James Webb Space Telescope captures a star-forming region like never before [Photograph]. Instagram. https://www.instagram.com/p/examplecode/

Facebook Post — APA 7

Centers for Disease Control and Prevention. (2024, March 5). New guidelines on COVID-19 vaccination schedules [Status update]. Facebook. https://www.facebook.com/CDC/posts/examplepostid

Citing YouTube Videos

YouTube is widely used as a source for lectures, documentaries, official statements, and educational content. Use the channel name (or real name if known) as the author.

YouTube Video — APA 7

Kurzgesagt – In a Nutshell. (2023, September 14). Is nuclear energy actually safe? [Video]. YouTube. https://www.youtube.com/watch?v=exampleid

YouTube Video — MLA 9

"Is Nuclear Energy Actually Safe?" YouTube, uploaded by Kurzgesagt – In a Nutshell, 14 Sept. 2023, www.youtube.com/watch?v=exampleid.

Citing Government and Organisation Websites

Government and institutional websites (CDC, WHO, NHS, World Bank, UNDP, national statistics offices) are frequently cited in health, policy, and social science papers.

When the organisation both publishes and authors the content, it appears only in the author position in APA 7 — it is not repeated as the site name. In MLA and Chicago, it typically appears in both the author and container positions if that's truly how the source is structured.

Government Report Online — APA 7

Centers for Disease Control and Prevention. (2024). HIV surveillance report, 2022 (Vol. 34). https://www.cdc.gov/hiv/library/reports/hiv-surveillance/vol-34/index.html

Government Web Page — APA 7 (publisher = author)

U.S. Census Bureau. (2023, October 19). 2020 census results: Population and housing unit counts. https://www.census.gov/library/publications/2021/dec/c2020br-01.html

Citing Database Records and Library Resources

When you access an article or report through a library database (JSTOR, ProQuest, EBSCOhost, PsycINFO, Web of Science), your citation format depends on whether the source has a DOI.

Websites to Avoid as Sources — and What to Use Instead

Not all websites qualify as credible academic sources. Here's a quick reference:

AvoidUse instead
Wikipedia articles as primary sourceSources listed in the Wikipedia references section
Random blog postsPeer-reviewed articles, expert-written reports
Commercial product pagesManufacturer's technical documents or independent reviews
Undated, no-author pagesDated, authored institutional or academic sources
Outdated government pagesCurrent official publications with clear dates

That said, websites are appropriate primary sources in many contexts — when you're studying internet culture, analysing media representations, documenting institutional positions, or citing official data releases. The key is evaluating credibility using CRAAP criteria: Currency, Relevance, Authority, Accuracy, Purpose.

Generate Website Citations Instantly with Bibloq

Bibloq can generate formatted citations for websites, news articles, social media posts, YouTube videos, and government pages in all major citation styles. Paste the URL, review the auto-filled fields, select your format, and copy. It takes under ten seconds.

Cite Any Website in Any Style

APA 7, MLA 9, Chicago, Harvard — Bibloq handles websites, social media, YouTube, news, and more. Free, no account needed.

Start Citing for Free →