Export all your Apple Notes to Markdown
Apple Notes can’t export all your notes at once. On a Mac, run a small free script that saves every note as a file, then choose that folder here to download a ZIP of Markdown files: one per note, sorted into your Notes folders, with created and edited dates kept. Nothing is uploaded.
Export every note
-
Download the export script
One small file. It saves to your Downloads folder.
Download apple-notes-export.js -
Run it in Terminal
Open Terminal (Applications › Utilities), paste this line and press Return. If your Mac asks to let Terminal control Notes, click OK.
osascript -l JavaScript ~/Downloads/apple-notes-export.jsIt only reads your notes and writes copies to Downloads › unforget-apple-notes. It changes nothing in Notes and sends nothing anywhere.
-
Choose that folder here
Or convert one note
Copy a note in Apple Notes (Cmd+A, Cmd+C) and paste it in the box. Headings, lists, bold and links come across.
Free, no sign-up. It runs in your browser, so nothing you enter is uploaded or stored. Updated .
What comes across
- Every note's text, with headings, bold, italics, strikethrough, links, lists and tables in Markdown.
- Its folder: each Notes folder becomes a folder in the ZIP.
- When it was created and last edited, as properties at the top of the file.
What stays behind
- Images, scans, PDFs and other attachments. A note that holds only an attachment comes across with just its title.
- Locked notes and Recently Deleted.
- Whether a checklist item was ticked. Checklists come across as plain list items.
Moving to Obsidian?
Unzip the download and drag the apple-notes folder into your vault. Obsidian reads the dates at the top of each note as properties. If you're still deciding where your notes should live, leaving Apple Notes: Notion, Obsidian or something else? compares the options.
Questions people ask
Can you export all Apple Notes at once?
Not from the Notes app itself, which exports one note at a time. The free script on this page saves every note in one go, and the converter turns them into Markdown files.
Does this work on iPhone or iPad?
No. The script uses the Notes app on a Mac. If your notes sync with iCloud, sign in to the same Apple Account on a Mac and they’ll all be there to export.
Is the export script safe to run?
It only reads your notes and writes copies to your Downloads folder. It changes nothing in Apple Notes and sends nothing anywhere. It’s a short plain-text file, so you can read it before you run it.
Can I import the Markdown into Obsidian?
Yes. Unzip the download and move the folder into your Obsidian vault. Each note’s created and edited dates are at the top as properties Obsidian understands.
Want your notes searchable instead?
Unforget.it imports the same export folder with a paid plan, then finds any note when you describe it. Plans from $2.99 for two weeks.
See the import guide