How to import a folder of Markdown files into Apple Notes on Mac

A photo pasted in Apple Notes on Mac

A folder of .md files can become individual, editable Apple Notes in one import. You can also preserve its subfolders. The choice to make first is where those notes should live. Choose iCloud for a collection you want on your other Apple devices, or On My Mac for notes that belong on this Mac.

Try the import with a small folder

  1. In Finder, make a temporary folder containing copies of two Markdown files. Put one inside a subfolder. Pick one file that includes a heading, a list and a link so you can judge how well your material transfers.
  2. Open Notes and select a folder under iCloud or On My Mac in the sidebar. Apple supports import in upgraded iCloud notes and in the local Mac account.
  3. Choose File > Import to Notes. If your version offers Import Markdown under File, you can use that command for .md files. Select the temporary folder.
  4. Open Options if necessary and turn on Preserve folder structure on import. Click Import and look for the Imported Notes folder in the account you selected.

Open the note inside the imported subfolder. Compare its heading, list and link with the original in your Markdown editor. If your collection uses links to neighboring Markdown files or images on disk, try those too. A note that looks correct at the top can still depend on a file that lives only on the original computer.

Bring the rest across once

When the sample meets your needs, import the full collection using the same account and folder option. Give the full imported folder a recognizable name before reorganizing it. Keep the test folder identifiable so you do not confuse its duplicate notes with missing material.

If your goal was to see the notes you already keep in an online account, check whether you can add that account directly to Notes. Import creates new notes from the files you select. Editing one of your original Markdown files later will not update its imported copy.

Apple’s import and export guide

For notes that are still in Apple’s Stickies app, TMO also covers the separate Stickies-to-Notes migration.

Featured image: An image attached to a note in Notes on Mac. Credit: TMO archive.

Don’t miss the best of The Mac Observer

Set us as a preferred source and our Apple reporting ranks higher in your Google Search results and Discover feed — one tap, no account changes.

Or get it by email

Discussion

Join the discussionCommenting as a guest — your email is never published · Log in

Protected by Akismet — be kind, stay on topic.

This site uses Akismet to reduce spam. Learn how your comment data is processed.