How to Cite a Website in APA 7th Edition
Citing websites correctly in APA 7th edition is one of the most common challenges students and researchers face. Web sources vary wildly in structure: some have clearly identified authors and dates, while others are anonymous, undated, or buried inside larger organizational sites. The Publication Manual of the American Psychological Association (7th ed.) addresses these variations in Section 10.16, which provides the template and rules for citing "webpages and websites." This guide walks through every scenario you are likely to encounter, with real-world worked examples, in-text citation formats, and advice on the special cases that trip people up most often.
If you want to skip the manual formatting, you can paste any URL into the AllCitations APA 7 generator and get a correctly formatted reference in seconds. But understanding the rules yourself is essential for catching errors and handling edge cases that automated tools sometimes miss.
The Official APA Rule
According to Section 10.16 of the APA Publication Manual (7th ed.), the standard reference format for a webpage on a website is:
Author, A. A. (Year, Month Day). Title of work. Site Name. URL
Several important principles govern this template:
- Author can be an individual person, multiple people, or an organization (a "group author").
- Date should be as specific as the source provides. If the page shows a full date, include the year, month, and day. If only a year is available, use just the year. If no date is present at all, use (n.d.) for "no date."
- Title is italicized. If the webpage has no title, provide a description of the content in square brackets (not italicized), such as [Home page] or [Infographic].
- Site Name is written in plain text (not italicized). If the site name is the same as the author, omit the site name to avoid repetition (Section 9.28).
- URL is provided as a live hyperlink. Do not place a period after the URL, because a trailing period can break the link.
This template applies to standalone webpages. If the source is actually a journal article, news article, report, or blog post, APA has separate formats for those types (see Section 10.1 for journal articles, Section 10.5 for reports, and Section 10.7 for blog posts). When in doubt, ask yourself: "Does this source fit neatly into another category?" If not, use the webpage template from Section 10.16.
For a broader overview of how APA compares to other styles, see our guide on APA vs. MLA: Which Citation Style Should You Use?.
Worked Examples
Below are eight real-world examples covering the most common website citation scenarios. Each example includes both the reference list entry and the corresponding in-text citations.
1. Webpage with an Individual Author
Many organizational websites attribute articles or pages to a specific person. When an individual author is clearly listed on the page, use their name in the author position.
Reference entry:
Carr, T. (2024, May 8). The 5 safest ways to use public Wi-Fi. Consumer Reports. https://www.consumerreports.org/electronics-computers/internet-safety/safest-ways-to-use-public-wi-fi/
In-text citations:
- Parenthetical: (Carr, 2024)
- Narrative: Carr (2024) recommended several strategies for staying safe on public networks.
2. Organization as Author
When a webpage is authored by an organization rather than a named individual, the organization takes the author position. Per Section 9.28 of the APA Manual, when the author and the site name are the same, you omit the site name so it is not repeated.
Reference entry:
World Health Organization. (2024, September 27). Mpox (monkeypox). https://www.who.int/news-room/fact-sheets/detail/monkeypox
Notice that "World Health Organization" is both the author and the name of the website, so the site name is omitted.
In-text citations:
- Parenthetical, first use: (World Health Organization [WHO], 2024)
- Parenthetical, subsequent uses: (WHO, 2024)
- Narrative: The World Health Organization (WHO, 2024) published updated guidance on mpox transmission.
When citing a well-known organization, APA allows you to introduce an abbreviation the first time you cite it and use the abbreviation thereafter (Section 8.21).
3. A Different Organization Where Site Name Differs from Author
Sometimes a specific department or agency publishes a page on a broader organizational website. In that case, the author and site name are different, and both should be included.
Reference entry:
National Institute of Mental Health. (2024, April). Anxiety disorders. National Institutes of Health. https://www.nimh.nih.gov/health/topics/anxiety-disorders
Here, the author is the National Institute of Mental Health (NIMH), but the page is hosted on the broader National Institutes of Health (NIH) website.
In-text citations:
- Parenthetical, first use: (National Institute of Mental Health [NIMH], 2024)
- Parenthetical, subsequent uses: (NIMH, 2024)
- Narrative: The National Institute of Mental Health (NIMH, 2024) identified several evidence-based treatments.
4. No Author
When no author (individual or organizational) is identified, move the title of the page into the author position. The title remains italicized.
Reference entry:
All 50 states and their capitals. (2024, February 12). USAGov. https://www.usa.gov/states-and-territories
In-text citations:
- Parenthetical: (All 50 States, 2024)
- Narrative: The page All 50 States and Their Capitals (2024) listed each state alongside its capital city.
When using a shortened title in parenthetical citations, italicize it (because the full title would be italicized in the reference list) and capitalize it using title case.
5. No Date
Many webpages do not display a publication date or a "last updated" date. In that case, use (n.d.), which stands for "no date."
Reference entry:
NASA. (n.d.). Mars exploration program. https://mars.nasa.gov/
Since NASA is both the author and the site name, the site name is omitted.
In-text citations:
- Parenthetical: (NASA, n.d.)
- Narrative: NASA (n.d.) maintains a dedicated portal for its Mars exploration missions.
6. When a Retrieval Date Is Needed
APA 7th edition says you should include a retrieval date only when the content is designed to change over time and is not archived (Section 9.16). Common examples include wiki articles, social media profiles, unarchived dashboards, and pages that display live data. For most stable webpages, you do not need a retrieval date.
Reference entry:
Centers for Disease Control and Prevention. (n.d.). COVID data tracker. U.S. Department of Health and Human Services. Retrieved March 3, 2026, from https://covid.cdc.gov/covid-data-tracker/
Because this dashboard updates continuously with new data, a retrieval date is appropriate. Note that the site name is included here because the CDC is a sub-agency of the broader U.S. Department of Health and Human Services, and the data tracker is hosted under that umbrella.
In-text citations:
- Parenthetical, first use: (Centers for Disease Control and Prevention [CDC], n.d.)
- Parenthetical, subsequent uses: (CDC, n.d.)
- Narrative: The Centers for Disease Control and Prevention (CDC, n.d.) reported the latest case counts on their COVID Data Tracker.
7. Social Media Profile or Page
Social media profiles are another common source type. According to APA Section 10.15, cite the content as it appears on the platform. For a profile or about page, treat the platform name as the site name.
Reference entry:
American Psychological Association [@APA]. (n.d.). Posts [Instagram profile]. Instagram. Retrieved March 3, 2026, from https://www.instagram.com/apa/
A retrieval date is included because social media profiles change frequently.
In-text citations:
- Parenthetical: (American Psychological Association, n.d.)
- Narrative: The American Psychological Association (n.d.) shares research highlights on their Instagram profile.
8. PDF Hosted on a Website
When a PDF is available directly on a website (not through a database like JSTOR or EBSCOhost), cite it as you would a webpage. There is no need to note that it is a PDF unless the format is essential to your discussion.
Reference entry:
U.S. Department of Education. (2023, January). Protecting student privacy while using online educational services: Requirements and best practices. https://studentprivacy.ed.gov/resources/protecting-student-privacy-while-using-online-educational-services-requirements-and-best
Since the U.S. Department of Education is both the author and the site owner, the site name is omitted.
In-text citations:
- Parenthetical: (U.S. Department of Education, 2023)
- Narrative: The U.S. Department of Education (2023) outlined best practices for protecting student data in online learning environments.
Special Cases
When the Site Name Is the Same as the Author
This is one of the most frequently asked questions about website citations in APA. The rule is straightforward: if the author and the site name are identical, omit the site name (Section 9.28). You saw this in the WHO, NASA, and CDC examples above. The reasoning is that repeating the same name twice in a single reference entry is redundant and adds no useful information.
When a Retrieval Date Is Required
Retrieval dates are the exception, not the rule. Include one only when the content is designed to change and is not archived or versioned. Typical cases include:
- Wikipedia or other wiki articles
- Social media profiles (not individual posts, which have dates)
- Live dashboards and data trackers
- Pages that display dynamically generated content (e.g., a search results page)
For ordinary webpages, even if the content could theoretically change, you do not need a retrieval date. If the page has a "last updated" or "published on" date, use that as the date element instead.
Paywalled or Login-Required Content
If the webpage sits behind a paywall or requires a login, provide the URL of the login page or the most direct publicly accessible URL. Do not provide a URL that will simply show an error to readers who lack access. If the content is available in multiple locations, prefer the most accessible version. APA does not require you to note that content is paywalled, but you may add a note in brackets if it helps your reader, such as [Login required].
Pages with Both a Published Date and a Last-Updated Date
When a webpage shows both a publication date and a "last updated" or "reviewed" date, use the most recent date (Section 9.15). This gives your reader the most accurate information about the version you consulted.
Common Mistakes and How to Avoid Them
Placing a period after the URL. This is arguably the single most common formatting error. APA 7th edition explicitly states that no punctuation should follow a URL or DOI (Section 9.35). A trailing period can be interpreted as part of the URL and cause a broken link when readers click on it. Simply end the reference entry with the URL and nothing after it.
Including a retrieval date for stable content. Many students add "Retrieved [date] from" to every website citation. This is incorrect. Retrieval dates are reserved for content that changes over time and is not archived. For an ordinary webpage with a stable publication date, a retrieval date is unnecessary and clutters the reference.
Omitting the site name when it differs from the author. If the author is a specific person or department and the site name is a broader organization or platform, you need both. The site name helps the reader locate the source. Only omit the site name when it duplicates the author exactly.
Repeating the site name when it matches the author. Conversely, some students include the site name even when it is identical to the author. This creates awkward repetition like "World Health Organization. (2024). Title. World Health Organization. URL." Drop the site name in these cases.
Failing to italicize the page title. The title of a webpage is italicized in both the reference list and in narrative in-text citations. This distinguishes it from article titles in periodicals, which are not italicized. A simple rule: standalone works (books, reports, webpages) get italics; works that are part of a larger whole (journal articles, book chapters) do not.
Using "Author unknown" or "Anonymous" instead of n.d. or moving the title. When no author is listed, do not write "Author unknown." Move the title into the author position. Only use "Anonymous" if the work is explicitly attributed to "Anonymous" (Section 9.12).
Providing only the homepage URL instead of the specific page URL. Always link directly to the page you cited, not to the website's homepage. A direct URL lets your reader find the exact content you referenced.
For a deeper dive into in-text citation rules (including how to handle multiple authors, secondary sources, and more), see our Complete Guide to In-Text Citations.
Quick-Reference Table
The following table summarizes the key variations at a glance:
| Scenario | Author Position | Date | Site Name | URL |
|---|---|---|---|---|
| Individual author | Last, F. M. | (Year, Month Day) | Include | Full URL |
| Organization = site name | Organization Name. | (Year, Month Day) | Omit | Full URL |
| Organization differs from site | Organization Name. | (Year, Month Day) | Include | Full URL |
| No author | Title of page. | (Year, Month Day) | Include | Full URL |
| No date | Author. | (n.d.) | As applicable | Full URL |
| Changing content | Author. | (n.d.) or date | As applicable | Retrieved [date], from URL |
| Social media profile | Account Name [@handle]. | (n.d.) | Platform Name | Retrieved [date], from URL |
| PDF on a website | Author. | (Year, Month Day) | As applicable | Direct PDF URL |
When to Use the Webpage Format vs. Another Format
APA 7th edition provides specific templates for many source types. Before defaulting to the webpage format, check whether your source fits one of these categories:
- Online journal article (Section 10.1): Has a DOI, volume/issue numbers, and page numbers.
- Online news article (Section 10.4): Published by a news organization with a journalistic byline.
- Blog post (Section 10.7): Published on a blog or blogging platform.
- Report or white paper (Section 10.5): A formal report with a report number, issued by an organization.
- Social media post (Section 10.15): An individual post on Twitter/X, Facebook, Instagram, etc.
If none of these categories fits, use the webpage on a website format from Section 10.16. Examples of sources that typically use this format include organizational fact sheets, informational pages, government guidance pages, FAQ pages, and educational resource pages.
You can explore all the citation styles supported by AllCitations on our citation styles page.
Tools and Resources
Building your reference list does not have to be a manual process. Here are some resources to help:
- AllCitations APA 7 Generator: Paste a URL and generate a formatted APA 7 reference instantly. You can export citations as BibTeX or RIS for use in Zotero, Mendeley, or other reference managers.
- Purdue OWL APA Formatting Guide: The Purdue Online Writing Lab is one of the most widely used free resources for citation guidance across all styles.
- APA Style Blog: The official blog from the American Psychological Association, with posts clarifying tricky citation scenarios and announcing updates to APA guidelines.
Frequently Asked Questions
Do I need to include "www" in the URL?
Include the full URL exactly as it appears in your browser's address bar. If the URL includes "www," keep it. If the URL does not include "www," do not add it. The goal is to provide a working link that takes the reader directly to the source. Modern websites often resolve correctly with or without "www," but you should copy the URL as it appears when you access the page. APA 7th edition does not require you to add or remove "www" from any URL.
How do I cite a PDF found on a website?
If the PDF is hosted on a website rather than accessed through a library database, cite it using the standard webpage format from Section 10.16. The URL should link directly to the PDF file. There is no need to label the source as a PDF in the reference entry unless the format is essential for your reader to understand the source. If the PDF is a formal report with a report number, consider using the report format from Section 10.5 instead, since it provides additional identifying information.
What if the website has no author and no date?
When both the author and the date are missing, move the title into the author position and use (n.d.) for the date. The reference would look like: Title of page. (n.d.). Site Name. URL. For the in-text citation, use a shortened version of the italicized title and "n.d." in place of the year: (Shortened Title, n.d.). This situation is more common than you might expect with older informational pages and some government resources.
Should I include a retrieval date for every website I cite?
No. APA 7th edition requires retrieval dates only for sources whose content is designed to change over time and is not archived or versioned. Most webpages do not require a retrieval date. If the page has a publication or "last updated" date, use that as the date element and omit the retrieval date. Sources that do need retrieval dates include wiki pages, social media profiles, live dashboards, and pages with dynamically generated content. When in doubt, ask yourself: "If someone visits this URL next month, will they see the same content I saw?" If the answer is probably yes, you do not need a retrieval date.
How do I cite a webpage when the organization name is very long?
Use the full name of the organization the first time you cite it, and introduce an abbreviation if the organization is well known or if you will cite it multiple times. For example, write "(National Aeronautics and Space Administration [NASA], n.d.)" on first use, and then "(NASA, n.d.)" for all subsequent citations. In the reference list, always spell out the full name. APA Section 8.21 provides detailed guidance on when and how to use group author abbreviations.
Can I use a shortened URL or permalink?
APA 7th edition recommends using the most direct and stable URL available. Shortened URLs (like bit.ly links) are generally discouraged because they obscure the destination and may expire over time. If the original URL is extremely long, check whether the website provides a stable permalink or short URL on the page itself. Some government websites and news organizations offer canonical short URLs that are acceptable. The key criterion is that the URL must reliably direct the reader to the cited content.
How do I handle a webpage that has been updated since I last accessed it?
If the page has been substantially updated after you accessed it, and the original version is no longer available, you have a few options. First, check the Wayback Machine (web.archive.org) for an archived version of the page as it appeared when you accessed it, and cite the archived URL with the original date. Second, if no archived version exists, cite the current version with its updated date and note any discrepancies in your text. APA does not have an explicit rule for this scenario, but transparency with your reader is always the best approach. If the page shows both a published and an updated date, use the most recent date per Section 9.15.
Try AllCitations for Free
No account required. Generate your first citation in seconds.
Start Citing for Free