What Is cPanel File Manager?
cPanel File Manager is a browser-based tool built into the cPanel control panel that lets you browse, edit, upload, compress and set permissions on your hosting account's files directly from a web page. It covers most everyday file tasks without needing to install or configure a separate FTP client.
What File Manager lets you do
- Browse your account's folders, typically starting from
public_htmlfor your main website. - Upload and download files and whole folders through the browser.
- Create, rename, move, copy and delete files and directories.
- Edit text-based files, such as
.htaccess, PHP or HTML files, in a built-in code editor. - Compress files into a ZIP or extract an uploaded ZIP archive without downloading it first.
- Change file and folder permissions, and preview images without opening a separate program.
How to access it
- Log in to cPanel.
- Find the Files section and click File Manager.
- It opens showing your home directory, with
public_htmlusually one click away and holding your live website's files.
File and folder permissions
File Manager shows permissions as a set of checkboxes or a numeric code, controlling who can read, write or execute a file. Typical safe defaults for a website are:
| Item | Common permission |
|---|---|
| Regular files (HTML, PHP, images) | 644 |
| Folders | 755 |
| wp-config.php and similar sensitive files | 600 or 640, if your setup allows it |
Setting permissions too open, such as 777, is a common and avoidable security mistake, since it can let other processes on the server write to your files.
File Manager vs. an FTP client
File Manager runs in the browser with no setup, which makes it convenient for quick edits, unzipping a single plugin, or fixing a typo in a config file. A separate FTP or SFTP client is still the better tool for migrating an entire site, uploading large numbers of files, or syncing a local project folder, since it is built to queue transfers and resume if one is interrupted.
Frequently asked questions
What is cPanel File Manager used for?
It is used to browse, upload, edit, move and organize the files in a hosting account directly from a web browser, without installing a separate FTP program.
How do I access File Manager in cPanel?
Log in to cPanel, open the Files section, and click File Manager. It opens in your account's home directory, with your website's files usually inside the public_html folder.
Can I edit PHP or HTML files directly in File Manager?
Yes. Right-click or select a file and choose Edit or Code Editor to open it in a browser-based text editor, make changes, and save them directly on the server.
How do I unzip a file using File Manager?
Upload the ZIP archive, select it, and choose the Extract option. File Manager unpacks it in place on the server, which is much faster than uploading many individual files over FTP.
Is File Manager safe to use instead of FTP?
Yes. File Manager works over the same encrypted, authenticated session as the rest of cPanel, so it is a secure alternative to FTP for most day-to-day file tasks.
Where is public_html in File Manager?
It normally appears as a folder right inside your account's home directory, visible as soon as File Manager opens, and it holds the files for your website's main domain.
Related topics
- What Is cPanel? Control Panels
- File Manager vs. FTP FTP & File Management
- What Is a Hosting Account? Hosting Basics
- FTP vs. SFTP vs. FTPS FTP & File Management
- What Is wp-config.php? WordPress Hosting