Cleaning up unused media

Preview and permanently delete media files your shop no longer uses.

Cleaning up unused media

Over time a media library collects images and videos you no longer use: old product photos, test uploads, or files brought in by an import. The Clean up unused media button on your Media Library page finds files that nothing in your shop uses and lets you delete them together.

What cleanup checks

Cleanup always looks at the whole media library for the channel you are working in. Search and file-type filters on the page do not narrow it. It also includes older files that belong to the shop owner's account but were never assigned to a channel, as long as nothing anywhere uses them.

A file is protected and kept if anything still uses it, including:

  • products, variants, digital downloads and paid files
  • pages, blog posts, galleries and your link-in-bio
  • your shop branding, such as your profile picture and banner
  • orders, messages, reviews and support tickets
  • newsletters that are scheduled or not yet sent

Cleanup never removes a file from your content to make it deletable. If a file is in use, it stays.

Some files are skipped even when they look unused:

  • private, restricted or verification files
  • files uploaded in the last hour
  • files that are still processing
  • files whose storage could not be checked safely

The preview shows how many files were skipped and why.

Preview first

  1. Open Media Library from your dashboard.
  2. Click Clean up unused media, then Preview unused media.
  3. Wait while cleanup checks your library. Nothing is deleted during the preview.
  4. Review the number of eligible files and the skipped counts.

A preview is fixed. Files you upload after it starts are never added to it. A preview expires after 30 minutes. If it expires, or your library changes in a way that affects it, make a new preview.

Confirm and delete

Deletion is permanent and cannot be undone. To go ahead, tick the box confirming that you understand, then click Permanently delete.

While cleanup runs:

  • Files in the preview disappear from your library right away, so they cannot be added to new content.
  • Cleanup waits about 15 minutes before deleting anything, then checks every file again. A file that started being used in the meantime is kept and comes back to your library.
  • After deleting, cleanup waits a few more minutes for a final storage check.

You can close the window at any time. Closing pauses cleanup after the current step; it does not cancel anything that was already deleted. Come back to the Media Library page to resume, and cleanup picks up where it left off.

After cleanup

When cleanup finishes it shows how many files were deleted and kept. Links to deleted files that you shared somewhere else may keep working for a while from cached copies before they stop.

If the results say some files need attention, they may stay hidden from your library. Open a help ticket while the cleanup window is still open and our team can help.

Related help