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
| Part | What to write | Where to find it on the page |
|---|---|---|
| Author | Last name, then initials | The byline, or the organisation that owns the page |
| Date | (Year, Month Date), or as much as the page gives | Under the headline or at the foot of the page |
| Title | The page's title in italics, sentence case | The headline, not the browser tab |
| Source | Site name, then the full URL | The 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
| Source | In brackets | In 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.

