---
title: How to Edit a File in the cPanel File Manager
description: "You can use cPanel's built-in file manager to edit files on your website. **1.** Log in to your cPanel account. **2.** In the **Files** section, click on **File Manager**. ![](/img/filemanager-icon.gif) **3.** Navigate to the directory where your file is located.…"
url: "https://www.aeserver.com/support/how-to-edit-a-file-in-the-cpanel-file-manager/"
updated: "2025-01-05"
category: cPanel Control Panel
---

# How to Edit a File in the cPanel File Manager

You can use cPanel's built-in file manager to edit files on your website.

**1.** Log in to your cPanel account.

**2.** In the **Files** section, click on **File Manager**.
![](/img/filemanager-icon.gif)

**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.

![](/img/context-menu.gif)

**5.** In the **HTML Editor** window, click on **Edit**.
![](/img/filemanager-edit-menu.gif)

**6.**Make changes to the file and then click on **Save Changes**.
![](/img/edit-file-in-filemanager.gif)

Your file has been successfully edited.
