Skip to content
BooksOut

Apple Books database→ Markdown per book + CSV

Get your Apple Books highlights out as Markdown files and a CSV

One Markdown file per book and a CSV with every highlight, note and date. Read in your browser, nothing uploaded.

Preview your files
  • Free preview
  • US$4 per library export
  • Files stay on your device
  • No account, no install
booksout-demo.zip (2 databases)booksout-demo.zip
Apple Books database
Annotation rows in the database
7, one deleted
Books in the library
3
booksout-highlights.csv + booksout-markdown.zipSample result
6 highlights and notes read3 books with highlights3 with a note attached

Apple Books databaseYou upload

Markdown per book + CSVYou download

PrivacyYour file never leaves your device

Six highlights, three books, one with no library entry

What makes this file tricky

Apple Books has no export for highlights and notes. The data sits in two databases inside a hidden folder, so readers copy quotes by hand or open the files without a guide. Without the book, the author, the date and the note next to each quote, the highlights are hard to reuse.

What the tool accepts

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.

From source file to export

  1. Open the source file

    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.

  2. Check your preview

    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.

  3. Save the export

    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.

Read the step-by-step guide

Open BooksOut

Try a sample or open your own files. The preview runs in this browser.

Source files

Apple Books database

No files selected.

Preview & export

Markdown per book + CSV

Choose a file or try the sample to see the result here.

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.

booksout-highlights.csv + booksout-markdown.zip

Highlights and notes in the CSV
6, one row each
Markdown files
3, one per book with highlights
Deleted rows skipped
1

BooksOut and other ways to do the job

Comparison of BooksOut and other tools
ToolWhat it does
BooksOutThe 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.
notateMIT-licensed Python command-line tool for macOS that reads both databases and writes Notion, Obsidian or plain text files; Python must be installed.
ibooks-highlightsPython command-line script on GitHub that writes one Markdown file per book and keeps a separate 'My notes' section between syncs.
PinotateMIT-licensed Python tool with a command-line script and a GUI that exports Apple Books highlights to Markdown; it needs Python 3.

The links describe each alternative's documented workflow.

Preview for free. Pay when you download.

Free preview

$0

Open a sample or your own files and inspect the result before deciding whether to export.

Full export

US$4 per library export

Pay once to download the full result shown in your preview.

Already paid? Restore your purchase.

Frequently asked questions

Does it work with the newest Books version?

It was checked against a generated database with the same tables and columns. Apple does not document this schema, so a newer Books version can change it. If a table is missing, the tool stops with a message, and the output should always be checked against Books.

Why do I have to copy the files myself?

The browser cannot open the Books folder on a Mac. Finder can open it with Go to Folder, and copying leaves the original files as they are.

Does it upload my books or change Apple Books?

No. The files are read in your browser and nothing is written back to the Books folder. The Markdown ZIP and the CSV are new files that you download.

How much does BooksOut cost?

The preview is free. Each library export is US$4, charged once at download.

Do my files get uploaded?

Your files are processed in your browser. Stripe handles checkout separately.

Do I need an account to pay or download?

No account is needed. Complete Stripe Checkout and return to this browser to download the result.

Can I come back to finish a paid download?

Open this tool in the same browser and select Restore purchase. Prepared exports are kept locally for up to seven days.

Guides and support

Try BooksOut with a sample

Open the tool and preview the result for free.

Open the tool