Skip to content

Notes is tiny until someone pastes a video into it

Every image, scan and PDF you paste into a note is stored in full, and syncs to every device. How to find the heavy notes and clear them.

4 min read

Text takes almost no space, which is why a notes app with ten thousand notes can be a few hundred megabytes. Attachments are a different matter, and a note is one of the easiest places to drop a scan, a screen recording or a large PDF and never think about it again.

Where it is

du -sh ~/Library/Group\ Containers/group.com.apple.notes 2>/dev/null
du -sh ~/Library/Group\ Containers/group.com.apple.notes/* 2>/dev/null | sort -h

The database and the media folder beside it are the two things there. If the media folder is the large one, the fix is finding a small number of notes rather than doing anything to the app.

Finding the heavy attachments

In the Notes app there is a view for exactly this: from the sidebar, the Attachments browser shows everything you have ever attached, grouped by kind. Sorting through Photos and Videos and Documents there is faster than any file level search, because you can see which note each belongs to.

find ~/Library/Group\ Containers/group.com.apple.notes -type f -size +50M \
  -exec ls -lh {} + 2>/dev/null | sort -k5 -h | tail -10

That prints the largest attachment files. Do not delete them there: removing a file underneath the database leaves a note referring to something that no longer exists, and with iCloud sync on, the app may restore it anyway.

The right way to remove one

  1. Find the attachment in the Attachments browser.
  2. Use Show in Note to see which note it belongs to.
  3. Save the file elsewhere if you still want it.
  4. Delete the attachment or the note itself in the app.
  5. Empty the Recently Deleted folder, or the space is held for 30 days.

That last step is the one people miss. Notes keeps deleted items for a month, exactly like a second Trash, so the space does not return until that folder is emptied.

If sync is on

With iCloud sync enabled, deleting a note deletes it on every device, and the attachment counts against your iCloud storage as well as your disk. That makes clearing large attachments doubly worthwhile, and it makes accidental deletion doubly annoying, so save anything you might want before removing it.

Mail attachments and Messages attachments behave the same way and are usually larger, so they are worth checking in the same pass.

Common questions

Where does the Notes app store its data on a Mac?

In a group container under ~/Library/Group Containers named for Notes, holding the database and a media folder for attachments. The database itself is small; attachments are what grows.

How do I find large attachments in Notes?

Use the Attachments browser in the app's sidebar, which groups everything you have attached by kind and can show which note each belongs to. That is faster and safer than searching for files in the container.

Why did deleting notes not free up space?

Because Notes keeps deleted items in a Recently Deleted folder for 30 days, like a second Trash. Emptying that folder is what actually releases the space.

Do Notes attachments count against iCloud storage?

Yes, if iCloud sync is on for Notes. Attachments use both your local disk and your iCloud allowance, and deleting one removes it from every device.

Read next