Re-Quest Search

RESResearch Tools

How to Cite Online Sources in MLA, APA and Chicago

Side-by-side MLA 9, APA 7 and Chicago examples for web pages, news articles, videos, social posts and chatbot output, plus citation generator pitfalls.

Published 8 min readBy Re-Quest

An open wooden card catalogue drawer full of typed subject index cards, with labelled drawers around it
The subject card catalogue of the University Library of Graz, Austria (2005). Image: Dr. Marcus Gossler, CC BY-SA 3.0

It is late, the essay is finished, and the last job is the list of sources: a government web page, a news article, a YouTube clip, a post from a public health agency, and a chatbot answer your teacher allowed you to use as a starting point. Each needs a different format, and your assignment sheet says "MLA," while your friend's says "APA" and a history class down the hall wants Chicago footnotes.

The good news is that all three styles ask for the same basic facts. Once you have collected them, formatting is mostly a matter of order and punctuation. This guide shows the current editions side by side, MLA 9th edition (2021), APA 7th edition (2020) and Chicago 18th edition (2024), with real examples for the online sources students cite most, and the mistakes free citation generators tend to make. If your instructor still uses Chicago 17, the web examples below look almost the same; ask about any differences that matter for your class.

Collect the details first

Before you format anything, capture these facts for each source, ideally as you research. A citation manager or a simple note works; our guide to organizing research notes shows a few systems.

  • Author: a person, several people, or an organization. On social media, the account name and handle.
  • Title: of the page, article, video or post.
  • Container or site: the website, newspaper, platform or channel it appears on.
  • Publisher: the organization responsible, if different from the site name.
  • Date: published or last updated. Note "no date" if there is none.
  • Location: a DOI if the source has one, otherwise a stable URL or permalink.
  • Date you accessed it, for pages with no date or content likely to change.

How the three styles differ

MLA 9APA 7Chicago 18 (notes and bibliography)
List nameWorks CitedReferencesBibliography (plus footnotes or endnotes)
Author namesFull first name: Bologna, CarolineInitials: Bologna, C.Full names; inverted only in the bibliography
Date positionNear the end: 31 Oct. 2019Right after the author: (2019, October 31)Near the end: October 31, 2019
Page and article titlesTitle case, in quotation marksSentence case; webpage titles in italicsTitle case, in quotation marks
URLsMay drop http:// or https://Full URLFull URL
Access dateOptional; useful when there is no date"Retrieved" date only for pages designed to changeOnly when no other date is available
In the text(Author page) or (short title)(Author, year)Superscript note number

Two rules trip up many students. In APA, when the author and the site name are the same (for example, a page by the World Health Organization on its own website), leave the site name out. In MLA, when an organization is both author and publisher, start the entry with the title and list the organization as publisher. APA also says to ignore a "last reviewed" date, because a review does not mean the content changed.

Side-by-side examples

The entries below are formatted for each style. Italics are shown where the style calls for them; in your paper, use a hanging indent for MLA, APA and Chicago bibliography entries.

A web page from an organization

If a page has no date at all, MLA leaves the date out (you may add "Accessed" plus the date at the end), APA uses (n.d.), and Chicago adds "accessed" plus the date before the URL.

An article on a news website

APA treats online-only news sites (such as HuffPost or CNN) as webpages, with the article title in italics. For the website of a print newspaper, such as The Washington Post, APA uses its newspaper article format instead, which italicizes the newspaper name rather than the article title. Chicago 18 now usually italicizes the names of news websites, as it does periodicals.

An online video

In APA, the account that uploaded the video is the author. In MLA, if the creator and uploader differ, put the creator first and add "uploaded by" and the account name after the platform.

A social media post

  • MLA: CDC. "Scientists do not know if having antibodies to the virus that causes #COVID19 can protect someone from getting infected again . . . ." X, 11 June 2020, x.com/CDCgov/status/1271180413134876672.
  • APA: CDC [@CDCgov]. (2020, June 11). Scientists do not know if having antibodies to the virus that causes #COVID19 can protect someone from getting infected again [Image attached] [Post]. X. https://x.com/CDCgov/status/1271180413134876672
  • Chicago note: 1. CDC (@CDCgov), "Scientists do not know if having antibodies to the virus that causes #COVID19 can protect someone from getting infected again …," X, June 11, 2020, https://x.com/CDCgov/status/1271180413134876672.

The text of the post stands in for a title in all three styles. APA uses the first 20 words, counting a hashtag or URL as one word, and notes attached images or video in brackets; the same format works for Instagram and TikTok. MLA adds the handle in brackets only when it differs noticeably from the account name, and shortens long posts with an ellipsis. Chicago keeps the post text under 160 characters and usually cites social media in notes only, adding a bibliography entry if you discuss the post in depth. Posts can disappear, so take a screenshot of anything you cite.

Output from a chatbot

Check your school's policy before using any chatbot in an assignment; rules vary by teacher and course. If its use is allowed, all three styles ask you to make it visible. The examples below use Google's Gemini; substitute the tool and model you used.

  • MLA: "Explain the causes of the Dust Bowl in three sentences" prompt. Gemini, model [model name], Google, 12 Nov. 2026, [shareable link to the conversation].
  • APA (a specific chat): Google. (2026, November 12). Causes of the Dust Bowl [Generative AI chat]. Gemini. [shareable link]
  • APA (the tool in general): Google. (2025). Gemini 3 Flash [Large language model]. https://gemini.google.com
  • Chicago note: 1. Text generated by Gemini, Google, November 12, 2026, [shareable link].

MLA does not treat the tool as an author; it describes the prompt in the title position, names the tool as the container and the model in the version slot, and prefers a stable share link, falling back to the tool's general web address if no link exists. APA names the company as author and dates a chat by the day it took place. Chicago generally cites chatbot output in notes rather than the bibliography.

Two points matter more than format. First, chatbots can invent sources or misstate them, so MLA recommends going to the sources a tool links to and citing those directly. Second, APA says that when you use a chatbot only like a search engine, you cite the sources you actually read, not the tool. Our guide to using AI chatbots for research covers verification in more depth.

Free citation tools and their pitfalls

Citation generators save time, and several reputable ones are free: ZoteroBib builds a quick bibliography in your browser without an account, Zotero is a free, open-source reference manager with word processor plugins, and most library databases and Google Scholar offer a "Cite" button. They all work by reading a page's metadata, which is often incomplete or wrong. Check every entry for these common errors:

  1. The site name appears as the author when the page actually names a person, or "Admin" or "Staff" appears as an author.
  2. Capitalization is wrong for the style: titles in all capitals, or title case where APA wants sentence case.
  3. The date is the date you visited, or a copyright year from the page footer, rather than the article's publication date.
  4. An outdated edition is applied, such as MLA 8 or APA 6 rules that older tools still use.
  5. Italics are lost when you copy and paste into your document.
  6. A tracking or search URL is captured instead of the clean, stable address of the page.
  7. The source type is wrong: a news article formatted as a generic web page, or a video with no bracketed description in APA.

Tip: Treat generated citations as a first draft. Open the original source next to the entry and compare author, title, date and URL. It takes a minute per source and catches most errors before your teacher does.

Before you hand it in

Checklist: Every source quoted, paraphrased or used for an idea appears in the list, and every entry in the list is cited in the text. You used the edition your instructor asked for. Entries are alphabetized by the first word (author or title). Each in-text citation matches the first word of its entry. URLs work and lead to the exact page. Titles follow the style's capitalization and italics. Chatbot use is cited or disclosed as your school requires.

Citations are the last step of a longer process. For the whole route from question to bibliography, see How to Research a School Project, and for using images and media you find online, read Copyright, Fair Use and Creative Commons for Students. More citation and research tools are collected under Research Tools.

Curated resources

Checked by hand from the Research Tools shelf of the library (guides, for students). Each entry says what it costs and when we last verified it.

  1. APA Style

    American Psychological Associationapastyle.apa.org

    The official website for APA Style from the American Psychological Association, with free guides on reference formats, in-text citations, paper formatting, bias-free language and sample papers. The authoritative place to confirm current APA rules for psychology, education, nursing and social science assignments.

    Using it: Free guidance; the full manual is paid.

    • Free
    • Guide
    • For: Students, Researchers

    Verified

  2. Library of Congress Research Guides

    Library of Congressguides.loc.gov

    Hundreds of topic guides written by Library of Congress subject specialists, covering everything from historical newspapers and legislation to science, business and genealogy. Each guide explains where the best sources are, how to search them and which collections hold relevant primary material.

    Using it: Free, no account. Guides link to both free and subscription resources; subscription items may only work onsite.

    • Free
    • Guide
    • For: Students, Researchers, Teachers

    Verified

  3. Purdue OWL

    Purdue University Writing Labowl.purdue.edu

    The Purdue Online Writing Lab offers free guides on academic writing, grammar, research and citation styles including APA, MLA and Chicago. Clear examples and explanations make it one of the most widely used writing references for students and teachers.

    Using it: Free, no account. Check the edition notes since citation styles change over time.

    • Free
    • Guide
    • For: Students, Teachers

    Verified

See all 47 Research Tools resources in the library

Sources

  1. MLA Works Cited: Electronic Sources (Web Publications), Purdue Online Writing Lab
  2. Citing Material Posted on Social Media Platforms, MLA Style Center, Modern Language Association
  3. How do I cite generative AI in MLA style? (Updated and Revised), MLA Style Center, Modern Language Association
  4. Webpage on a Website References, APA Style, American Psychological Association
  5. AI References, APA Style, American Psychological Association
  6. Web Sources (Chicago Manual of Style, 18th Edition), Purdue Online Writing Lab