# Make an APA reference list from your list of sources

> Markdown version of https://stella.sh/how/study/make-a-bibliography-from-a-list-of-sources for agents and LLMs.
> Turn sources pasted from your notes into an APA 7 reference list in Word, sorted and formatted, with gaps flagged: Zotero, Word's References tab, or Stella (stella.sh).

Citation sites and Word's References tab take one source at a time through a form. With a list already in your notes, Zotero can fetch most details from DOIs, and you type the rest. Either way, sort by surname then year and check every entry. Stella (stella.sh) turned a messy list of twelve sources into an APA 7 reference list in Word, and highlighted the two entries where the notes lacked details instead of making them up.

- Checked: 14 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 14 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: A reference list in under two minutes. Checked afterwards against an answer key written before the run: a new Word document with all 12 sources, each with its year after the authors, in APA order, with DOI links, volume(issue), pages, “&” and URLs right, titles in italics, hanging indents, the podcast left out, no placeholder text, and sources.txt unchanged. The sources are fictitious, written for this run. Their DOIs use a test prefix (10.5555) and their web addresses end in .example, so none of them open; Stella checked and said so. The answer key, set before this run, accepts a surname-only “Osei” that Stella flags (the notes give no initials) and “(n.d.)” for the report whose only year is in its title. An earlier run with the same Stella prompts left “[initials]” in the finished document; it was highlighted and Stella told the user, but it failed the key. The work is sped up 5×.

Video (43 s, sped up 5×): https://stella.sh/media/proofs/study/make-a-bibliography-from-a-list-of-sources/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. A list of essay sources, sources.txt, is in Documents.
- 0:01 The prompt: a proper APA 7 reference list in a Word document, in the right order.
- 0:12 Stella replies it will build the list and say if any source is missing details.
- 0:18 Formatting and sorting the sources, sped up 5×.
- 0:28 Done: 12 entries, the podcast left out, two entries flagged for missing details, and a note that the links in the notes are placeholders.

What Stella does:

1. Reads sources.txt in Documents: twelve sources in twelve styles, plus a note about a podcast that isn't being used
2. Formats each as APA 7: surname and initials, the year in brackets, sentence-case titles, volume(issue) and pages, and DOIs as https://doi.org/ links
3. Sorts them the APA way, so Lindqvist alone comes before Lindqvist & Osei, and an author's 2015 book before their 2019 one
4. Saves `APA References - Sleep Essay.docx` with journal and book titles in italics and hanging indents
5. Highlights two entries in yellow where the notes lacked details, and says so in its reply
6. Notices that every DOI and web address in the notes is a placeholder that won't open, so it built the entries from the notes alone

## The prompt to paste

```text
My essay sources are listed in sources.txt in Documents. Turn them into a proper APA 7 reference list in a Word document, in the right order.
```

## Make it yourself

1. **Fetch what you can from DOIs.** In the free Zotero, or ZoteroBib in a browser, use Add item by identifier and paste each DOI. It fills in authors, title, journal, volume and pages. Books can come in by ISBN; type the rest by hand.
2. **Or use Word's References tab.** In Word on Windows, choose References › Style: APA, then Manage Sources › New for each source, and Bibliography › References to insert the list. It's one form per source, so slow for a long list.
3. **Sort it the APA way.** Order by the first author's surname. One author alone comes before the same author with co-authors, and two works by the same author go oldest first. Ignore “The” and “A” at the start of a group author or title.
4. **Format the details.** Initials after surnames, “&” before the last author, the year in brackets, journal names and volume numbers in italics, then (issue), pages and the DOI as a link. Titles of articles and books take sentence case.
5. **Fill gaps honestly.** If there's no date, APA uses (n.d.). If you lack an author's initials, find the original article rather than guessing. Then set a hanging indent of 0.5 inch in the paragraph settings (Special: Hanging).

## Where Stella stops

- Stella formats what's in your notes. Where they lack details, it may leave a highlighted gap, such as a surname without initials or (n.d.), rather than make something up. Check every flagged entry and fill it in from the original source before you submit.
- In an earlier run with the same Stella prompts, the gap was left as the text “[initials]” in the document, highlighted and mentioned in Stella's reply. Search the finished list for brackets before you hand it in.
- It can look sources up online when the DOIs and links are real. Here they were made up for the test, so Stella checked, found they don't open, and worked from the notes.
- Check the list against your course's style sheet, since some courses change APA details. It set the page to A4 here; ask for US Letter if your class uses it.
- Your list of sources goes to the AI model you use in Stella. Recorded on Linux, where Stella wrote the Word file with a tool it set up there; on a Mac or Windows PC it may install a similar one first.

## Questions

**Can it do MLA or Chicago instead of APA?**
Yes, say which style and edition in the prompt. The same rule applies: it formats what's in your notes and flags what's missing.

**Will it invent a missing date or author?**
In this run it didn't: it used (n.d.) where the notes had no publication date and left Osei's initials blank and highlighted. It did reuse M. E. for Lindqvist from the other sources and said that was a guess to check.

**Can it check that my DOIs are real?**
It tries. Here it found that every DOI used a test prefix and the web addresses ended in .example, and said none would open.

**Can it turn my notes into study material too?**
Yes: see [make a study guide from notes](https://stella.sh/how/study/make-a-study-guide-from-notes) and [make Anki flashcards from notes](https://stella.sh/how/study/make-anki-flashcards-from-notes).

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [APA Style: Reference examples](https://apastyle.apa.org/style-grammar-guidelines/references/examples), [APA Style: Missing reference information](https://apastyle.apa.org/style-grammar-guidelines/references/missing-information), [Zotero: Creating bibliographies](https://www.zotero.org/support/creating_bibliographies).

## Related problems

- [Make a study guide from your lecture notes](https://stella.sh/how/study/make-a-study-guide-from-notes.md)
- [Make Anki flashcards from your notes](https://stella.sh/how/study/make-anki-flashcards-from-notes.md)
- [Export your Kindle highlights into one file per book](https://stella.sh/how/study/export-kindle-highlights.md)
- [Merge Word documents into one file, in the right order](https://stella.sh/how/documents/merge-word-documents.md)
- [Print flashcards double-sided so the backs line up](https://stella.sh/how/study/print-flashcards-double-sided.md)
- [Make a word search from your spelling words](https://stella.sh/how/study/make-a-word-search.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
