keepcalculator

06 Numbers and Powers

Where Notes Stored Locally Mac? Explained

Card No. 06·86926 · Updated · Standard formula, shown below

On a Mac, your Notes are stored locally in a SQLite database inside the app’s container folder, specifically at ~/Library/Group Containers/group.com.apple.notes/. This is where the Notes app keeps its data even if you use iCloud — the local copy is what you see when you’re offline, and it syncs with iCloud when you’re online.

Background: How Notes Has Changed

Before OS X 10.8 Mountain Lion, Notes were stored in a simple file called Notes.skylight inside ~/Library/Containers/com.apple.Notes/Data/Library/Notes/. That changed when Apple moved to the modern container system. Now, the actual notes live in a database named NoteStore.sqlite (or NotesV6.sqlite on newer macOS versions) inside the Group Containers folder. This location is shared across all apps that use the same note-taking infrastructure, which is why it’s in a “Group” container rather than the app’s own container.

Where Exactly Are the Files?

To see the files, open Finder, press Shift+Command+G, and paste this path:

~/Library/Group Containers/group.com.apple.notes/

Inside, you’ll find folders like Accounts, LocalAccount, and NotesV6.sqlite (or NoteStore.sqlite). The Accounts folder contains subfolders for each account (iCloud, Gmail, etc.), and each has its own NotesV6.sqlite file. If you have notes stored “On My Mac,” they’ll be in the LocalAccount folder.

How to Find the Notes Database Yourself

  1. Quit the Notes app completely (Command+Q).
  2. Open Finder and press Shift+Command+G.
  3. Type ~/Library/Group Containers/group.com.apple.notes/ and press Return.
  4. Look for files named NotesV6.sqlite or NoteStore.sqlite — these are your notes databases.

You can also use Terminal and type open ~/Library/Group\ Containers/group.com.apple.notes/ to open the folder directly.

Why You Can’t Just Open the .sqlite File

Many users try to open NotesV6.sqlite with a text editor or SQLite browser and see gibberish. That’s because the notes are stored in a binary plist format inside the database, and attachments are stored as separate files in a subfolder called Accounts/<account>/Attachments/. The database itself is also protected by macOS’s privacy system — you’ll need Full Disk Access for any app that tries to read it. Even with SQLite tools, the data is not human-readable without special parsing.

How to Back Up or Export Notes

You don’t need to manually copy the .sqlite file. The safest way to back up is to export notes as PDF or HTML from within the app:

  • Export a single note: Select the note, go to File > Export as PDF.
  • Export multiple notes: Select multiple notes (hold Command while clicking), then File > Export as PDF — it will create a single PDF with all selected notes.
  • Back up the entire database: Copy the whole group.com.apple.notes folder to an external drive while Notes is closed. This preserves attachments and formatting, but restoring it on another Mac isn’t straightforward — you’d have to replace the folder and possibly use a third-party tool.

If you use iCloud, your notes are also stored on Apple’s servers, so a Time Machine backup of your Mac includes the local copies.

Common Problems and Solutions

Problem: You can’t see the Library folder in Finder.
Solution: The Library folder is hidden by default. In Finder, press Option and click the Go menu — Library appears. Or use Shift+Command+G and type the path directly.

Problem: Notes are missing after restoring from backup.
Solution: If you restored an older backup, the Notes database might be overwritten. Always export notes as PDF or use iCloud sync before restoring.

Problem: The database file is huge.
Solution: Attachments like photos and scans are stored inside the database. You can reduce size by deleting old attachments or moving them to Files.

Comparison: iCloud vs. On My Mac

Notes stored in iCloud live in the same local container, but they sync with Apple’s servers. Notes stored “On My Mac” are only on your computer and don’t sync anywhere. When you create a new note, it goes to the default account selected in Notes > Settings > Default Account. If you have both iCloud and On My Mac, you’ll see two sections in the sidebar. The local storage is the same for both — the difference is whether the data is pushed to Apple’s servers.

Frequently Asked Questions

Can I move my Notes folder to another drive?

No, the Notes database must stay in the Group Containers folder. You can’t change the location without breaking the app. If you need more space, use iCloud or export notes to PDF and store those elsewhere.

Are my notes stored in iCloud as well?

If you have iCloud enabled for Notes, yes — a copy is stored on Apple’s servers. The local database is the working copy that syncs. If you turn off iCloud for Notes, you’ll be asked whether to keep a local copy on your Mac.

Can I recover deleted notes from the local database?

If you deleted a note recently, check the Recently Deleted folder in the Notes sidebar. Notes stay there for 30 days. After that, the data may still exist in the SQLite database but is not accessible without specialized recovery software.

Why does the Notes database have a .sqlite extension but I can’t open it?

The file is a SQLite database, but the content is encoded in Apple’s proprietary format. Standard SQLite browsers can open the structure, but the note text is stored as binary plists, so you’ll see garbled data. Apple doesn’t provide a public tool to read these files directly.

Does Time Machine back up my Notes?

Yes, Time Machine backs up the entire Group Containers folder, including your Notes database. To restore a single note, you’d need to restore the whole folder, which might overwrite newer notes. Better to export individual notes as PDF for safekeeping.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →