How and where your Notes are saved

NotePlan saves your notes first locally into following paths. The paths are different for the trial/beta and for the final Mac AppStore version due to sandboxing (for the Mac AppStore an app has to be sandboxed for security reasons):

////// 'Local' Paths
//// Trial and Beta:
// General, standalone Notes:
~/Library/Application Support/co.noteplan/Notes
// Calendar, daily Notes:
~/Library/Application Support/co.noteplan/Calendar
//// Mac AppStore Version:
// General, standalone Notes:
~Library/Containers/co.noteplan.NotePlan/Data/Library/Application Support/co.noteplan.NotePlan/Notes
// Calendar, daily Notes:
~Library/Containers/co.noteplan.NotePlan/Data/Library/Application Support/co.noteplan.NotePlan/Calendar

If iCloud Drive is enabled, the files are pushed via Apple’s objective-c API to the iCloud Drive folder. At the same time they are removed from the local folders described above (the API removes them). The local folders will remain empty, as long as iCloud Drive is enabled. Only temporarily files are buffered there. The iCloud Drive files can be accessed via following paths in both, trial and MAS version:

//// iCloud Drive Paths
// General, standalone Notes:
~/Library/Mobile Documents/iCloud~co~noteplan~NotePlan/Documents/Notes
// Calendar, daily Notes:
~/Library/Mobile Documents/iCloud~co~noteplan~NotePlan/Documents/Calendar

All files are saved and loaded as .txt (Plain Text Document). Inside above folders. You can add, remove and modify the text files also manually. You will need to restart NotePlan or reload the individual Note to see the changes as of now (v. 1.5.26). In future releases NotePlan might re-loading them automatically. If you have iCloud enabled, use the iCloud path, if not, use the local path.

Calendar files are saved in YYYYMMDD.txt format. For example 20161010.txt would be the file for 10th October 2016. Standalone notes are saved by the title name, which is the first line of a note.

You can copy and backup all your files with following command, if you want to use the terminal or make a script (iCloud enabled):

// 1. Create folder with date on Desktop
mkdir ~/Desktop/NotePlanBackup`date +%Y%m%d`
// 2. Copy all files from the iCloud folder
cp -r ~/Library/Mobile\ Documents/iCloud~co~noteplan~NotePlan/Documents/* ~/Desktop/NotePlanBackup`date +%Y%m%d`

If iCloud is disabled and you are using the MAS version, replace the second command with (if you use the trial or beta, adapt the path as described further above):

// 2. Copy all files from the iCloud folder
cp -r ~Library/Containers/co.noteplan.NotePlan/Data/Library/Application Support/co.noteplan.NotePlan/* ~/Desktop/NotePlanBackup`date +%Y%m%d`

The iCloud Drive folder can be accessed through the Finder too. See more about iCloud in this post: