# How to Edit a File in the cPanel File Manager

You can use cPanel's inbuilt file manager to edit files on your website.

**1.** Log in to your cPanel account.\
**2.** In the **Files** section, click on **File Manager**.

<figure><img src="/files/SH3Uze0XOf8XS87vW2qK" alt=""><figcaption></figcaption></figure>

**3.** Navigate to the directory where your file is located.\
**4.** Right-click on the file. Then click on **Edit** or **HTML Edit** in the Context Menu.

<figure><img src="/files/rtDEsxhmOfSYXqekc6iB" alt=""><figcaption></figcaption></figure>

**5.** In the **HTML Editor** window, click on **Edit**.

<figure><img src="/files/DbmrKRFvO60nK65cbAyC" alt=""><figcaption></figcaption></figure>

**6.** Make changes to the file and then click on **Save Changes**.

<figure><img src="/files/mRsA9bhIkwnJxz2KjfRF" alt=""><figcaption></figcaption></figure>

Your file has been successfully edited.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clouduxe.com/cpanel-control-panel/how-to-edit-a-file-in-the-cpanel-file-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
