- 1 How to Export Your WordPress Media Library
- 1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]
- 1.2 How to Export Your WordPress Media Library Using the Native Export Tool
- 1.3 How to Export Your WordPress Media Library Using FTP
- 1.4 How to Export Your WordPress Media Library Using cPanel
- 1.5 How to Export Your WordPress Media Library Using a Plugin
- 1.6 Export Media URLs
- 1.7 Export Media with Selected Content
- 2 Video Download image from wordpress media library
How to Export Your WordPress Media Library
Updated: May 10, 2022
Posted: April 15, 2022
There are several reasons why you might need to export your WordPress media library. Maybe you used a backup plugin that backed up everything except your media files. Maybe you just created a new site and just want to transfer images from an existing site to the new one.
Whatever the reason, there are several ways to export your media library without having to download each image individually to a folder on your computer. Doing it manually would be cumbersome and nearly impossible on a media-rich site.
In this article, we’ll explore four ways to export media from your WordPress website seamlessly.
Download Now: How to Launch a WordPress Website [Free Guide + Checklist]
How to Export Your WordPress Media Library
There are four methods to export your WordPress media library. You can use the native export tool to move your media to another WordPress site. You can use an FTP solution to upload your media files remotely, but it may take some time. You can use cPanel file manager for faster download. Or you can use a plugin to automate the process.
Let’s discuss each method below so you can choose the one that best suits your skills, file management tools, and media library.
How to Export Your WordPress Media Library Using the Native Export Tool
WordPress has a built-in export tool. This tool allows you to export your posts, pages, custom post types, comments, custom fields, categories, tags, custom taxonomies, users and media. Next, we’ll walk you through how to use this tool to export your media library.
1. Login to your WordPress dashboard.
2. Click Tools > Export .
3. Sélectionnez le bouton radio intitulé Média .
4. Sélectionnez une plage de dates si vous avez uniquement besoin d’exporter des fichiers qui ont été téléchargés au cours d’une période spécifique.
5. Haga clic en el botón Descargar archivo de exportación .
Esto creará un archivo XML para que lo guarde en su computadora. Una vez guardado, puede iniciar sesión en otro sitio de WordPress y usar la herramienta de importación de WordPress para importar el archivo XML.
This process is so incredibly simple that it seems like the obvious choice. If However, if your media library is very large or you have a slower connection, then the download might time out before it completes. If either is true for you, then try one of the methods below.
How to Export Your WordPress Media Library Using FTP
FTP, or File Transfer Protocol, offers users direct access to their website’s files from their computers, without the use of a browser. Since FileZilla is one of the most widely used FTP solutions and is officially recommended by WordPress, we’ll use it in this demo. If you’re using another FTP solution, the steps will be similar.
1. Open FileZilla. It should say Remote or Local Site in the top left-corner of your screen.
2. Click on the wp-content directory.
3. Find the folder labelled “uploads” and drag it to your desktop.
This is another incredibly simple option. However, the major disadvantage of using FTP is how slow the download process is. Each media file will be uploaded to the FTP queue and downloaded one-by-one.
If you have hundreds or thousands of files in your media library, consider one of the other methods below.
How to Export Your WordPress Media Library Using cPanel
cPanel organizes all the files on your WordPress hosting account into folders and lets you manage and edit them with File Manager. Since File Manager is a simple and popular tool, we’ll walk through how you can use it to export your media library. If you’re using another file manager, the process will be similar.
1. To start, log in to your control panel and open the File Manager.
2. Click the public_html folder.
3. Click the wp-content folder.
4. Find the folder labelled “uploads.”
5. Select it, then click the Compress button in the top toolbar.
6. Under Compression Type, select the Zip Archive option.
7. By default, it will be named “uploads.zip.” You can leave as is or rename it.
8. Click Compress File(s).
9. A new window will automatically open with the “Compression Results,” showing how much the compressed files were reduced in size. Click Close.
10. Back in wp-content, select the uploads.zip folder and click the Download button in the top toolbar.
11. Once the download is complete, you can move the file from your Download directory to your desktop or any folder you wish.
If you’d like to simplify this process further, you can use a plugin.
How to Export Your WordPress Media Library Using a Plugin
We’ll walk through how to export your WordPress media library using the Export Media URLs plugin. If you’re using another plugin, check out its documentation for exact steps.
1. First, log into your WordPress dashboard.
2. Click Plugins > Add New.
3. Search for “Export Media URLs.” When the search result appears, click Install Now.
4. Click Activate. You’ll automatically be redirected to Export Media URLs plugin page.
5. Now it’s time to configure the Export Media URLs plugin settings. Select the data you want included in the export, in addition to the file URLs. Also select if you want media files by all authors, or specific ones.
6. Then select CSV file for Export Type.
7. Once you’ve made these selections, click Export Now. Your entire WordPress media library will be downloaded as a CSV file into your Downloads directory.
WordPress Plugins to Export Your Media Library
While any of the methods described above will allow you to export your media library, WordPress plugins can automate the process to save you the most time. Take a closer look at the Export Media Library plugin and another highly-rated option below.
Export Media URLs
Export Media Library is a free WordPress plugin that allows users to extract the URLs of their media library files and export them as a CSV file (or view them within their dashboard). You can also choose to export the ID, title, type, and date uploaded of these media files.
Since this output format is more helpful for setting up redirects than the XML file format that the WordPress export tool uses by default, this plugin is ideal for exporting your WordPress media library when migrating web hosts.
Export Media with Selected Content
When using the native WordPress export feature to export a specific post type, the associated media files are not exported by default. This is where exporting media with selected content comes to the rescue. Once installed, it will add a checkbox labeled “Export media with selected content”. When checked, this plugin will locate an article’s image and attachments and export them.
This plugin has limitations. Since the plugin looks for “attached” media in the message body, if your site’s theme or plugins use different ways to reference media, the plugin will not be able to find or export them.
Export your WordPress media library
If you change themes, hosts, or websites, you may need to upload all images and media files from your WordPress site. You can do this in several ways: you can use the native export tool, an FTP client, cPanel or a plugin. The method you choose should best match your technical skills, file management tools, connection, and the size of your media library.
Editor’s note: This post was originally published in June 2020 and has been updated for completeness.
Themes: WordPress website
Don’t forget to share this post!