Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now

Duplicator Blog

Everything you need to know about the Duplicator plugin.

Download WordPress media library

How to Download the WordPress Media Library 

Do you want to download the WordPress media library?

By downloading your WordPress site’s media library, you can save your images, videos, and other important content on your website. This media-only backup can also be useful for transferring these images to another site without manually uploading them one at a time. 

In this tutorial, we’ll show you how to download the WordPress media library!

Why You Might Want to Download Your WordPress Media Library

As a website owner, you’ll regularly upload lots of images, videos, and other media files to your site. In WordPress, these are stored in the media library. 

Although most of your time will probably be spent adding files to the media library, there are moments when you might want to download these files. By exporting the media library to your computer, you’ll have a saved backup of all your images and videos.

Here are a few reasons why it can be helpful to back up your WordPress media library:

Easy Backup Recovery

Occasionally, accidents happen, and you might accidentally delete something or your website might face technical issues. After downloading the media library, you’ll have a copy of all your files stored safely on your computer. This way, even if something goes wrong on your website, you can easily restore your media files later.

Website Migration

When you migrate your WordPress website to a new host or domain, it’s essential to have a copy of all your media files to ensure nothing gets lost during the transfer.

Offline Availability

Sometimes, you might want to access your media files when you don’t have an internet connection. By downloading the media library, you can have all your files stored locally on your computer or other devices. This allows you to view, edit, or use your media files even when you’re not connected to WiFi.

How to Download the WordPress Media Library

To download the media library, you can use a WordPress backup plugin that supports media-only backups. The right tool will make it easy for you to select your media files and then package them into a single zip file. Once the download is complete, you can extract the files on your computer and use them as needed.

Now that you’ve decided to download your WordPress media library, let’s show you how to do it!

Step 1: Install Duplicator Pro

Not many backup plugins allow you to create media-only backups. Often, they package your entire website, without much more customization.

As an alternative, you could manually download your media library using the file manager tool from your WordPress host, a File Transfer Protocol (FTP) client, or cPanel. Keep in mind that this requires some technical expertise and can be time-consuming.

Fortunately, Duplicator Pro is a powerful WordPress backup plugin with flexible customization options. Using Duplicator, you can back up your whole website, or choose the specific data that is saved:

Duplicator Pro plugin

Along with media-only backups, here are some additional helpful features that come with Duplicator Pro:

To start downloading your media library, select either the Pro or Elite subscription. Although Duplicator offers a free version and other payment options, the higher plans will enable you to fully customize your backups.

After your purchase, copy your license key. You’ll need to use this later to activate Duplicator Pro. 

Then, sign into WordPress and install Duplicator Pro. If you need help with this process, check out this tutorial on how to install WordPress plugins.

Now you’ll need to find the Settings page and click on the Licensing tab. Here, paste your license key and activate it:

Activate Duplicator Pro license key

If you already have Duplicator Lite, you can upgrade to the Pro version with just one click. Simply paste your license key and you’ll instantly access premium features:

One-click upgrade to Duplicator Pro

At this point, you’ll have everything you need to download your WordPress media library!

Step 2: Create a Media-Only Backup

Duplicator works by packaging all of your website’s files, plugins, themes, and database tables into a single zip file. However, you can easily pick and choose exactly what information is saved in this backup. This way, you can download just the WordPress media library and save all your important media files.

First, go to Duplicator Pro » Packages » Create New:

Create Duplicator package

On this page, you’ll see that Duplicator automatically assigned your backup a name. However, you can change this if you’d like:

New media backup

Next, choose a storage location. Here are all of the different cloud storage integration options available:

If you already connected your third-party storage location, you’ll see it listed under Storage. Alternatively, hit Add Storage to connect a new one:

Duplicator backup storage

After this, expand the Archive section, which is where you’ll customize the backup components. You’ll see options to include everything on your site, or just the database, core WordPress files, themes, plugins, or the media library:

Duplicator media backup

To download the media library, click on the Media Only tab. Duplicator will automatically filter out everything except the uploads in your wp-content folder.

Then, hit Next. You’ll see a full scan of your website. If there are any notices, you’ll need to verify that you want to continue with the build:

Media backup scan

Now, Duplicator will download your WordPress media library and store it on your local server or your preferred cloud storage location. 

Step 3: Download Your Backup

If you chose to save your media library locally, you’ll see your backup on the Packages page of your WordPress dashboard:

Download media library backup

To make sure you can always access your media library files, it’s a good idea to download this backup. Once you hit Download, you’ll have the option of saving the archive file, the installer.php script, or both.

By clicking Archive (zip), just your media library will be downloaded. However, you’ll need the installer if you plan to unpack the archive on a different server.

If you ever need to restore your media backup, you can simply open Duplicator’s Import page. Then, drag and drop the archive file into it:

Import website archive

Duplicator will then walk you through the restoration process. If you ever need to migrate your media library to another WordPress site, you can follow these same steps. Your media library will be automatically unpacked on the new location, avoiding the need to manually upload files one by one. 

Step 4: Set Up Automatic Backups

Backups are an important part of keeping your website data secure. If you don’t regularly save copies of your site (including the media library), you may lose important information to server crashes, bugs, or cyber attacks.

Fortunately, Duplicator Pro can function as a WordPress maintenance service. Since it allows you to set up automatic backups, you can sit back and know your data is always safe.

To create your first backup schedule, find Duplicator Pro » Schedules » Add New:

Create website backup schedule

By default, Duplicator will run a full backup of your site. However, you may want to add a separate backup schedule to save just your media library. In this case, you’ll need to create a new package template:

Create new backup template

Name the new template. Then, choose Media Only under the Archive section:

Media backup template

Lastly, save the template and go back to the new schedule page. Use the Package Template dropdown menu to find the template you just created:

Select media backup template

Next, select a storage location for your automatic backups:

Automatic backup storage

You can also set a start time and interval for the schedule. Duplicator supports hourly, daily, weekly, and monthly automatic backups:

Backup schedule

Finally, enable the schedule at the bottom of the page. Then, save it. The media files in your uploads folder will now be automatically backed up!

Frequently Asked Questions (FAQs)

Let’s answer some common questions about downloading the WordPress media library!

How do I download an entire WordPress media library?

You can download your entire WordPress media library by creating a media-only backup with Duplicator Pro. Using this backup plugin, simply specify that you only want to download media files in your backup.  

To do this without a plugin, you can go to Tools » Export in the WordPress sidebar and export your media library as an XML file. You can also connect your site to an FTP client like FileZilla and navigate through this folder structure: public_html » wp-content » uploads. Right-click on the uploads folder and download it. 

Alternative: The Export Media Library plugin specializes in exporting the WordPress media library. However, it doesn’t have any additional functionality like creating full site backups or automatic backups.

How do I download my WordPress site locally?

You can download your WordPress site locally by installing Duplicator Pro and creating a package of your live site. Then, build your local site and drag and drop your archive file into it. Duplicator will automatically replace your default local WordPress installation with a copy of your production site.  

Tip: When this local staging site is ready to go live, check out our guide on moving a local WordPress site to a live server!

Can I bulk download media from WordPress?

Yes, you can bulk download media from WordPress. Rather than using your hosting account’s control panel or FileZilla to manually download every media file in your root directory, you can install a plugin like Duplicator. This tool allows even beginners to easily create media-only backups. 

Is it possible to clone an entire website?

Yes, you can clone an entire website. Using the Duplicator plugin, create a zip archive of your current site. Then, use the drag-and-drop migration feature to easily clone your site to a staging area, another server, or a new domain name. Since there’s no downtime, Duplicator can move a copy of your website to another WordPress installation, all without impacting your SEO


You’ve just downloaded your WordPress media library!

Are you planning on moving your portfolio site to a different server? You may also like our WordPress tutorial on how to migrate a large website with lots of media files!

Do you want to start backing up your WordPress media library? Download Duplicator Pro to instantly save copies of your media files!