If you are writing an essay and need to credit a web page inside your sentences, learning how to cite websites in apa in text is an essential skill. In-text citations are the short references you place inside your writing, right where you use someone else’s idea, and they point your reader to the full entry in your reference list at the end. This guide gives you a clear step-by-step method for citing websites in APA style, so you can do it correctly every time without guessing.
APA style, published by the American Psychological Association, is widely used in psychology, education, social sciences, and many other subjects. Its in-text system is author-date: you give the author’s surname and the year of publication in brackets, or in the sentence itself, and your reader can then find the full source in the reference list. When you understand how to cite websites in apa in text, you avoid plagiarism, you show where your evidence comes from, and your work looks professional and trustworthy.
Websites can be trickier than books because the author, date, or page number is not always obvious. Some pages have a named author, some name only an organisation, some have no author at all, and some show no clear publication date. This step-by-step guide walks through each situation in order, so you can handle whatever kind of web page you meet. Follow the steps from the top, and by the end you will have a citation you can use with confidence.
How to Cite Websites in APA in Text: Step 1, Find the Author
The first step in how to cite websites in apa in text is to find the author. Look at the top and bottom of the web page for a byline, an About page, or a copyright line. Many news and magazine sites name an individual author, in which case you use that person’s surname. For example, a page written by a single author named Patel, published in 2024, gives the citation (Patel, 2024). If two authors wrote the page, include both surnames joined by an ampersand inside brackets, or by the word and in a narrative citation.
Many websites are written by organisations rather than individuals. A government department, a charity, a university, or a company may be the author. In that case, use the organisation’s full name the first time you cite it, and you may use a short form afterwards if the organisation has a well-known abbreviation. For example, a page from a national health body would be cited with the body’s full name and year on first use. This matters because your reference list entry must match your in-text citation, so the name you choose here must be the name you use there too.
If no author is named anywhere on the page, do not invent one and do not use the website name as the author unless the site itself is genuinely the authoring organisation. Instead, you will use a shortened version of the page title in place of the author, which we explain in Step 4. The key habit is to check carefully first: scroll to the bottom, check the About section, and look for a named writer or organisation before deciding that a page has no author.
How to Cite Websites in APA in Text: Step 2, Find the Date
The second step in how to cite websites in apa in text is to find the publication date. Look for a date near the title, at the top of the article, or at the bottom of the page. News sites usually show a clear date, while blogs and organisation pages may show a last-updated date. Use the most recent date that clearly belongs to the version you read. If a page shows both a published date and an updated date, the updated date is usually the safer choice, since it matches the content you actually used.
Some web pages show no date at all. In APA style, you use the abbreviation n.d., which stands for no date, in place of the year. A citation would then look like (Johnson, n.d.) or, with no author, like a shortened title followed by n.d. Do not guess a year, and do not use the date you accessed the page as a publication date, unless your instructor or publisher specifically asks for a retrieval date for a page that changes often. For most stable web pages, a retrieval date is not needed in current APA style.
Be careful with copyright dates in footers. A footer that says a range of years, such as 2015 to 2026, is a site-wide copyright notice, not the publication date of the page you read. If you cannot find a date for the specific page, treat it as undated rather than copying the footer range. This small discipline prevents one of the most common errors students make when learning how to cite websites in apa in text.
How to Cite Websites in APA in Text: Step 3, Build the Basic Citation
With author and date in hand, you can build the basic citation. APA offers two forms. A parenthetical citation puts both pieces in brackets at the end of the sentence, before the full stop, like this: a claim about online learning is supported by recent research (Patel, 2024). A narrative citation puts the author in the sentence itself and the year in brackets right after the name, like this: Patel (2024) argues that online learning improves access. Both forms are correct, and good writing mixes them so the text does not feel repetitive.
When you cite a website in your own words, a paraphrase, you need only the author and year. Page numbers are not required for paraphrases, because web pages often have no page numbers at all. If the page is long and you want to help your reader find the exact passage, you may add a section heading or paragraph number, but this is optional for paraphrases. The essential rule of how to cite websites in apa in text for paraphrases is simple: author, year, and nothing else is required.
When you quote directly, the rules tighten. You must reproduce the words exactly, use quotation marks for short quotes, and give a locator so the reader can find the passage. For a web page without page numbers, use the paragraph number, counted from the top of the page, or a section heading plus paragraph number for long pages. A short direct quote might look like this in a sentence: one guide notes that careful citation builds reader trust (Patel, 2024, para. 3). Getting this locator habit right is what separates a good citation from a sloppy one.
How to Cite Websites in APA in Text: Step 4, Handle Missing Authors
Step 4 of how to cite websites in apa in text covers pages with no named author. In this case, use a shortened version of the page title in place of the author. Capitalise the first word and any proper nouns, keep it short, and put the title in quotation marks if it is an article or web page title. For example, a page titled Guide to Healthy Sleep Habits with no author, published in 2023, would be cited as (Guide to Healthy Sleep Habits, 2023) in shortened form, or with the first few words of the title if the full title is long.
A common mistake is to use the website name, such as the domain or homepage title, as the author when the page itself has no author. Only do this if the organisation behind the site genuinely authored the page. If a charity publishes a fact sheet on its own site with no individual author, the charity is the author. But if a news site publishes an unsigned article, the article title, not the news site name, takes the author slot. Making this distinction correctly keeps your citations honest and consistent with your reference list.
For pages with three or more authors, current APA style simplifies things: use the first author’s surname followed by et al. in every citation, including the first one. A page by four authors would therefore appear as (Khan et al., 2023) in brackets, or Khan et al. (2023) in narrative form. Older APA editions used a longer rule for the first citation, so if your course uses an older edition, check its rule, but for current APA style, et al. from the first citation is correct.
How to Cite Websites in APA in Text: Step 5, Check and Match the Reference List
The final step in how to cite websites in apa in text is to check that every in-text citation matches an entry in your reference list, and vice versa. The surname and year in the text must match the first element and year of the reference entry exactly. If you cite (Patel, 2024) in the text, your reference list must contain an entry beginning with Patel and dated 2024. If you cite a title because there is no author, the reference entry must begin with that same title. A mismatch here is easy to miss and easy for a marker to spot.
Read through your draft once with citations alone in mind. Check each citation for spelling of surnames, correct year, and correct use of et al. Check that direct quotes have locators and quotation marks. Check that you have not cited a source in the text that you forgot to list, or listed a source you never cited. This final pass takes only a few minutes and catches most citation errors before submission.
For related citation help, see our guides on citing two authors, citing multiple authors, and using page numbers. Together with this step-by-step method, they cover almost every website citation you are likely to meet in coursework.
How to Cite Websites in APA in Text: Quick Reference Table
This table summarises the step-by-step patterns for how to cite websites in apa in text so you can check your citation at a glance.
| Situation | Parenthetical citation | Narrative citation |
|---|---|---|
| One author, dated | (Patel, 2024) | Patel (2024) |
| Two authors, dated | (Patel and Lee, 2024) in text form; brackets use an ampersand | Patel and Lee (2024) |
| Three or more authors | (Khan et al., 2023) | Khan et al. (2023) |
| Organisation as author | (National Health Council, 2022) | National Health Council (2022) |
| No author | (Shortened Title, 2023) | Shortened Title (2023) |
| No date | (Johnson, n.d.) | Johnson (n.d.) |
| Direct quote, no page number | (Patel, 2024, para. 3) | Patel (2024, para. 3) |
How to Cite Websites in APA in Text: Frequently Asked Questions
Do I need a page number when citing a website in APA?
Not for a paraphrase. For a direct quote from a page without page numbers, give a paragraph number or a section heading plus paragraph number so your reader can find the exact words.
What if a website has no author and no date?
Use a shortened title in place of the author and n.d. in place of the year. Check the page footer, About section, and byline carefully first, since many pages hide author or date details in those places.
Should I include the website address in the in-text citation?
No. The web address belongs in the reference list entry, not in the in-text citation. In-text citations carry only author and year, plus a locator for direct quotes.
Can I cite the same website several times?
Yes. Cite it every time you use its ideas, using the same author-date form each time. Repeated citation is expected and correct; leaving later uses uncited is where problems arise.
Conclusion: How to Cite Websites in APA in Text
Mastering how to cite websites in apa in text comes down to five habits: find the author, find the date, build the author-date citation, handle missing details honestly, and match every citation to your reference list. Work through those steps in order, choose parenthetical or narrative form to suit your sentence, and add a locator whenever you quote directly. Do that consistently, and your website citations will be accurate, professional, and ready for any marker to check.