---
title: How to use File Manager in cPanel
description: "**How to use File Manager in cPanel** In this guideline, you will find detailed instructions how to manage (add, delete, view, modify) files from your cPanel account using **File Manager**. **How to access File Manager** 1. Log into your **cPanel**…"
url: "https://www.hyyat.com/en/knowledgebase/how-to-use-file-manager-in-cpanel/"
updated: "2026-10-21"
category: Website control panel ( cpanel )
---

# How to use File Manager in cPanel

**How to use File Manager in cPanel**

In this guideline, you will find detailed instructions how to manage (add, delete, view, modify) files from your cPanel account using **File Manager**.

**How to access File Manager**

 1. Log into your **cPanel** account and navigate to **Files** section >> **File Manager** menu:

 

![How to use File Manager in cPanel - screenshot 1](https://www.hyyat.com/wp-content/uploads/2024/09/file1.1-300x139.png)

  For quick access to the File Manager, use our cPanel Shortcuts.

2. You will be taken **/home/user** directory by default. Feel free change the default directory in **Settings** menu:

 

![How to use File Manager in cPanel - screenshot 2](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_30-300x198.png)

Here you can also enable **Show Hidden Files (dotfiles)** option. In this way system files, like .htaccess, will be displayed in File Manager as well:

![How to use File Manager in cPanel - screenshot 3](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_22-300x198.png)

The **public_html** folder is the web root for your primary domain name. This means that public_html is the folder where you put all website files which you want to appear when someone types your main domain (the one you provided when you signed up for hosting).

If you wish to upload files for your addon domain, you will need to move to **home/user/youraddondomain.com** directory. This directory is created automatically on adding an addon domain to the cPanel account.

3. The interface of **File Manager** is divided into 4 sections:

**     #1** The file manager toolbar
 **     #2** The file window
 **     #3** The navigation toolbar
 **     #4** Current location window

 

![How to use File Manager in cPanel - screenshot 4](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_28-300x209.png)

In the first section, you can find a **toolbar**with all the basic functions for managing files like create a new folder, delete a file, upload/download and much more.

The second is the **file listing** section, it displays the content of the selected directory. If no files or folders are created, the following message will be displayed in the file window This directory is an empty message.

The **navigation toolbar**section allows navigating between folders in the file window.

The **location section** shows the directory you are currently located in.

4. To **Upload** a file:

 

![How to use File Manager in cPanel - screenshot 5](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_31-300x24.png)

- Go to**File Manager**
- Navigate to the folder you wish to upload the file(s) to
- Click on **Upload**icon
- Click**Select File** and locate the file on your local machine
- Select the file and click on **Open/Choose**
- Or simply drag and drop the needed file from your local machine to the upload window

![How to use File Manager in cPanel - screenshot 6](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_40-1-300x179.png)

5. To **Copy/Move** a file:

**![How to use File Manager in cPanel - screenshot 7](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_32-300x24.png)**

- - Go to **File Manager**
  - Select the file(s) you wish to copy/move (to select multiple files, hold the Ctrl+Command button)
  - After the needed items are selected, hit **Copy**or **Move**icon
  - Or right-click on the selected file(s) and choose **Copy**or **Move** option from the drop-down menu
  - Once done, the confirmation window with the final destination will pop-up

![How to use File Manager in cPanel - screenshot 8](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_42-300x128.png)

6. To **create a new file**:

![How to use File Manager in cPanel - screenshot 9](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_33-300x24.png)

- Go to**File Manager**
- Navigate to the folder where you wish to create a file
- Click on**+File** icon – a new pop up box will appear to enter the name of the file you wish to be created
- Click the **Create New File**

![How to use File Manager in cPanel - screenshot 10](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_43-300x151.png)

7. To **Delete** a file:

** **

![How to use File Manager in cPanel - screenshot 11](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_34-300x24.png)

- Go **File Manager**
- Navigate to the folder where the file(s) you wish to delete is located
- Select the file(s) and hit **Delete**icon
- Or right-click on the file and use **Delete**option from the drop-down menu
- Once done, the confirmation window will pop-up
- The deleted files are moved to the system **.trash** folder. If you wish to remove the file(s) permanently, check-mark **Skip the trash and permanently delete the files** option

![How to use File Manager in cPanel - screenshot 12](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_44-300x98.png)

**NOTE**: The files will be stored in the trash folder for 90 days. After that, they will be removed from the server automatically.

8. To **Restore** a file:

** **

![How to use File Manager in cPanel - screenshot 13](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_41-300x24.png)

- Go to **File Manager**
- Na**v**igate to **.trash** folder in**/home/user/** directory
- Select the needed file(s) and hit **Restore**icon
- Or right-click on the file and use **Restore**option from the drop-down menu
- Once done, the confirmation window will pop-up

![How to use File Manager in cPanel - screenshot 14](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_45-300x75.png)

9. To **Rename** a file:

**![How to use File Manager in cPanel - screenshot 15](https://www.hyyat.com/wp-content/uploads/2024/09/rename_file01-300x26.png)**

- Go **File Manager**
- Navigate to the folder where the file(s) you wish to rename is located
- Select the file(s) and hit **Rename**icon
- Or right-click on the file and use **Rename**option from the drop-down menu

![كيفية استخدام مدير الملفات في لوحة التحكم cPanel](https://www.hyyat.com/wp-content/uploads/2024/09/rename_file03-300x297.png)

- Once done, the confirmation window will pop-up

![How to use File Manager in cPanel - screenshot 16](https://www.hyyat.com/wp-content/uploads/2024/09/rename_file02-300x118.png)

10. To **Edit** a file:

![How to use File Manager in cPanel - screenshot 17](https://www.hyyat.com/wp-content/uploads/2024/09/edit-300x21.png)

- Go **File Manager**
- Select the file you wish to edit and hit one of **Edit**icons
- Or right-click on the file and use **Edit/HTML Editor** from the drop-down menu
- Choose one of the three following editors from the pop-up menu:

**Edit:** this editor will edit a document as code and give line numbers down the side of the editor. You can highlight your code with color by using the syntax drop-down menu and selecting the code you are working with

**HTML Editor:** this editor will edit a document as an HTML document. In this editor, you can also switch between design view (as a text document), source view (through the html code itself), or a preview mode (view the page through the web) by selecting the appropriate tab in the bottom left of the editor

**11. To **Compress** a file:**

![How to use File Manager in cPanel - screenshot 18](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_37-300x23.png)

It is useful to store a group of files in one file for an easy backup or for a transfer to another directory as well as compress large files. Compressed files take up less disk space and are downloaded faster via the Internet. The data can be compressed into a single *.zip, *.Gz, or *.Bz2 archive.

- Go to **File Manager**
- Select the files/directories you wish to compress and hit **Compress**icon
- Define **Compression Type** and enter the **name** of the archive
- Once done, hit **Compress File(s)**

 

![How to use File Manager in cPanel - screenshot 19](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_46-300x206.png)

**12. To **Extract** a file:**

![How to use File Manager in cPanel - screenshot 20](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_38-300x23.png)

- Go to**File Manager**
- Select the file you wish to uncompress
- Hit **Extract**icon
- Or right-click on the file and use **Extract**option
- Define the **path**you wish to extract the file to
- Once done, hit **Extract File(s)**

#### ![How to use File Manager in cPanel - screenshot 21](https://www.hyyat.com/wp-content/uploads/2024/09/pl_file_manager_47-300x147.png)

#### Best regards, [Hayyt Host](https://www.hyyat.com) Team

**Related service:** [cPanel shared hosting](https://www.hyyat.com/shared-hosting/) from Hyyat Host, with technical support that replies within 24 hours.

 **Related guides**

- [How to Add Multiple Domains to One Hosting Account](https://www.hyyat.com/knowledgebase/%d8%b4%d8%b1%d8%ad-%d8%a7%d8%b6%d8%a7%d9%81%d9%87-%d8%a7%d9%83%d8%ab%d8%b1-%d9%85%d9%86-%d9%86%d8%b7%d8%a7%d9%82-%d8%b9%d9%84%d9%8a-%d8%a7%d8%b3%d8%aa%d8%b6%d8%a7%d9%81%d9%87-%d9%88%d8%a7%d8%ad%d8%af/)
- [Connect to cPanel on mobile devices](https://www.hyyat.com/knowledgebase/%d8%a7%d9%84%d8%a7%d8%aa%d8%b5%d8%a7%d9%84-%d8%a8%d9%80-cpanel-%d8%b9%d9%84%d9%89-%d8%a7%d9%84%d8%a3%d8%ac%d9%87%d8%b2%d8%a9-%d8%a7%d9%84%d9%85%d8%ad%d9%85%d9%88%d9%84%d8%a9/)
- [How To remove old email messages](https://www.hyyat.com/knowledgebase/%d9%83%d9%8a%d9%81-%d8%a5%d8%b2%d8%a7%d9%84%d8%a9-%d8%b1%d8%b3%d8%a7%d8%a6%d9%84-%d8%a7%d9%84%d8%a8%d8%b1%d9%8a%d8%af-%d8%a7%d9%84%d8%a5%d9%84%d9%83%d8%aa%d8%b1%d9%88%d9%86%d9%8a-%d8%a7%d9%84%d9%82/)

  **Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[Web Hosting](https://www.hyyat.com/en/hosting/)[Saudi Hosting](https://www.hyyat.com/en/saudi-hosting/)
