Skip to main content
Create Citation

How to Cite a Website in APA, MLA, Chicago, and Four More Styles

Websites are the source type students cite most often and the source type they get wrong most often. The mechanics differ from print in two ways that matter: the page can change between the moment you read it and the moment a grader checks the bibliography, and the metadata you need — author, publication date, container, URL — is rarely all in one place. This guide shows how to assemble a complete website citation in each of the seven major academic styles, with the same article formatted side by side in every style and edge cases for everything from missing authors to social media posts.

The shortest answer: get the author’s name, the page title, the site name, the publication date, and the URL. Plug those five fields into your chosen style’s format. When something is missing, every style has a documented fallback — use it; don’t invent.

What counts as a “website”

Calling everything online a “website citation” is what causes most of the confusion. The category is too broad to share one format. Three things decide which citation shape you actually want.

What is the work? A news article, a peer-reviewed paper posted on a journal’s site, a chapter from an organization’s online report, a blog post, an institutional homepage, a video, and a social media post are all “online” but cite as different source types. A peer-reviewed online article cites as a journal article, not as a website. A PDF report cites as a PDF report. A YouTube video cites as a video. This page is for the case you have left over: a standalone web article — a New York Times piece, a research-lab blog post, a Psychology Today article, a CDC fact sheet — read in its native web form.

Is there an author? A signed news piece, a research blog post by a named scientist, a CDC page authored by the agency, and an anonymous editorial each shape the citation differently. The author slot is where the format begins.

Is there a date? A timeless reference page, a blog post with a clear publication date, and a live dashboard that updates hourly are handled differently. Style guides treat datelessness as a real condition, not as an excuse to skip the field.

Information to collect before you cite

Open the page in front of you and copy these five fields into your notes. If a field is missing, mark it n.d. (no date) or n.a. (no author) so you know later the absence was deliberate, not an oversight.

  • Author — a person, several people, or an organization. Look at the byline first, the footer second, the “About” page third. If nothing surfaces a name, look for an organization that takes editorial responsibility.
  • Title of the specific page or article — the headline at the top of the page, exactly as written. Capitalization may change in your style; the wording does not.
  • Site name — the publication or organization that hosts the page, not the URL. Use whatever the site calls itself in its footer or “About” page.
  • Publication or last-updated date — the byline date when one is shown. If the page shows both “Published” and “Updated” dates, prefer the published date and record the update in a note if it matters to your argument.
  • URL — the full URL, including https://. Use the canonical URL when one is declared (look for <link rel="canonical"> in the page source, or trust the address bar if you arrived directly).

This site’s generator at / pulls most of these fields automatically when you paste a URL, but eyeball the result against the actual page. An incomplete or mislabeled field is the most common reason a generated citation comes out technically wrong.

The same article, formatted in all seven styles

The example here is a real-world template: a signed online article on a magazine-style site, with a clear author, title, publication date, and URL. Substitute your own source’s fields and the result is a valid reference in each style.

The source: Sofia Alvarez. “How working memory predicts reading comprehension.” Published March 12, 2023, on Psychology Today. URL: https://www.psychologytoday.com/intl/blog/working-memory-reading-comprehension. Accessed May 20, 2026.

StyleReference list entry
APA 7Alvarez, S. (2023, March 12). How working memory predicts reading comprehension. Psychology Today. https://www.psychologytoday.com/intl/blog/working-memory-reading-comprehension
MLA 9Alvarez, Sofia. “How Working Memory Predicts Reading Comprehension.” Psychology Today, 12 Mar. 2023, www.psychologytoday.com/intl/blog/working-memory-reading-comprehension. Accessed 20 May 2026.
Chicago 18 (author–date)Alvarez, Sofia. 2023. “How Working Memory Predicts Reading Comprehension.” Psychology Today, March 12, 2023. https://www.psychologytoday.com/intl/blog/working-memory-reading-comprehension.
Harvard (Cite Them Right 12)Alvarez, S. (2023) How working memory predicts reading comprehension, Psychology Today. Available at: https://www.psychologytoday.com/intl/blog/working-memory-reading-comprehension (Accessed: May 20, 2026).
VancouverAlvarez S. Psychology Today [Internet]. 2023 [cited 2026 May 20]. How working memory predicts reading comprehension. Available from: https://www.psychologytoday.com/intl/blog/working-memory-reading-comprehension.
IEEES. Alvarez, “How Working Memory Predicts Reading Comprehension,” Psychology Today. Accessed: May 20, 2026. [Online]. Available: https://www.psychologytoday.com/intl/blog/working-memory-reading-comprehension
AMA 11Alvarez S. How working memory predicts reading comprehension. Psychology Today. March 12, 2023. Accessed May 20, 2026. https://www.psychologytoday.com/intl/blog/working-memory-reading-comprehension

The structural variations are predictable once you see them side by side. APA, Chicago, and AMA list the author by surname and initial; MLA, Harvard, and IEEE keep the first name (Harvard initialed). Vancouver compresses both the surname and the initial without periods. APA, Chicago, and MLA italicize the publication name; Vancouver, IEEE, and AMA leave it roman. Only APA and Chicago omit the access date by default; the other five require it.

The in-text citation for the same source also varies:

  • APA, Harvard: (Alvarez, 2023)
  • Chicago author–date: (Alvarez 2023) — Chicago drops the comma between author and year
  • MLA: (Alvarez) — page or paragraph number added when quoting
  • Vancouver, AMA: (4) or superscript ⁴ in citation order
  • IEEE: [4] in citation order

For full in-text rules in each style, follow the links in the table above to that style’s dedicated guide.

When your website is something other than a magazine-style article

The same five fields drive every web reference. A few common cases need slightly different handling.

News article on a major site. Treat the publication itself as the container; if the byline is the wire — Associated Press, Reuters — use the wire as the author. APA, MLA, and Chicago italicize the publication name. AMA and Vancouver leave it roman.

Blog post on an institutional site. A research-lab blog, a university department blog, a thinktank’s “Insights” section. The author is the post’s byline; the site name is the lab, department, or institution. If the post sits in a named series — “Brookings Blog,” “MIT News” — that series name takes the container slot.

Organization or government agency page with no individual author. The agency is the author. For U.S. federal agencies, use the full agency name on first appearance; APA permits an abbreviation in later in-text citations after introducing it on first mention.

APA: Centers for Disease Control and Prevention. (2023, January 12). About diabetes. https://www.cdc.gov/diabetes/basics/diabetes.html

Social media post. All seven styles now have explicit rules. Use the account holder’s real name when known, the @handle in square brackets, the full post text as the title — or the first 40 words plus ellipsis if longer — the platform name, the date, and the URL.

APA: Tufte, E. R. [@EdwardTufte]. (2023, June 8). The first rule is don’t get fooled. The second rule is reread the first rule [Tweet]. X. https://x.com/EdwardTufte/status/example

Wikipedia article. A special case worth its own treatment. Wikipedia articles are author-less and revision-dated. APA recommends citing the specific revision you read; click “View history,” find the dated revision, and copy that permanent URL. Most graders would rather you not cite Wikipedia at all — use it for orientation and cite the underlying sources Wikipedia itself cites.

Edge cases

No author. Move the title to the front, exactly where the author would have gone. Alphabetize by the first significant word of the title, ignoring A, An, The. Style-specific punctuation rules still apply: APA leaves the title roman in sentence case; MLA italicizes whole works and quotes article-length pieces; Chicago and Harvard follow their normal title conventions.

No publication date. Use n.d. (no date) in APA, Chicago, and Harvard; MLA omits the date and relies on the access date. Vancouver, IEEE, and AMA use the most recent visible change date if one exists, otherwise omit. The in-text citation reflects the absence: (Alvarez, n.d.) in APA and Harvard, (Alvarez) in MLA.

Paywalled article. Cite it like any other article on that publication; the URL goes in even if the reader will hit a paywall. Add [Subscription required] as a note only if your assignment explicitly asks for it. Don’t cite a paywall-circumvention archive — your grader can’t verify the source through one.

Multiple URLs for the same content. Many articles syndicate. Cite the original publication, not the republication, when you can tell them apart. The canonical URL declared in the page source is the publisher’s own answer.

Archived or deleted page. When the original URL no longer resolves, link to the Wayback Machine snapshot of the page on or near the date you accessed it. The format follows your style’s normal web rules with the Wayback URL substituted for the original.

The principle behind all of these: every web reference must let a reader find the source you used. If the original is gone, an archive snapshot keeps that contract. Without it, the citation is decorative.

Frequently asked questions

How do I cite a website with no author?
Move the title into the author slot, then continue with the rest of the entry exactly as you would for a named author. In the in-text citation, use a short form of the title — in quotation marks for short web pages, in italics for whole sites or reports. The exception is when an organization is editorially responsible for the content, in which case the organization takes the author slot. Anonymous editorial content from a news publication is usually cited with the publication itself as the de facto author.
What if the page has no publication date?
Use the abbreviation "n.d." (no date) in APA, Chicago, and Harvard. MLA simply omits the date and relies on your access date at the end of the entry. Vancouver, AMA, and IEEE use the most recent visible change date when one exists, or omit the date when none does. A missing date is also a quality signal — confirm the source is otherwise reliable before citing it.
Do I have to include an access date for a website?
It depends on the style. MLA, Harvard (Cite Them Right), Vancouver, AMA, and IEEE require an access date on every web reference because web pages can change without notice. APA and Chicago only require an access date when the content is expected to change — Wikipedia entries, live dashboards, social media posts. For a stable news article or an archived essay, APA and Chicago omit the access date.
How do I cite a social media post (X/Twitter, Instagram, TikTok)?
All seven styles now handle social media. The pattern is consistent: list the author by the name used on the account (real name when available, handle in square brackets), the full text of the post in quotation marks (or the first 40 words plus an ellipsis), the platform name, the post date, and the URL. APA additionally tags the medium — [Tweet], [Photograph], [Video]. The post text is treated as the title and follows your style's normal capitalization rules.
Can I cite a Wikipedia article?
For most academic writing, you should not. Wikipedia articles are author-less and change without notice, which makes them weak as cited evidence. If you must cite one, APA recommends citing the specific revision you read — click "View history," find the dated revision, and copy its permanent URL. The other styles handle Wikipedia similarly. In practice, use Wikipedia for orientation and cite the underlying sources Wikipedia itself cites.