The cPanel File Manager provides a web-based interface for managing your website files without needing FTP software. You can upload, download, edit, delete, rename, and organise files and folders directly from your browser.
Please note: Screens and options may vary slightly depending on your cPanel version and hosting plan.
Accessing the File Manager
- Log in to your cPanel account.
- In the Files section, click File Manager.
- By default, the File Manager opens in your home directory (
/home/yourusername/).
Key Directories
- public_html — Your main website's document root. Files placed here are accessible at
https://yourdomain.com/. - mail — Contains email data. Generally, do not modify files here manually.
- etc — Configuration files for your account.
- tmp — Temporary files.
- logs — Access and error logs.
Common Tasks
Uploading Files
- Navigate to the destination folder.
- Click Upload in the toolbar.
- Drag files onto the upload area, or click Select File to browse.
- Wait for the upload to complete. A green progress bar confirms success.
- Click Go Back to return to the File Manager.
Downloading Files
- Select the file by clicking on it.
- Click Download in the toolbar.
Creating a New File or Folder
- Navigate to the desired location.
- Click + File or + Folder in the toolbar.
- Enter the name and click Create.
Editing Files
- Select the file.
- Click Edit in the toolbar (or right-click and select Edit).
- The built-in code editor opens with syntax highlighting.
- Make your changes and click Save Changes.
Renaming Files
- Select the file.
- Click Rename in the toolbar, or double-click the filename.
- Enter the new name and press Enter.
Moving Files
- Select the file(s).
- Click Move in the toolbar.
- Enter the destination path and click Move Files.
Deleting Files
- Select the file(s).
- Click Delete in the toolbar.
- Confirm the deletion. Optionally, tick Skip the trash and permanently delete the files if you don't need to recover them.
Extracting Archives
- Upload a
.zip,.tar.gz, or.tararchive. - Select the archive file.
- Click Extract in the toolbar.
- Choose the destination directory and click Extract Files.
Compressing Files
- Select the files or folder to compress.
- Click Compress in the toolbar.
- Choose the compression type (Zip is the most compatible).
- Click Compress Files.
Viewing Hidden Files (Dotfiles)
Files starting with a dot (e.g. .htaccess, .env) are hidden by default.
- Click Settings in the top-right corner.
- Tick Show Hidden Files (dotfiles).
- Click Save.
Tips
- For large uploads (over 100MB), use FTP instead — the browser-based uploader may time out.
- The File Manager's code editor is handy for quick edits to configuration files, but for significant development work, use a proper code editor and FTP/SFTP.
- Always back up files before making changes.
- Be careful with permissions — incorrect permissions can make your site inaccessible or insecure.
What Next?
- Creating and Managing FTP Accounts — Set up FTP for larger file transfers.
- Understanding and Setting File Permissions — Ensure your files have the correct permissions.