The short answer
To get your website files from your hosting company, log in to the control panel and run a full account backup, which packages your files and databases into one download. If there's no control panel, use SFTP. Site builders like Wix and Squarespace never hand over files, so you export content instead.
Key takeaways
- A cPanel full account backup is the single best download: files, databases, email settings and DNS records in one archive.
- The WordPress export tool only saves your content records. Your theme, plugins and uploaded images are not in that file.
- Wix does not let you download your site's files at all, and it does not currently export blog posts either.
- Shopify emails you a theme zip that deliberately excludes products, pages, blog posts and images.
- No law makes a host give you a copy, so take one while the account is still active and paid.
People usually search how to get my website files from my hosting company at a bad moment: they're leaving a host, a developer has gone quiet, or a renewal notice has turned into a threat. The short answer to how to download my website from my host is that it depends on what kind of hosting you have. Traditional hosting hands you everything in one archive. Website builders like Wix and Squarespace hand you a fraction of it and keep the rest.
This walks through each path, in the order of how much control you have. Do it now rather than at cancellation time, because an account that is suspended, expired, or closed is a lot harder to pull a copy out of.
What "my website files" actually means
A website is not one thing, and people who only grab the files end up with a broken copy. There are four separate pieces and you want all of them.
- The files. Your pages, images, stylesheets, and the software itself, sitting in a folder that is usually called public_html.
- The database. On WordPress and most other systems, your text, settings, users and menus live in a database, not in the files. Without it you have a shell.
- Email. Mailboxes hosted on the same account, plus the forwarders and filters attached to them.
- The DNS records. The settings that tell the internet where your site and email live. Copying these is what stops mail dying when you move.
How to download my website from my host using cPanel
Most shared hosting sold by GoDaddy, Bluehost, HostGator, SiteGround, Hostinger and hundreds of smaller resellers runs cPanel. If your control panel is a grid of little icons with names like File Manager, phpMyAdmin and Backup, this is you. The Backup tool is the one that matters, because it packages everything at once.
- 1Log in to cPanel and open Backup (or Backup Wizard, which is the same job with more hand-holding).
- 2Click "Download a Full Account Backup." Choose Home Directory as the destination and enter your email if you want a notification. cPanel builds the archive in the background rather than streaming it to your browser.
- 3Wait, then come back and download the file. cPanel documents that full backups are stored as tarballs with a .tar.gz extension, and that when you pick Home Directory the finished file also appears in the list of backups available for download.
- 4Check what's inside before you relax. A cPanel backup tarball includes the home directory, MySQL database dumps, DNS zone files, SSL certificates and keys, email autoresponders and filters, and cron jobs. That is the whole account, which is exactly what you want.
- 5Take the partial backups too if the full one fails. Under Partial Backups you can separately download a Home Directory backup, a database backup as a .sql file, and your email forwarders and filters. On a big or slow account these often succeed when the full backup times out.
The File Manager is the other tool you'll use, mostly for spot checks. It can compress a folder to a zip and then download it, but it will not download a folder directly, so remember to compress first.
If there is no control panel: FTP and SFTP
Some hosts, especially older ones and small resellers, only give you file transfer access. That still works, it's just slower and it does not include the database. This is the most technical path on this page, and it is completely fine to hand it to a developer or to us if the steps below sound like a different language.
- 1Get the credentials. Host or server address, username, password, and the protocol. Ask support for these explicitly if they aren't in your welcome email.
- 2Use SFTP if it's offered. SFTP runs inside SSH, which is why it uses port 22, while plain FTP sits on port 21. cPanel's own guidance is to always use SFTP on the primary account.
- 3Download a free client. FileZilla and Cyberduck both do this and both are free. Connect, and you should see a folder called public_html or www.
- 4Drag the whole folder to your computer. On a large site this can take hours. Start it and leave it alone.
- 5Get the database separately. File transfer never includes the database. The easiest route is the Download a Database Backup option inside cPanel's Backup tool, which gives you a .sql file with a couple of clicks. phpMyAdmin can also export it, but it's a more technical screen, so use the Backup tool if you have the choice.
WordPress: the export tool is not a backup
This is the single most expensive misunderstanding we see. Owners run Tools then Export inside WordPress, get a file, and believe they have their website. They do not.
WordPress documents exactly what that file holds: an XML file in the WXR format containing your posts, pages, custom post types, comments, custom fields, categories, tags, custom taxonomies and users. That's your writing, and it's genuinely valuable. What it does not contain is the theme that makes your site look the way it looks, the plugins that make the forms and the booking system work, or the actual image files sitting in your uploads folder. WordPress's own migration guide tells you to back up the WordPress directory, images, plugins and other files as well as the database, which is the tell.
- 1Run Tools then Export then All content. Save the XML. It's small and it's your content insurance.
- 2Download wp-content over SFTP or from File Manager. That folder holds your theme, your plugins and your uploaded images.
- 3Export the database. phpMyAdmin, or cPanel's database backup. This is where settings, menus, widgets and most plugin data actually live.
- 4Note your plugin list and WordPress version. A screenshot of the plugins page takes five seconds and saves an hour later.
If you want the fuller version of this with the backup plugins that automate it, we wrote a separate walkthrough on how to back up a WordPress website yourself.
Squarespace, Wix and Shopify: what you can and cannot take
Website builders are not hosting in the traditional sense. You are renting a system, not a server, and there is no folder of files to download. What you get is an export of some of your content, and the gaps are significant. Here is the honest state of each, from their own documentation.
| Platform | What you can take | What you cannot take |
|---|---|---|
| Squarespace | An .xml file with layout pages, one blog page and its posts, text blocks, image blocks, and gallery pages on 7.0. Products and contacts export separately as .csv. | Album, cover, index, info, calendar, portfolio and store pages. Audio, product and video blocks. Drafts, style settings, custom CSS, and any second blog page. Images and video cannot be exported in bulk. |
| Wix | Contacts as CSV, up to 50,000 at a time. CMS collection content as CSV. Individual images and videos you uploaded yourself. | The site's files, at all. Wix states the site must run on their servers. Blog posts currently cannot be exported to other platforms. Free Wix and Shutterstock media cannot be downloaded, and there is no bulk media download. |
| Shopify | Your theme as a .zip, emailed to your staff login address. Products, customers, orders, gift card codes and discount codes as CSV. | The theme download deliberately excludes products, collections, menus, pages, blog posts, images and anything in Content then Files. Blog posts and store pages have no export at all. Shopify's own advice is to copy and paste them. |
What to ask your host's support for, in writing
If the panel is broken, the account is suspended, or you can't find the backup tool, open a ticket rather than a phone call. You want a written record, and support people answer specific requests far better than vague ones. Ask for these five things by name.
- 1A full account backup of the hosting account, including the home directory and all databases, as a downloadable file with a link that stays live for at least seven days.
- 2A separate SQL dump of every database on the account, with the database names listed.
- 3A copy of the current DNS zone file for each domain on the account, including all MX and TXT records.
- 4A list of every email account, forwarder and filter on the account, and whether mailbox contents can be exported.
- 5Written confirmation of the date the account is scheduled to be suspended or deleted, and the date the data will be purged.
Don't leave the email behind
Files and databases get all the attention and email is what actually hurts. If your mailboxes live on the hosting account, they die with it, and the messages inside are usually not part of any backup you download. Before you move anything, check where mail is really routed, and if it is on the host, set up the new mailboxes before you switch anything so nothing bounces during the gap.
Where to put the copy once you have it
- Somewhere that is not the host. A cloud drive, an external disk, or both. A backup stored on the server it came from protects you from nothing.
- Two places if the site matters. One copy is a single point of failure. Two copies in different systems is not paranoia, it's about ten minutes of work.
- Dated and labelled. Name the folder with the domain and the date. In eighteen months you will not remember which zip was the good one.
- Tested at least once. Have someone restore it to a staging site. This is how you learn the database was never in there.
If you'd rather hand this to someone
Everything above is doable on your own, and if you're comfortable in a control panel you should just do it. Where owners get stuck is the database and the email, which are the two pieces with no forgiving second chance. If you'd rather it was somebody's job, our managed hosting sits inside a care plan from $99 a month and includes daily off-site backups plus moving your site over from whatever host it's on now. The maintenance plan covers the ongoing part, which is that a current copy of your site exists whether or not anyone remembered to make one.
If the reason you're reading this is that the host has already gone dark, start with what happens if your web host goes out of business and then work the 24-hour rescue checklist.
More website answers
Every question in this series, from Website Problems, Solved.
Symptoms & emergencies22
- What Size Should Images Be for a Website? A Plain Guide With Numbers
- Why Is My Logo Blurry on My Website? How to Fix It for Good
- Images Not Loading on My Website? Nine Causes, Checked in Order
- Why Is My Website Down? How to Find Out and Fix It
- Why Does My Website Say "Account Suspended"?
- Error Establishing a Database Connection: What It Means
- Why Is My Contact Form Not Sending Emails?
- White Screen of Death on WordPress: What to Do Now
- Why Is My Website Showing "Not Secure" in Chrome?
- Squarespace Site Not Showing Up on Google? Here's Why
- Why Did Google Remove My Website From Search Results?
- Why Did My Website Traffic Suddenly Drop? Top Causes
- Why Is My Website Sending Spam Emails? What It Means
- Why Is My Website Slow on Mobile but Fast on Desktop?
- Why Does My Website Look Broken on My Phone?
- Why Do My Website Images Look Blurry or Broken?
- How to Tell If Your Website Has Been Hacked: 9 Signs
- "This Site May Be Hacked": How to Remove Google's Warning
- "Deceptive Site Ahead" Warning: How to Fix It Fast
- How to Make Your Website Load Faster
- Why Is My Website Not Showing Up on Google?
- 10 Signs Your Business Website Needs a Redesign
What happens if...15
- Hosting Company Shut Down? What to Do About Your Website in the Next 24 Hours
- How to Get Your Website Files From Your Hosting Company (you are here)
- Hosting Expired and the Website Is Down: What Is Still Recoverable
- How to Recover a Deleted Website (Backups, the Host, and the Wayback Machine)
- How to Move a Website to a New Host Without Downtime
- Is My Web Host Going Out of Business? The Signs, and What to Do Before It Does
- What Happens If You Don't Update WordPress Plugins?
- What Happens If Your SSL Certificate Expires?
- What Happens If Your Domain Name Expires? A Timeline
- What Happens If Your Web Host Goes Out of Business?
- What Happens If You Stop Paying Your Web Developer?
- Can an Old Website Hurt Your Google Ranking?
- Is an Outdated Website a Liability for Your Business?
- Why Are My Business Emails Going to Spam?
- What Happens If You Don't Maintain Your Website?
Cost & pricing9
- Web Developer Hourly Rate: What Small Businesses Actually Pay in 2026
- How Much Does It Cost to Update a Website? Real Ranges by Job
- How Much Does It Cost to Fix a Hacked WordPress Site?
- Why Is Website Maintenance So Expensive? A Breakdown
- Hourly Rate vs. Monthly Retainer for Website Updates
- How Much Do Freelancers Charge for Website Maintenance?
- How Much Does WordPress Maintenance Cost Per Month?
- How Much Does Squarespace Maintenance Cost?
- How Much Does Website Maintenance Cost?
Plans & hiring11
- Website Management for Dentists: What It Covers, What It Costs
- Do I Need a Website Maintenance Plan? An Honest Answer
- Maintenance Plan vs. Pay As You Go: Which Actually Wins
- One-Time Website Fix vs. Ongoing Care: Which Do You Need
- Does a Simple Website Need a Maintenance Plan?
- 12 Questions to Ask a Website Maintenance Company
- Freelancer vs. Agency for Website Maintenance
- What to Look For in a Website Maintenance Contract
- Is Your Website Maintenance Plan a Scam? How to Tell
- Website Maintenance Checklist for Non-Technical Owners
- What Does Website Maintenance Include? (And Why It Matters)
Ownership & switching15
- How to Find Out Who Built Your Website (and Who Still Has the Keys)
- How to Find Out Who Owns a Domain Name (Including Your Own)
- Locked Out of Your Own Website? How to Get Access Back
- How to Transfer a Website to a New Developer Without Losing Anything
- The Website Ownership Checklist: What a Small Business Should Actually Hold
- What Is My Website Built With? How to Check in Seconds
- How to Find Out Who Hosts and Manages Your Website
- Your Web Developer Disappeared: What to Do Now
- How to Switch Web Hosting Without Losing Your Email
- Who Is My Email Provider? How to Find Out in Two Minutes
- How to Fire Your Web Developer (Without Losing Your Site)
- Can You Maintain Your Own Website Without Coding?
- How Often Should You Update Your Website Content?
- How to Back Up a WordPress Site Yourself (Two Ways)
- Do You Really Own Your Website? How to Check Before You Hire
Platform-specific7
- Do Squarespace Sites Need Maintenance? The Honest Answer
- Do Wix Websites Need Maintenance? What Owners Should Know
- Shopify Maintenance: What Store Owners Actually Need
- WordPress Maintenance Checklist for Non-Developers
- WordPress vs. Squarespace: Which Is Easier to Maintain?
- GoDaddy Website Builder vs. WordPress for Small Business
- How to Keep Your WordPress Website Secure
The Venbit Team
Web design & SEO, Seattle
Venbit is a Seattle-area web design, SEO, and digital marketing studio. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.
Sources
- cPanel documentation: Backup for cPanel
- cPanel documentation: Backup Tarball Contents
- cPanel documentation: File Manager
- cPanel documentation: FTP Accounts (use SFTP on the primary account)
- IANA Service Name and Transport Protocol Port Number Registry (FTP 21, SSH 22)
- WordPress.org documentation: Tools Export screen
- WordPress developer docs: Migrating WordPress
- Squarespace Help: Exporting your site
- Squarespace Help: Import to and export from your site
- Wix Help: Exporting or embedding your Wix site elsewhere
- Wix Help: Exporting blog posts to other platforms
- Wix Help: Downloading files from the Media Manager
- Shopify Help: Downloading themes
- Shopify Help: Backups and duplication