Writing guides

How to Cite a Website in APA and MLA (With Examples)

Websites are the sources students cite most, and the ones they get wrong most. This guide shows you exactly how to build a website citation in APA 7 and MLA 9, step by step, with examples you can copy and adjust.

What you need before you start

Every citation, in every style, is built from the same raw ingredients. Before you format anything, collect these details from the webpage:

If one of these is missing, do not panic. Both styles have simple rules for missing information, and we cover the two most common cases below.

How to cite a website in APA 7

APA uses an author–date format: the author's name, then the year in brackets, then the title. The template looks like this:

Author. (Year). Title of page. Website Name. URL

Here it is with real details filled in:

Study Journal. (2026). How to build better study habits. Study Journal. https://studyjournal.example.com/better-study-habits

Three things to notice. First, the year sits in brackets right after the author — that is the signature of APA style. Second, only the first word of the page title is capitalized (plus proper nouns), because APA titles use sentence case. Third, there is no full stop after the URL, so links stay clickable.

How to cite a website in MLA 9

MLA keeps the same pieces but rearranges and re-punctuates them. The template looks like this:

Author. “Title of Page.” Website Name, Date, URL.

And with the same example details:

Study Journal. “How to Build Better Study Habits.” Study Journal, 2026, studyjournal.example.com/better-study-habits.

The differences matter for graders. MLA puts the page title in quotation marks and uses title case (most words capitalized). The publication date comes later in the entry, right before the URL. And unlike APA, MLA skips the “https://” part of the URL — just the address itself.

Matching in-text citations

A reference-list entry is only half the job. Every source must also be mentioned where you use it in your text:

The rule that ties everything together: each in-text citation must match the first word of a reference-list entry, so your reader can connect the two instantly. Not sure which style your class actually wants? Our APA vs MLA guide explains how to choose by subject.

Tricky cases: no author or no date

No author

Many webpages are published by an organization with no individual author. In that case, use the organization or website name as the author — exactly as we did in the examples above, where “Study Journal” plays that role. If there is genuinely no name at all, start the entry with the page title instead, and alphabetize it by its first word.

No date

In APA, use (n.d.) — short for “no date” — where the year would go. In MLA, simply leave the date out and move on. If the page is a wiki or anything else that changes often, APA asks you to add a retrieval date: Retrieved October 11, 2026, from the URL. For ordinary pages you will never need this.

Five mistakes that cost easy marks

  1. Copying the wrong capitalization: APA wants sentence case, MLA wants title case. Get this backwards and the error is visible from across the room.
  2. Mixing styles in one list: one entry in APA and the next in MLA is the classic giveaway that the bibliography was rushed.
  3. Forgetting in-text citations: a perfect reference list means nothing if the sources are never mentioned in your essay.
  4. Pasting shortened URLs: do not cite links from URL shorteners or search-result pages — open the real page and copy its address.
  5. Skipping the double-check: citation generators are fast but not perfect. Compare the output with your style guide, or with the examples above, before you submit.

Do it the fast way

Once you understand the pattern, building each citation by hand is slow — which is exactly why our free citation generator exists. Enter the author, title, site name, year and URL, pick APA, MLA or Harvard, and copy the formatted citation in seconds. Use this guide to check the output, and you get the best of both worlds: speed plus accuracy.

Frequently asked questions

What is the basic format for citing a website in APA?

Author. (Year). Title of page. Website Name. URL — for example: Study Journal. (2026). How to build better study habits. Study Journal. https://studyjournal.example.com/better-study-habits

What is the basic format for citing a website in MLA?

Author. “Title of Page.” Website Name, Date, URL — for example: Study Journal. “How to Build Better Study Habits.” Study Journal, 2026, studyjournal.example.com/better-study-habits.

How do I cite a website with no author?

Lead with the page title instead of an author. In APA: Title of page. (Year). Website Name. URL. In MLA: “Title of Page.” Website Name, Year, URL. Then alphabetize the entry by its first word in your reference list.

Do I need an access date when citing a website?

APA 7 only asks for a retrieval date when the page content is likely to change over time, such as a wiki or a live data page. MLA 9 does not require access dates at all. When in doubt, include it — a small detail no grader ever penalizes.

Copied