---
title: Viewing media files usage
related:
  - https://docs.kentico.com/13/managing-website-content/working-with-files/media-library-files.md
  - https://docs.kentico.com/13/configuring-xperience/setting-up-search-on-your-website/monitoring-search-indexing-tasks.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Xperience allows you to find where individual media library files are used within the system's content. For example, we recommend checking for usages before you significantly update or delete a file.

## Prerequisites

- Make sure the **Settings →** **Content → Media → Enable media files usage tracking** setting is enabled. This setting is available after applying [hotfix 13.0.85](https://devnet.kentico.com/download/hotfixes) or newer. In older versions, media files usage tracking is always enabled.
- Media file usage is tracked using the system's [Smart search](https://docs.kentico.com/13/configuring-xperience/setting-up-search-on-your-website.md) functionality. If you encounter any problems with media file usage, ask your site's administrator to check that [search indexing](https://docs.kentico.com/13/configuring-xperience/setting-up-search-on-your-website/enabling-search-indexing.md) is enabled and working correctly.

## Viewing the usage of a media file

1. Navigate to the  **Media libraries**  application.
2. Edit () a media library.
3. Select a media file on the **Files** tab.
4. Switch to the **Usage** tab. You can see a table with a list of items where the currently selected media file is used.

   > **Note:** **Undetected media file usage**
   >
   > The system only detects media file usage within objects stored in the Xperience database. Developers can use media files directly in the website code via the [API](https://docs.kentico.com/13/developing-websites/retrieving-content/displaying-content-from-media-libraries.md). Such usage is not displayed on the **Usage** tab.

   ![Usage of a media file](https://docs.kentico.com/docsassets/13/viewing-media-files-usage/media_file_usage.png "Usage of a media file")

## Locations of tracked media files

Media file usage is tracked in the following object types: [pages](https://docs.kentico.com/13/managing-website-content/working-with-pages.md), [SKUs](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/products.md) (products), [marketing emails](https://docs.kentico.com/13/on-line-marketing-features/managing-your-on-line-marketing-features/email-marketing/composing-marketing-emails.md), [email templates](https://docs.kentico.com/13/configuring-xperience/managing-email-templates.md), and [custom tables](https://docs.kentico.com/13/developing-websites/defining-website-content-structure/managing-custom-tables/managing-custom-table-data.md).

The **Location** column specifies additional information about media file usage in the **Page** object type:

1. Where the media file is used in the **Page** object:

   - **Content tab** – files added to the structured content on the _Content_ tab. See [Choosing the format of page content](https://docs.kentico.com/13/developing-websites/defining-website-content-structure/choosing-the-format-of-page-content.md).
   - **Page tab** – files added as a property of a component in the page builder interface. See [Adding page content using widgets](https://docs.kentico.com/13/managing-website-content/adding-page-content-using-widgets.md).
   - **SKU data** – files added to the SKU fields of pages representing products (on the _Content_ tab). See [Products](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/products.md).
   - **Page custom fields** – files used as custom page type data. See [Storing custom data for all page types](https://docs.kentico.com/13/custom-development/working-with-pages-in-the-api/storing-custom-data-for-all-page-types.md).
   - **Object** **fields** – files used in custom object fields. See [Customizing the system's data classes (Info objects)](https://docs.kentico.com/13/custom-development/customizing-the-system-s-data-classes-info-objects.md).
2. The page's workflow state (**Latest**, **Published**, or **Not versioned data**). See [Applying workflows to pages](https://docs.kentico.com/13/configuring-xperience/configuring-the-environment-for-content-editors/configuring-workflows/applying-workflows-to-pages.md).

## Accessing the usage location

Select the edit () action in the list of usages to navigate to the part of the Xperience administration where you can edit the object containing the file. For example, for pages, the edit action directly navigates to the page where the given media file is used. For other object types, the action opens the application where you can manage these objects.
