# Export your Kindle highlights into one file per book

> Markdown version of https://stella.sh/how/study/export-kindle-highlights for agents and LLMs.
> Split Kindle's My Clippings.txt into one tidy file per book, without the repeated and half-finished highlights: by hand, Amazon's notebook, or Stella (stella.sh).

Every highlight you make is saved in `My Clippings.txt` in the Kindle's documents folder: plug it in by USB and copy it off. The file mixes all your books together, and Kindle adds a new entry each time you extend a highlight, so it fills with repeats. Amazon's notebook page at read.amazon.com/notebook shows highlights for books bought from the Kindle store only. Stella (stella.sh) splits the file into one clean file per book on your computer, repeats removed and notes kept.

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

## Stella doing it

Recorded 13 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: Five files in about a minute. Checked afterwards against an answer key written before the run: one file per book, each with every final highlight of that book once, no repeats or half-finished versions, nothing from other books, no bookmarks, every note kept, in reading order, and My Clippings.txt unchanged. The books and highlights are made up, written in Kindle's real My Clippings.txt format with its repeats on purpose. The work is sped up 4×.

Video (48 s): https://stella.sh/media/proofs/study/export-kindle-highlights/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. My Clippings.txt, copied off a Kindle, is in Documents.
- 0:02 The prompt: one tidy file per book, without the duplicates.
- 0:18 Stella replies: it will drop repeats, including the longer copies Kindle saves when you re-highlight.
- 0:23 Splitting the highlights, sped up 4×.
- 0:34 Done: five files with 11 to 13 highlights each, 25 repeats removed, notes kept under their highlights.

What Stella does:

1. Reads `My Clippings.txt` in Documents: five books' highlights, notes and bookmarks mixed together
2. Drops 10 exact repeats, and 15 cut-off highlights that were later saved again longer, keeping the longer version each time
3. Leaves out 10 empty bookmarks
4. Writes one Markdown file per book, highlights in reading order with page and location, each of your 13 notes under the highlight it belongs to
5. Saves them in a new Kindle Highlights by Book folder and leaves My Clippings.txt untouched

## The prompt to paste

```text
I copied My Clippings.txt from my Kindle into Documents. Split my highlights into one tidy file per book, without the duplicates, so I can read them back.
```

## Export them yourself

1. **Copy the file off the Kindle.** Connect the Kindle with a USB cable. It shows up as a drive; open its `documents` folder and copy `My Clippings.txt` to your computer. Some newer Kindles connect as a media device instead of a drive; on a Mac those need a file-transfer app such as the free OpenMTP.
2. **Or use Amazon's notebook.** Sign in at read.amazon.com/notebook to see highlights for books bought from the Kindle store, one book at a time. Highlights in documents and books you sent to the Kindle yourself aren't there, and some publishers limit how much you can export.
3. **Split by book.** Open the file in a text editor. Each entry is the book title, a line with page, location and date, the highlight, then `==========`. Search for each title and copy its entries into a new document.
4. **Remove the repeats.** Kindle never edits an entry: if you highlight a sentence and then extend it, both are saved. Delete exact repeats, and any highlight that is the start of a longer one at the same location.

## Where Stella stops

- My Clippings.txt is the only source. If you deleted a highlight on the Kindle, the file still has it, so Stella can't tell it was deleted.
- If a publisher limits clippings, the Kindle may have saved cut-off highlights; Stella can't restore the missing text.
- The highlights go to the AI model you use in Stella while it sorts them. The files are written on your computer.
- Recorded on Linux, where Stella used only Python, built in on Mac and Linux. On Windows it may install Python first, which wasn't recorded.

## Questions

**Where is My Clippings.txt on a Kindle?**
In the `documents` folder at the top of the Kindle's storage when it's connected by USB. It holds highlights, notes and bookmarks from every book on that Kindle.

**Can I get the highlights into Notion or Obsidian?**
Stella's files are Markdown, which Obsidian opens as notes and Notion imports (Import, Markdown). Ask for Word or PDF instead if you prefer.

**Can it make flashcards from my highlights?**
Yes, in the same chat. See [make Anki flashcards from notes](https://stella.sh/how/study/make-anki-flashcards-from-notes) and [print flashcards double-sided](https://stella.sh/how/study/print-flashcards-double-sided).

**What about ebooks that won't open on my Kindle?**
See [convert EPUB to PDF](https://stella.sh/how/pdf-excel/convert-epub-to-pdf) for reading on other devices.

**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: [Amazon Kindle notebook (web)](https://read.amazon.com/notebook).

## Related problems

- [Make Anki flashcards from your notes](https://stella.sh/how/study/make-anki-flashcards-from-notes.md)
- [Make an APA reference list from your list of sources](https://stella.sh/how/study/make-a-bibliography-from-a-list-of-sources.md)
- [Print flashcards double-sided so the backs line up](https://stella.sh/how/study/print-flashcards-double-sided.md)
- [Convert an EPUB to PDF so you can print it](https://stella.sh/how/pdf-excel/convert-epub-to-pdf.md)
- [See your Spotify listening history, all time](https://stella.sh/how/chats-data-exports/see-your-spotify-listening-history.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.
