Export your Apple Notes from NoteStore.sqlite as text and HTML files — Step-by-step guide
Apple Notes keeps every note in one NoteStore.sqlite file, with each note body compressed. NoteStoreText reads that file in your browser and gives you a ZIP with one .txt and one .html file per note, in the same folders as Notes, plus a notes.csv index. Nothing is uploaded.
What the sample produces
The sample is a NoteStore.sqlite file written by a script that follows the documented table layout, not copied from a Mac. A Python sqlite3 reader and gzip check the titles, dates, locked and deleted flags, and every paragraph inside the note bodies. The output is then compared line by line with the expected text and index, including a ZIP copy of the same file, a nested folder, two notes with the same title and a note that cannot be decoded.
- Notes exported as TXT and HTML
- 3, in their folders
- Locked notes listed and skipped
- 1
- Deleted notes left out
- 1
How to use it
- On a Mac, quit Notes. In Finder choose Go > Go to Folder, paste ~/Library/Group Containers/group.com.apple.notes and copy NoteStore.sqlite. Copy its -wal file too if one is there. Copying leaves the original in place.
- Select the file here, or put it in one ZIP and select that. The preview counts the notes, the locked notes and the attachments. Nothing is uploaded.
- Download the ZIP. Each note becomes a .txt and an .html file in its folder, and notes.csv lists every note with its dates and status.
Supported files
Reads the modern NoteStore.sqlite layout, with the ZICCLOUDSYNCINGOBJECT and ZICNOTEDATA tables that the apple_cloud_notes_parser project describes for iOS 9 to 26 and Mac Notes. Older layouts are refused with a message. Only the main NoteStore.sqlite file is read; if a -wal file exists, its changes are missing, so quit Notes and copy again. Password-protected notes are listed as locked and skipped, and their text is not decrypted. Notes marked as deleted are skipped. Formatting is kept only for titles, headings, lists, checklists and monospaced text; bold, italic, links and colours are dropped. Attachment files are not in this database, so only their names are listed. Dates come from Core Data and are shown in UTC. Apple does not publish this format, and the note body layout was reverse-engineered, so a newer Notes version may change it. Up to 512 MB, read in browser memory.