Step one: figure out what the PDF actually is
Before you can format anything, you need to know what kind of source you're holding. A PDF is almost always one of a few familiar things wearing a file extension: a journal article (look for a volume/issue number, an abstract, or a DOI near the top or bottom of the first page), a report from a government agency or organization (often has a report number and a publisher logo), a book or book chapter (check for a title page, publisher, and ISBN), or lecture slides or course material (usually has a course code or instructor name, and gets cited more informally if your course allows it at all).
The clues are almost always on the document itself — the first page, the header or footer, or the file's own metadata (most PDF readers show this under "Document Properties" or similar, listing a title, author, and sometimes a creation date that a human actually set). If you downloaded the PDF from a webpage rather than finding it loose in a folder, that source page itself often has the full citation details even when the PDF's internal metadata doesn't.
APA 7 and Harvard: cite the underlying type, link to the PDF
APA's Publication Manual doesn't carve out a separate PDF format — a PDF journal article gets the standard journal-article reference (author, year, article title, journal name in italics, volume(issue), page range, and a DOI if one exists), and a PDF report gets the standard report format (author or organization, year, title in italics, publisher, and a URL). The only thing that changes is the link at the end: if the PDF lives at a stable, directly-linkable URL, that URL goes where a webpage's URL normally would.
Harvard works the same way in practice — the reference follows whatever the underlying document type calls for (journal article, report, book chapter), with the PDF's direct URL added if one exists. Where a PDF genuinely has no listed author, both styles use the same fix as any other no-author source: move the title into the author's position, followed by the year — Annual Campus Safety Report. (2023). University Name. URL — rather than guessing at a name or writing "Anonymous," which APA reserves specifically for sources actually signed that way.
MLA 9: cite the type, then label it as a PDF
MLA takes a similar underlying-type approach but adds one small, specific detail: after citing the source as whatever it actually is (book, journal article, newspaper or magazine article, report), you can append "PDF file" if you accessed the PDF directly, or "PDF download" if you linked to a page where the PDF can be downloaded rather than to the file itself. A journal article accessed as a PDF might end: ...Journal Name, vol. 12, no. 3, 2023, pp. 45-60. PDF file.
If the PDF has no clear author, MLA's rule is the same as it is everywhere else no author is listed: start the Works Cited entry with the title instead, and use a shortened version of that title for the in-text citation. If the PDF has no page numbers you can point to for an in-text citation (common in reports and slide decks), MLA says to use another available locator — a section or chapter heading, a slide number — and if there's genuinely nothing to point to, cite the title alone.
Chicago: same logic, two different systems
Chicago doesn't have a PDF format either, and it splits into two citation systems that both apply the same underlying-type rule. Notes-bibliography style (common in history and the humanities) cites a PDF journal article or report the way it would cite that type in print, with a footnote and a matching bibliography entry; author-date style (more common in the sciences) does the same with an in-text (Author Year) citation instead. Either way, the fix is identical to APA and MLA: identify what the document actually is, cite it as that, and add the PDF's URL or DOI if it has one.
This is also exactly where a citation generator earns its keep on a PDF specifically: once you've correctly identified the source type and pulled the handful of details off the document itself (author, title, publication year, journal or publisher), getting the punctuation, italics, and ordering right across four different styles is the tedious part a generator genuinely removes.
Questions
Is there a specific citation format for PDFs in APA or MLA?
No — neither APA, MLA, Harvard, nor Chicago has a dedicated "PDF" source type. A PDF is cited according to what it actually is underneath the file format: a journal article, book, report, or similar. MLA is the one style that adds an optional "PDF file" or "PDF download" label after the citation; the others just link directly to the PDF.
How do I cite a PDF with no listed author?
The same way you'd handle any source with no author: move the title into the author's position. In APA and Harvard, that looks like Title of the Document. (Year). Publisher. URL. In MLA, you start the Works Cited entry with the title in place of the author. Don't write "Anonymous" unless the document is actually signed that way.
What if the PDF has no page numbers?
For an in-text or parenthetical citation that needs a locator, use whatever division the document actually has — a section heading, a chapter number, or a slide number for a deck. If there's genuinely no internal structure to point to, cite the source by title or author alone and skip the locator.
Can StudyPilot's citation generator handle a PDF source?
Yes, with one distinction: if the PDF is hosted at a stable, public URL, paste that link and the generator pulls the details automatically. If it's a local file with no public URL — common for lecture slides or an emailed report — use the manual entry form instead and fill in the author, title, and date yourself; the generator formats the result correctly in APA, MLA, Harvard, or Chicago either way.