The one exception: when a source actually says "Anonymous"
There's a real difference between a page that simply doesn't list an author and one that's explicitly signed "Anonymous." APA's manual addresses this directly: if a work is genuinely signed that way, you use "Anonymous" as the author, both in the reference list and in-text — Anonymous. (2022). and (Anonymous, 2022). That's different from a page that has no author credit at all, where you use the title instead, as above. Don't default to writing "Anonymous" just because no name is listed; APA explicitly treats that as a separate, specific case from a missing author, and using it when it doesn't apply is a common, easy-to-avoid mistake.
Alphabetizing follows the same split: a reference signed "Anonymous" alphabetizes under that word, as if it were a real name, while a source with no author at all alphabetizes by the first significant word of its title, ignoring a leading "A," "An," or "The."
Questions
Do I write "Anonymous" when there's no author listed?
No, not unless the source is explicitly signed "Anonymous." APA's Publication Manual treats a genuinely anonymous (signed) work and a page that simply has no credited author as two separate cases — for the latter, you move the title into the author's position instead, both in APA and MLA.
What goes in place of the author in APA format?
The page or article title, italicized, followed by a period and then the date in parentheses — for example, Libraries are cool places. (2022). It takes the exact slot the author's name would otherwise occupy.
How do I write the in-text citation if there's no author?
In APA, use a shortened title and the year — (Libraries are Cool Places, 2022) — matching whichever formatting (italics or quotation marks) you used in the full reference. In MLA, use a shortened title in quotation marks with no page number, since webpages don't have one — ("Tips for Container").
Can a citation generator handle a page with no author?
StudyPilot's citation generator builds APA, MLA, Harvard, or Chicago references from a pasted URL or DOI, or from details you enter yourself. For a page with no listed author, enter the title and date manually and it will format the reference correctly, following the title-in-author-position rule above.