Want to export WordPress site content, your database, or everything? Whether you self-host WordPress or have a WordPress.com site, exporting is useful if you need to migrate to a different hosting provider, server, or from a hosted WordPress website to a self-hosted one.

When you export a WordPress website, it means you’re saving and moving your site in part or in whole to be sent elsewhere. You can save it to your computer so you can migrate your website or keep what you have saved as a redundant backup.

There are multiple ways you can export your WordPress site. Let’s dive in!

How to Export WordPress Site from WordPress.com

If you have a managed WordPress.com site and you want to know how to export WordPress site content – in part or entirely – to a new host, you can follow the steps below.

Exporting All or Specific Content

There are certain types of content you can export:

  • Posts and pages
  • Feedback
  • Media library content
  • Links (blogroll)

Step 1

When you’re ready to export your WordPress site, be sure you have logged into your WordPress.com account. Once you’re logged in, start by choosing the website where you want to export content.

Click on My Sites at the top left-hand corner. If you have multiple sites, but don’t see the one you want to export listed toward the top of the menu on the left, click Switch Site.

The default stats page with the Switch Site button on the top, left.
The WordPress.com dashboard.

Then, click on the site listed on the left of which you want its content exported.

Example sites listed on the left after clicking the Switch Sites button.
Your websites are listed on the left.

Step 2

Next, go to Tools > Export in the menu on the left-hand side. Here, you can export WordPress site content.

To export all your site’s content, click the Export All button.

The Export page
Click the Export All button.

Or, if you only want to export certain types of content, click the arrow next to the Export All button. You’ll be able to select the specific content you want to export.

The Export page
Click the arrow button to select content to export.

Then, make a selection to export posts, pages, or feedback.

There are also additional options that become available after you have selected either the posts or pages options.

If you click on them, you can further specify what you want to export.

The Export page. Selected content has been specified.
Choose what content you want to export.

For the Posts option, you can refine what you export by:

  • Author
  • Status
  • Start date
  • End date
  • Category

For the Pages option, you can get more specific by selecting the:

  • Author
  • Status
  • Start date
  • End date

Step 3

After you have made your selection, click the Export Selected Content button.

Whether you choose to export all or select content, the process will have begun to export WordPress site content. Depending on how large your site is, this may take several minutes.

Once your content has been successfully exported, you should see a message indicating that.

Step 4

An email will be sent to you with a link to download your exported content. It will be in a ZIP file.

You can also download the exported content and save it to your computer straight away.

To do this, click the Download link in the “success” message.

A message detailing a successful export is displayed on the Export page.
Click the download link to save your exported content.

Depending on your browser and its current settings, the ZIP file may be automatically downloaded, you may be given an option to choose where to save the file, or you may be asked if you want to open it right away.

Exporting Media

You can also choose to only export WordPress site media you have uploaded to your Media Library.

Step 1

To do this, click My Sites at the top left-hand corner, and go to Tools > Export after logging into your WordPress.com account.

If you don’t see the site listed toward the top that you want to export, follow step one that was covered earlier to switch between sites.

Step 2

Next, click the Download button in the Export media library section.

The Export page
Click the Download button.

Step 3

Then, save the generated TAR file to your computer.

As previously mentioned, depending on your browser and its settings, you may need to confirm that you want to download the file, you may be prompted to select a folder to save the file, or the download may start straight away.

Exporting Links

You can also export WordPress site links, which are also known as your blogroll. It can be done with the steps below.

Step 1

In your browser’s address bar, enter in your-site.wordpress.com/wp-links-opml.php and be sure to replace “your-site” with your actual site’s name.

Step 2

Then, save the file to your computer. Depending on your browser, you may have to confirm the download before the process begins.

Exporting from a WordPress.com Private Site

If your site is marked as private, the steps outlined above to export WordPress site content won’t work. But, if you first make your website public, you can go ahead and export what you need. Don’t worry, you can switch your site back to being private after you’re done.

Step 1

To make your site public, make sure you’re logged into WordPress.com and click the My Sites at the top, left corner.

If the site where you want to export content isn’t listed, click the Switch Site button, and select the appropriate website from the list as mentioned earlier.

Step 2

Next, click Manage > Settings in the menu on the left side of the page. Double-check that you’re on the General tab that’s displayed by default.

Step 3

Scroll down to the Privacy section and select Public from the list. Then, click Save Changes.

Settings page
Change your site to “public” to export WordPress site content.

Step 4

Follow the steps found earlier that correspond to the type of content you want to export.

Step 5

This is an optional step but if you want your site to be private again, go back to Manage > Settings and scroll down to the Privacy section of the General tab.

Select Private from the list, then click the Save Changes button.

How to Export WordPress Site Using a Built-In Tool

For self-hosted WordPress sites, you can export WordPress site content directly in your admin dashboard. This is useful if you only want to migrate your site’s written content and media files rather than the WordPress core files or database. It’s also a great option if you want to keep an extra backup of your site’s content.

There are specific types of site content you can export with this method:

  • Posts
  • Pages
  • Media
  • Other content
  • All content listed above

Other content can include data created by ecommerce plugins such as:

  • Products
  • Orders
  • Variations
  • Coupons
  • Testimonials

It can also be in the form of content some of your installed plugins can create:

Here are the steps to successfully export WordPress content using built-in tools:

Step 1

If you want to export these types of content, be sure you’re logged into your self-hosted WordPress site. Then in the admin dashboard, go to Tools > Export in the menu on the left.

The Export page in the WordPress admin dashboard.
Export WordPress site content from the admin dashboard.

Step 2

At this point, you can choose All Content, or you can select one of the other options.

Step 3

Click the Download Export File button and wait for the export process to complete. Once the file is ready with your exported content, you can save it to your computer.

Depending on your browser and its current settings, you may be prompted before the download actually begins.

How to Export WordPress Site Using MyKinsta

If you want to export WordPress site files as well as database tables, you can do so through MyKinsta and the steps below.

Step 1

Log into your MyKinsta account and click Sites in the menu on the left-hand side of the page.

The Sites page in MyKinsta.
View your list of installed WordPress sites.

Step 2

Click the link of the site from the list that you want to have exported. Then, go to the Backups tab on the left, and click the Download tab toward the top.

The Backups tab
Go to the Backups, then Download tab.

Step 3

In the event that you haven’t yet created a downloadable backup, you can click the Create backup now button.

It may be important to note that depending on the size of your site, you may need to wait several minutes for the backup to finish processing.

The Download tab with button visible to create a backup.
Manually create a downloadable backup.

If a backup and its details are displayed on the Download tab, you can click the Download backup link and save the file to your computer.

The Download tab with a backup available.
Click the link to download your backup.

Keep in mind that your browser may ask you to confirm the download before it’s saved to your computer. This depends on the type of browser you’re using.

How to Export WordPress Site Manually with phpMyAdmin + SFTP

For self-hosted WordPress websites, you also have the option to export WordPress site files via SFTP as well as export WordPress site database tables through phpMyAdmin.

The steps for both options are detailed below:

Exporting Your WordPress Files

To export WordPress site files with this option, you need to have an FTP (File Transfer Protocol) client such as FileZilla installed on your computer.

Step 1

Fire up your preferred FTP client and connect to your site using SFTP (Secure File Transfer Protocol) to get started (understand the difference between FTP and SFTP).

Depending on the FTP client you’re using, the steps on how to do this may vary so consult the software’s documentation for details if you’re unsure of how to connect.

You can also check out How to Use SFTP to Connect to Your WordPress Site for details.

Step 2

Locate the folder, or sub-folder you want to export from the list of your site’s files and folders.

Step 3

Then, click and drag the file to the section of the FTP client dedicated to your computer.

FileZilla window with a site connected.
Drag and drop files from your server to your computer with SFTP.

You can also choose to select multiple files and folders at one time.

It may be important to note that depending on the size of the file or folder, it may take a minute (or two) to finish downloading the file.

Exporting Your WordPress Database

You can choose to export WordPress site database tables for self-hosted WordPress websites. This is particularly useful if your site’s files are still intact, you want a redundant backup, or you otherwise only require your database tables for your specific needs.

For details, check out How to Backup MySQL Database (2 Incredibly Easy Methods).

Step 1

Log into phpMyAdmin through MyKinsta, or cPanel. If you want to log in quickly, you can do so with MyKinsta after you have logged in.

Click Sites in the menu on the left-hand side, then click on the site on the list which you want to export.

Scroll down to the Database access section. You can view your login credentials as well as click the Open phpMyAdmin link to access your database in a new browser tab.

The Info tab in the MyKinsta dashboard
You can open phpMyAdmin from your MyKinsta account.

If your host uses cPanel, you can log into your account and find the link to phpMyAdmin under the Databases section.

cPanel dashboard
You can get to phpMyAdmin through cPanel.

Step 2

Once you’re in phpMyAdmin, find your site’s database listed in the menu on the left, then click on it.

The phpMyAdmin dashboard
Select your database from the menu.

Step 3

Next, click on the Export tab located in the main content area of then page.

The Export tab has been clicked in the phpMyAdmin dashboard.
Click on the Export tab.

Step 4

At this point, you can choose to export your entire database with either the quick or custom methods. The quick option is great if you require a backup of your database, or you want to import your database to a fresh installation of WordPress later on. But, if you’re planning on importing your database to a pre-existing WordPress site, choose the custom export method.

To export all your database tables, select the Quick option.

The Export page
Select the Quick option from the list.

To export your database so it can be imported to a pre-existing WordPress site, choose the Custom option.

Additional options will dynamically appear. Select the tables from the list that you want to export.

The settings for the custom export method
Select the tables you want to export.

Then, scroll down and check the box for Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER statement. This ensures the tables with the same name in your pre-existing database are dropped, or in other words, deleted. That way, you can successfully import the tables you want.

The custom option has been selected on the Export page.
You can choose the custom export method.

Step 5

Click the Go button and wait for the process to complete. This may take a while depending on how large your database may be.

When the SQL file has finished processing, you can save it to your computer.

Summary

With the steps outlined above, you now know how to export WordPress sites from WordPress.com, using WordPress’ built-in tool, with MyKinsta, and by using SFTP and phpMyAdmin.

If you require further assistance and you have a WordPress site hosted with us, don’t hesitate to contact our support team. You can also check out our knowledge base for more documentation articles. We’ll help sort everything out for you.