{"id":133835,"date":"2023-05-20T23:03:44","date_gmt":"2023-05-20T23:03:44","guid":{"rendered":"https:\/\/appleinsider.com\/inside\/macos\/tips\/how-to-recover-notes-stored-on-your-mac?utm_medium=rss"},"modified":"2023-05-20T23:03:44","modified_gmt":"2023-05-20T23:03:44","slug":"how-to-recover-notes-stored-on-your-mac","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2023\/05\/20\/how-to-recover-notes-stored-on-your-mac\/","title":{"rendered":"How to recover Notes stored on your Mac"},"content":{"rendered":"<div class=\"col-sm-12\" id=\"article-hero\" aria-labelledby=\"hero-cap\" role=\"figure\"> <a href=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2023\/05\/how-to-recover-notes-stored-on-your-mac.jpg\"> <img decoding=\"async\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2023\/05\/how-to-recover-notes-stored-on-your-mac.jpg\" alt> <\/a> <\/div>\n<p class=\"col-sm-12 article-lead\">Apple&#8217;s Notes app stores local copies of your Notes on your <a href=\"https:\/\/appleinsider.com\/inside\/mac\" title=\"Mac\" data-kpt=\"1\">Mac<\/a>. Here&#8217;s how to find them.\n<\/p>\n<div class=\"col-sm-12\">\n<p>Apple&#8217;s Notes app lets you store notes locally and in <a href=\"https:\/\/appleinsider.com\/inside\/icloud\" title=\"iCloud\" data-kpt=\"1\">iCloud<\/a>. For both types of notes, <a href=\"https:\/\/appleinsider.com\/inside\/macos\" title=\"macOS\" data-kpt=\"1\">macOS<\/a> makes a local copy and stores them for the Notes app to use. Should you need to find these for any reason, or if for some reason you need to recover the thumbnail images for notes, you can do it locally on your Startup Disk.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>You might want to do this if you&#8217;ve accidentally deleted a note, or want to recover a cached thumbnail from a note that was deleted long ago. You might also want to use the local files if you want to reinstall macOS, or set up a new Mac, although in the latter case, you&#8217;re probably better off syncing all the Notes to iCloud and then re-syncing the new Mac to it to download everything.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Trying to move the existing local Notes data over to a new Mac by copying the local files may work, but you may only obtain partial results, and the potential for losing data via this method exists.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>To view both local and iCloud notes in the macOS version of the Notes app, first click the sidebar icon in the main window&#8217;s top left corner to reveal notes in the sidebar, then click the small hidden turnable arrow next to both the <strong>&#8220;Notes&#8221;<\/strong> item under the <strong>&#8220;iCloud&#8221;<\/strong> heading, and the one under <strong>&#8220;On My Mac&#8221;<\/strong>.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<div class=\"align-center\"><a href=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2023\/05\/how-to-recover-notes-stored-on-your-mac-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2023\/05\/how-to-recover-notes-stored-on-your-mac-1.jpg\" alt=\"Click the sidebar icon, then the hidden arrow to reveal notes.\" height=\"768\" loading=\"lazy\" class=\"img-responsive article-image\"><\/a>\n<\/div>\n<\/div>\n<div class=\"col-sm-12\">\n<p>The small turnable arrow next to both items is hidden until you hover over them, which is a strange violation of Apple&#8217;s own Human Interface Guidelines.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Once the Notes items are revealed in the sidebar, click on each one to display iCloud or local notes in the main window&#8217;s right-hand pane.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>You can also create new folders by clicking the small <strong>New Folder<\/strong> &#8220;+&#8221; icon in the main window&#8217;s lower left corner. The new folder gets created under either &#8220;iCloud&#8221; or &#8220;On My Mac&#8221; in the sidebar, depending on what the default account is set to in the <strong>Notes-&gt;Settings<\/strong> window from the main menu.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Notes also allows you to share Notes from other internet services such as Google, Microsoft Exchange, OneNote, Yahoo!, and others. <\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>To add an internet account go to <strong>Notes-&gt;Accounts<\/strong> from the main menu. This brings up macOS Settings pane, from which you can click the <strong>&#8220;Add Account&#8221;<\/strong> button on the right to add a new internet account.\n<\/p>\n<\/div>\n<p><h2 data-anchor=\"local-notes\" id=\"local-notes\">Local Notes<\/h2>\n<\/p>\n<div class=\"col-sm-12\">\n<p>For local notes, the Notes app stores everything in:\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>~\/Library\/Group Containers\/group.com.apple.notes\/\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>In this folder you&#8217;ll find local Notes <em>preferences<\/em> stored in a subfolder in \/Library\/Preferences\/group.com.apple.notes.plist. Many of the settings in this .plist file are private to Apple and may or may not be modifiable.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Some, but not all cached note thumbnails are also stored in the ~\/Library\/Group Containers\/group.com.apple.notes\/ folder, but in a \/Thumbnails\/Recent folder. A .png and a .json description of the thumbnail are stored here. <\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Notes removes these thumbnail caches at times it sees fit, but which is undocumented.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>A much larger thumbnail cache is also stored in ~\/Library\/Group Containers\/group.com.apple.notes\/ but in the \/Accounts folder in a folder with a UUID as its name. This folder contains a folder named &#8220;Previews&#8221;, which in turn contains .png files, each named with a unique UUID generated by Notes.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>This folder can get quite large and it&#8217;s not clear the logic Notes uses to empty it when you delete individual notes in the app. To save disk space you may want to go through and manually clean out ancient files that are no longer used.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Also in the same \/Accounts subfolder, is a folder entitled &#8220;Media&#8221;. This is where Notes stores any items you may have pasted into your individual notes: large images, videos, links, and other items. <\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>The logic Notes uses for clearing this folder is also not documented by Apple.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>There is another subfolder in \/Accounts, named &#8220;LocalAccount&#8221;, but oddly not much ever seems to be stored here &#8211; local or not. iCloud items and media are never stored here, but to date, we&#8217;ve not seen anything from local individual notes stored here either, no matter how long they&#8217;ve existed.\n<\/p>\n<\/div>\n<p><h2 data-anchor=\"invisible-files\" id=\"invisible-files\">Invisible files<\/h2>\n<\/p>\n<div class=\"col-sm-12\">\n<p>Also stored in the ~\/Library\/Group Containers\/group.com.apple.notes\/ folder is an invisible preferences file named .com.apple.containermanagerd.metadata.plist. To view this file, you&#8217;ll need to show hidden files in Finder, which we&#8217;ve discussed previously. <\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>This file contains some metadata used by the Notes app &#8211; mostly just UUID settings and some POSIX user and group ID info.\n<\/p>\n<\/div>\n<p><h2 data-anchor=\"the-local-database\" id=\"the-local-database\">The local database<\/h2>\n<\/p>\n<div class=\"col-sm-12\">\n<p>In ~\/Library\/Group Containers\/group.com.apple.notes\/ you&#8217;ll also see several lock files which are used while Notes is running, and which are deleted or unused when it&#8217;s quit. There are a few other files and folders such as state, database backup files, and temp files. You can ignore most of these.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>But the really important file is named &#8220;NoteStore.sqlite&#8221;. This is a local SQLite database file, which stores all the notes and info associated with them. SQLite is an open source standard and the NoteStore.sqlite file can be viewed with any database app which can read .sqlite files. <\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Easy-to-use free SQLite viewer apps include Liya, DBeaver, and DB Browser for SQLite. If any of your notes are protected by passwords you&#8217;ll need those passwords to be able to view the databases.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Most of the info in the database file are merely references back to the media on disk, and so it may take some searching to find what you&#8217;re looking for.\n<\/p>\n<\/div>\n<p><h2 data-anchor=\"icloud-notes\" id=\"icloud-notes\">iCloud Notes<\/h2>\n<\/p>\n<div class=\"col-sm-12\">\n<p>For Notes stored in iCloud, most of the note data is stored on Apple&#8217;s iCloud servers via the CloudKit framework and API in a remote database. If you have an Apple developer account you can view some of this data via the CloudKit web interface.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>When you add a new note to the Notes app under the &#8220;iCloud&#8221; heading, the Notes app automatically syncs them to iCloud servers via CloudKit (actually the background daemon <em>cloudd<\/em> does the syncing).\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>In <a href=\"https:\/\/appleinsider.com\/inside\/macos-ventura\" title=\"macOS Ventura\" data-kpt=\"1\">macOS Ventura<\/a>, iCloud stores some partially mirrored iCloud Notes data locally in:\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<ol>\n<li>~\/Library\/Containers\/com.apple.Notes.datastore<\/li>\n<li>~\/Library\/Containers\/Notes\/Data<\/li>\n<li>~\/Library\/Containers\/Notes\/Data\/Library\/Notes<\/li>\n<\/ol>\n<\/div>\n<div class=\"col-sm-12\">\n<p>But most of the iCloud Notes data gets sent to the iCloud servers.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>In ~\/Library\/Containers\/Notes\/Data\/CloudKit you&#8217;ll find one or more UUID-named folders, each containing a database and other folders. You&#8217;ll also find a &#8220;cloudd_db&#8221; folder. These are mostly local caches of CloudKit databases, records, and indices used to speed up Notes data access, but they may or may not also contain some records.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>There are also folders for the Notes Quick Look extension, and Spotlight indexing in the ~\/Library\/Containers\/ folder.\n<\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>Notes iCloud syncing has been a contentious issue for users for years, and Apple has yet to fully address the issue, although Notes syncing across devices does seem to have improved somewhat in recent years. <\/p>\n<\/div>\n<div class=\"col-sm-12\">\n<p>The biggest sync problems seem to arise where a huge number of notes are stored in the Notes app, or when one device hasn&#8217;t been synced in a long time and the synchronization data is far out of date for a particular device.\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Apple&#8217;s Notes app stores local copies of your Notes on your Mac. Here&#8217;s how to find them. Apple&#8217;s Notes app lets you store notes locally and in iCloud. For both types of notes, macOS makes a local copy and stores them for the Notes app to use. Should you need to find these for any [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"class_list":["post-133835","post","type-post","status-publish","format-standard","hentry","category-apple-insider"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/133835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=133835"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/133835\/revisions"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=133835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=133835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=133835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}