An APA 7th edition website citation is built from four required elements — an author, a date, a title, and a site name — and the APA Citation Generator assembles them into a correctly punctuated reference list entry with no manual rule-checking on your part.

Web pages are the trickiest source to cite under APA rules because the information you need often isn't where you'd expect it. Many pages hide the author in a byline at the top or bottom of the page, bury the publication date inside an "Updated on" stamp, or omit both entirely. The title you see in the browser tab is not always the title the APA Publication Manual wants you to record. And the URL often needs cleanup, with tracking parameters, language tags, or session IDs that have no place in a finished reference.

The APA Citation Generator handles every one of those variations. Pick "website" from the source-type selector, paste or type in the four fields, and the tool returns a reference list entry with the right italics, an "(n.d.)" placeholder when the date is missing, and a full https://doi.org/ URL when a DOI is available. Everything runs in your browser, so nothing you type is uploaded.

how to get apa citation from a website
APA Website Citation: The 4 Required Elements

What to Pull From the Web Page First

Before you open the generator, open the page itself. APA 7th edition, published by the American Psychological Association in October 2019, asks for four elements on every website reference: author, date, title, and site name. The order of those elements matters, and so does where you find each one.

Author. Most news sites, blogs, and organizational pages put the author near the headline. Look for "By [Name]," a byline just under the headline, or a contributor link at the top of the article. If there is no byline anywhere, the page is unauthored — leave the field empty in the generator and APA's rules move the title to the front of the entry automatically.

Date. APA 7 wants the most specific date the page gives. A page showing "March 14, 2024" is better than one showing "2024," and a complete date beats a year-only stamp. Look for "Published," "Posted," or "Last updated." If you cannot find any date, that's "(n.d.)" — no date — and the generator inserts it for you.

Title. Use the actual title of the page or article, not the website's name. The website name moves into the container slot, the way a journal name or publisher does in a journal or book reference. Italics on a website reference go on the page title only when the page is an independent document — like a standalone report — not on a regular article or blog post.

URL. Copy the full https:// link from your browser's address bar. If the page shows a DOI badge, use the DOI instead — APA 7 formats it as a full https://doi.org/ URL and that takes the place of the web address.

Build the Citation Step by Step

The generator's workflow is short and built around the four elements you pulled in the section above.

  1. Open the APA Citation Generator at /text/apa-citation-generator/ and pick "website" from the source-type selector. The fields below adjust to match what a website reference needs.
  2. Enter the author. For one author, the tool formats the name as "Last, F. M." For two authors, it joins the second with an ampersand. For three to twenty authors, it separates every name with commas and adds an ampersand before the final name. For twenty-one or more authors, it lists the first nineteen, inserts a spaced ellipsis, and ends with the last name — no ampersand. Leave this field blank for an unauthored page.
  3. Enter the date exactly as the page shows it. A missing year becomes "(n.d.)." The generator handles the parentheses and punctuation.
  4. Enter the page title and the website name in their separate fields. The page title moves to the author position if the author is missing — the tool does that for you.
  5. Paste the URL or the DOI. A DOI is automatically normalized to a full https://doi.org/ link, which is what APA 7 specifies.
  6. Copy the formatted reference from the output. Italics are applied automatically — the page title is italicized only when the page counts as an independent document, while the website name is never italicized.

That output is the full reference list entry — the version that goes at the end of your paper. It is not the short parenthetical you would drop inside a sentence; that is an in-text citation and uses a different format. APA 7 generally uses (Author, Year) in the body, or the title and year for an unauthored source.

How the Generator Handles Tricky Website Cases

Web pages break more APA rules than books do, so it helps to know what the generator is doing under the hood.

Italics by source type. APA's italics rule changes depending on what you're citing. A journal article italicizes the journal name and the volume number but not the article title. A book italicizes the whole title. A newspaper italicizes the paper's name but not the headline. A webpage italicizes the title only when the page is an independent document like a standalone report — a regular blog post or news article gets no italics on the title at all. The generator applies the right rule without you choosing between them.

Source type What gets italicized Title treated as
Website / webpage Title only when the page is an independent document Article title — moves to author position if unauthored
Book Whole title Standalone work title
Journal article Journal name and volume number Article title in roman (no italics)
Newspaper article Newspaper name Headline in roman (no italics)

Missing author. When a webpage has no byline, APA 7 moves the title to the author slot, italicizes nothing extra, and ends with the date and URL. The generator handles this by leaving the author field blank and reading the title first.

Missing both author and date. A page with no byline and no publication date starts with the title, then "(n.d.)," then the URL. The generator inserts "(n.d.)" automatically when the date field is empty.

"Retrieved from." APA 7 retired "Retrieved from" in most cases. The phrase appears only when the page has no clear publication date and its content is likely to change over time — for example, on a wiki or a page of regularly updated statistics. For static pages with a date, the URL is enough. The generator applies this rule on its own.

Author counts. The generator handles the 20-author cutoff exactly: it lists up to 20 authors in full, then switches to the 19-plus-final-author pattern with a spaced ellipsis. APA 7 made that change from the 6th edition's 7-author cutoff.

DOI vs URL. When a webpage gives a DOI, the DOI goes in place of the URL — APA 7 wants the DOI formatted as a full https://doi.org/ link. The generator detects the DOI field and normalizes it that way.

Reference List Entry vs In-Text Citation

The tool builds the longer reference list entry that goes at the end of your paper. It does not build the short parenthetical that goes in the body — APA treats those as two separate things.

A reference list entry for a website follows a fixed order: author, year in parentheses, title, site name, and the URL or DOI. Italics go on the title only when the page is an independent document, never on the site name, and the DOI is formatted as a full https://doi.org/ link.

The same source, used as an in-text citation in the body of your paper, reads:

(Grady et al., 2019)

For an unauthored page, the in-text form uses the title and year:

("Title of Page," 2024)

For a no-date page:

("Title of Page," n.d.)

Build the reference list entry with the generator. Build the in-text citation by hand using the author (or title) and year from that entry.

Verify Against the Official APA Examples

The generator's rules are checked against the reference examples published at apastyle.apa.org, the official APA Style site. When you finish a citation, compare it against the equivalent example on that page — particularly for source types you do not cite often. APA updates its guidance periodically, and a second look at the official examples is the fastest way to catch any drift between your reference list and the current Publication Manual.

If you also need MLA 9th edition references for the same project — for a class that accepts either style, or for a paper that pulls from multiple style guides — the MLA Citation Generator follows the MLA equivalent for websites, books, journals, and papers.