WordPress Export Posts: Best Practices for Exporting Posts With Images

WordPress Export Posts: Best Practices for Exporting Posts With Images

Initially designed as a CMS for blogs, WordPress is now used to create different types of websites. But if you’ve built a website on this platform, you may have used its blogging capabilities too. Whether it’s because your domain name changed or for any other reason, you might want to export your blog posts out of the site.

Fortunately, the process is simple enough that WordPress users with no technical knowledge can do it.

However, the best method to accomplish this varies depending on the WordPress posts you want to export. With this in mind, we will cover three ways of exporting WordPress blog posts.

Let’s start by discussing when it might be worth exporting from WordPress in the first place.

Download all in one WordPress cheat sheet

Important! The following methods aren’t ideal for migrating hosting companies as they don’t export your website settings.

Method 1: Exporting All Posts Using the Export Tool

WordPress has a built-in export tool that lets you export content, including posts. It’s accessible via Tools Export from your WordPress dashboard.

This tool can download posts, pages, or media files from your WordPress site. Choosing to export all content will include comments, navigation menus, terms, custom fields, and custom posts next to posts and pages in the export file.

After choosing which content to export, click on the Download Export File button. You can import the exported XML file into another WordPress site using the built-in import tool.

WordPress built-in export tool

Important! Since XML is a text-based format, your export file won’t include media files. Even if you choose the Media option, it will only export an XML file containing links to your media items.

Exporting Posts With Images

The method above works effectively only for exporting WordPress posts. To retrieve your posts’ image files, you also need to download the WP-Content/Uploads folder.

You can access your website’s folder using the File Manager provided by your WordPress host provider or an FTP account. We will show you how to download the WP-Content/Uploads folder via Hostinger’s hPanel:

  1. Go to Files File Manager from your hPanel dashboard.
  2. Open your root directory (public_html) and enter the wp-content directory.
  3. Right-click the uploads folder and select Download.
Downloading the Uploads folder inside the wp-content directory via Hostinger's File Manager
  1. Choose the format you want to download, we recommend sticking with ZIP.

Important! Don’t be alarmed if the compressed folder contains the same images in different sizes. Whenever you upload an image to the media library, WordPress will duplicate it in various sizes for different purposes, such as thumbnails and featured images.

Method 2: Exporting Specific Blog Posts From Various Categories

When exporting posts using the WordPress export feature, you can narrow down the blog posts based on their category, date range, author, and status.

Narrowing down blog posts to export based on categories, authors, date range, and status

We can use this filtering feature, particularly the Author constraint, to export specific blog posts from various categories. Here’s how to do it:

  1. Create a dummy user. Go to Users Add New from your WordPress dashboard.
  2. Fill in the required fields and assign the role of Author. In this example, we’re naming the new user as “Anon.” Click Add New User.
Creating a dummy user with the Author's role in WordPress
  1. Navigate to Posts All Posts and pick one blog post you want to export. Change the author to the dummy one you created earlier. Do this step to other chosen blog posts.
Changing a post's author via the WordPress editor
  1. Go to Tools Export and pick Posts. Set your dummy account as the Author constraint, then click Download Export File.
Exporting specific blog posts with the WordPress export tool using a dummy user

Method 3: Exporting WordPress Posts With Images to PDFs

The first and second methods are convenient for moving WordPress posts from one site to another. However, this exported file is unreadable outside of WordPress.

If you want to export WordPress posts with images in a more user-friendly format like PDF, you need to use a WordPress export post plugin.

This method caters to bloggers who want to repurpose their WordPress website content for newsletters. All the image files will be exported along with the text-based content, so you don’t have to worry about downloading them separately.

Here’s how to export a WordPress blog post into a PDF file using Print My Blog, an excellent export plugin that supports the PDF format:

  1. Install and activate the WordPress plugin.
Installing the Print My Blog plugin on WordPress
  1. Navigate to Print My BlogSettings from your WordPress dashboard. Check the Posts box and select Save Settings.
Configuring the Print My Blog plugin upon installation
  1. Go to the post you want to export. A button labeled PDF should appear on the upper part of the page.
The button to convert a WordPress post into a PDF file is located on the upper part of the page
  1. A popup window will appear upon clicking on the PDF option. If you click the Print to PDF button, your browser’s print settings will appear. Set the destination to Save as PDF and select Save.
Exporting a WordPress post through the browser's print settings

The export process above uses the plugin’s default settings. You can customize the content to print and page layout settings via Print My BlogSettings Customize Buttons.

For example, with the following Content settings, the plugin will export a PDF file containing the site title, date printed, post title, post featured image, and post content.

Customizing the Print My Blog plugin settings to print the desired content

The Page Layout section controls how the post will be displayed. The settings are convenient if you want to export more than one blog post in a single PDF file or condense the content to save paper when printing.

Customizing Print My Blog plugin's page layout settings


WordPress provides different ways to export WordPress posts into various formats. When the time calls for a post export, you only need to use the proper method to get the desired content.

Now, let’s quickly recap these methods:

  1. Export all WordPress posts using the Export tool.
  2. Export specific blog posts from various categories.
  3. Export WordPress posts with images to PDFs.

Good luck with exporting WordPress posts to your new site. Should you have any more questions, don’t hesitate to leave a comment below.

The author

Jordana Alexandrea

Jordana is a Senior Content Writer with over 5 years of experience in digital marketing and web development. When she’s not busy with work, she dabbles in creative writing and movie reviewing. Follow her on LinkedIn.