Back to Blog
A student who has a web page open and needs its APA 7 reference and in-text citation.

How to Cite a Website in APA 7 (With Examples)

Author, date, title of the page in italics, site name, URL. Here is the APA 7 pattern for a website, what to do when the author or the date is missing, and the in-text citation for each.

December 1, 2026
4 min read
Typill Editorial Team
how to cite a website in apa 7apa website citation generatorapa website reference generatorapa citation maker websiteapa format website generatorapa citation generator for websitescite a website with no author apaapa website citation no date
How to Cite a Website in APA 7 (With Examples)

To cite a website in APA 7, give the author, the date in brackets, the title of the page in italics, the name of the site, and the URL:

Lastname, F. M. (Year, Month Date). Title of page. Site Name. URL

In the text, cite it as (Lastname, Year). You no longer write "Retrieved from" before the URL. Three things change this pattern: a page written by an organisation, a page with no author, and a page with no date. Each one is below with a worked example.

If you would rather not type it, paste the page's address into the citation generator. It reads the page for its title, author, date and site name and formats them for you.

How to cite a website in APA 7: the four parts

PartWhat to writeWhere to find it on the page
AuthorLast name, then initialsThe byline, or the organisation that owns the page
Date(Year, Month Date), or as much as the page givesUnder the headline or at the foot of the page
TitleThe page's title in italics, sentence caseThe headline, not the browser tab
SourceSite name, then the full URLThe address bar

Sentence case means only the first word, the first word after a colon, and proper nouns take a capital.

A page with a named author

Price, D. (2018, March 23). Laziness does not exist. Medium. https://humanparts.medium.com/laziness-does-not-exist-3af27e312d01

In the text: (Price, 2018).

A page written by an organisation

Use the organisation as the author. When the author and the site are the same, leave the site name out so it is not written twice.

American Society for the Prevention of Cruelty to Animals. (2019, November 21). Justice served: Case closed for over 40 dogfighting victims. https://www.aspca.org/news/justice-served-case-closed-over-40-dogfighting-victims

In the text: (American Society for the Prevention of Cruelty to Animals, 2019).

A page with no author

Move the title to the front, where the author would have been.

Title of page. (Year, Month Date). Site Name. URL

In the text, use the title, or its first few words, in quotation marks with the main words capitalised: ("Title of Page," Year).

A page with no date

Write (n.d.), for "no date", where the date would go.

National Alliance on Mental Illness. (n.d.). Mental health conditions. https://www.nami.org/Learn-More/Mental-Health-Conditions

In the text: (National Alliance on Mental Illness, n.d.).

When you need a retrieval date

Only when the page is meant to change and is not archived, such as a publicly edited wiki or a live dashboard. Then the end of the reference reads "Retrieved Month Date, Year, from URL". For an ordinary article or page, leave it out.

News sites and online newspapers

These differ in one detail. If the site belongs to a newspaper or magazine, the article title is plain and the publication is in italics:

Richards, C. (2019, December 9). Best music of 2019: Lana Del Rey sings lullabies about the end of America. Washington Post. https://www.washingtonpost.com/entertainment/music/best-music-of-2019-lana-del-rey-sings-lullabies-about-the-end-of-america/2019/12/06/6e82c5ec-15d8-11ea-a659-7d69641c6ff7_story.html

If the news site has no newspaper behind it, it follows the ordinary web page pattern, with the title in italics:

Jones, J. (2020, May 10). Why flats dominate Spain's housing market. BBC. https://www.bbc.com/worklife/article/20200506-why-do-flats-dominate-spains-housing-market

In-text citations for a website

SourceIn bracketsIn the sentence
One author(Price, 2018)Price (2018) argues
Two authors(Wegener & Petty, 1994)Wegener and Petty (1994) found
Three or more(Kernis et al., 1993)Kernis et al. (1993) suggest
No author("Using Citations," 2001)"Using Citations" (2001) shows

The same page in MLA 9

MLA puts the page title in quotation marks, the site in italics, writes the date day first, and drops https:// from the URL:

"Athlete's Foot - Topic Overview." WebMD, 25 Sept. 2014, www.webmd.com/skin-problems-and-treatments/tc/athletes-foot-topic-overview.

The MLA citation generator makes this version from the same address.

What the citation generator does with a web address

It reads the page for its title, author, date and site name, and says under the citation where the details came from. If the page names a DOI, as many journal articles do, it uses the registry's record for that DOI instead of the page's own tags, because that record is more reliable. Anything you type in or correct yourself is marked as yours.

It cannot read a page that sits behind a sign-in or a robot check; for those, enter the details by hand. And check the author and date it found against the page: many sites leave them out of the place a program can read.

When you have every source, the bibliography tool sorts them into one reference list.

Where these examples come from

Every reference example above is the one published by the Purdue Online Writing Lab, which follows the seventh edition of the APA Publication Manual and the ninth edition of the MLA Handbook: Reference list: Electronic sources, In-text citations: Author/authors and MLA works cited: Electronic sources. Checked on 1 December 2026. If your tutor's guidance differs, follow your tutor.

FAQ

How do you cite a website in APA 7 with no author?

Start the reference with the title of the page in italics, then the date, the site name and the URL: Title of page. (Year, Month Date). Site Name. URL. In the text, use the title or its first few words in quotation marks with the year, for example ("Using Citations," 2001).

How do you cite a website in APA 7 with no date?

Write (n.d.) where the date would go, in the reference and in the text. For example: National Alliance on Mental Illness. (n.d.). Mental health conditions. https://www.nami.org/Learn-More/Mental-Health-Conditions. In the text: (National Alliance on Mental Illness, n.d.).

Do you write "Retrieved from" before a URL in APA 7?

No. APA 7 dropped "Retrieved from" for ordinary pages; the reference ends with the URL. A retrieval date is used only for a page that is meant to change and is not archived, such as a publicly edited wiki, and then it reads "Retrieved Month Date, Year, from URL".

Do I include the site name if the author is the organisation that runs the site?

No. When the author and the site name are the same, leave the site name out so it is not repeated. The reference goes from the title straight to the URL.

Can a citation generator cite a website from its URL?

Yes. Typill's citation generator reads the page for its title, author, date and site name and formats them in APA 7, MLA 9 or Chicago 17. It cannot read pages behind a sign-in or a robot check, and you should check the author and date against the page, because many sites leave them out of the place a program can read.

Adarsh

Typill Editorial Team

Founder of Typill, the next-generation AI writing assistant that empowers you to achieve more with every word.

From Draft to Done — Faster

Typill helps you write academic papers, essays, and research proposals with accurate citations and a tone that sounds like you.