---
title: Editing media library files
related:
  - https://docs.kentico.com/13/managing-website-content/working-with-files/page-attachments/editing-page-attachments.md
  - https://docs.kentico.com/13/configuring-xperience/configuring-the-environment-for-content-editors/configuring-media-libraries.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).

You can edit files inserted into media libraries. If you edit an image, the system opens its [built-in image editor](https://docs.kentico.com/13/managing-website-content/working-with-files/editing-images.md) that allows you to perform operations such as cropping, resizing, rotating and so on. For other file types, you can [edit metadata](https://docs.kentico.com/13/configuring-xperience/managing-files/editing-file-metadata.md) only, i.e. information about the attached file, such as **Title** and **Description**.

## To edit files in media libraries

1. Open the **Media libraries** application.
2. **Edit** () the **Media library** that contains the files that you want to edit.
3. Click on the file that you want to edit.
4. **Edit** () a file. If you edited an image file, an **[Edit image](https://docs.kentico.com/13/managing-website-content/working-with-files/editing-images.md)** dialog opens. Otherwise, an **[Edit metadata](https://docs.kentico.com/13/configuring-xperience/managing-files/editing-file-metadata.md)** dialog opens.
5. Edit the file.
6. **Save & Close** the changes that you make.

The system saves the modified file.
