Get your Apple Books highlights out as Markdown files and a CSV — Step-by-step guide
Apple Books keeps highlights and notes in two SQLite databases inside a hidden folder on your Mac, and it has no export. BooksOut reads both files in your browser and gives you one Markdown file per book and one CSV with every highlight, its note and its date. Nothing is uploaded.
What the sample produces
The sample is two SQLite databases written by a script with the Apple Books table and column names, not copied from a Mac. The check reads the same rows with Python's sqlite3, compares every CSV field, confirms that the deleted highlight is left out, and opens the Markdown ZIP file by file. A second generated pair covers duplicate titles, a note with no highlight and a Windows line break.
- Highlights and notes in the CSV
- 6, one row each
- Markdown files
- 3, one per book with highlights
- Deleted rows skipped
- 1
How to use it
- On the Mac, quit Books. In Finder choose Go > Go to Folder, paste ~/Library/Containers/com.apple.iBooksX/Data/Documents/AEAnnotation and copy the AEAnnotation*.sqlite file. Then open the BKLibrary folder the same way and copy its BKLibrary*.sqlite file. Copying leaves the originals in place.
- Select both files here, or put them in one ZIP and select that. The preview counts the highlights, the books and the notes. Nothing is uploaded.
- Download the Markdown ZIP and the CSV. Each book gets its own .md file with the highlights as quotes, and the CSV has one row per highlight.
Supported files
Reads the two Apple Books databases: AEAnnotation*.sqlite (highlights and notes) and BKLibrary*.sqlite (titles and authors). You copy those files out of the Books container yourself with Finder, as the guide says; the browser cannot open that folder, and the tool does not open Books or change its files. Only the main .sqlite file is read. If a file is in WAL mode, changes still held in its -wal file are missing, so quit Books and copy again. Apple does not document this schema: the reader was checked against a generated database with the same tables and columns, not a real library, and a newer Books version may change it. Dates come from ZANNOTATIONCREATIONDATE and are shown in UTC. Colours appear as Apple's style code (0 to 5), not as colour names. Annotations on PDF books may be stored differently and may be missing; check them in Books. Deleted highlights are skipped. Up to 512 MB in total, read in browser memory.