How to Download Images From the WordPress Media Library (4 Ways)

WordPress media library photographs collected in an archive suitcase

To download a single image from the WordPress Media Library, open Media > Library, click the image and use the Download file link in its details. To copy all locally stored uploads, including resized images, download your site’s uploads folder with your host’s file manager or SFTP. A media export plugin may include a different set of files.

This guide covers both, and explains what each method includes, because a full uploads folder is often much bigger than people expect.

Way 1: Download One Image From the Media Library

  1. Go to Media > Library and click the image.
  2. In the attachment details, click Download file. In the list view, you can also hover over an image and click Download file.
  3. If your WordPress version or a plugin hides that link, click Copy URL to clipboard, paste the address into a new browser tab and save the image from there.

This downloads the current attachment file, which may be a scaled or edited image rather than the original upload. It does not download all generated sizes. If you need the untouched upload, look for the original-image link in the attachment details when available, and check the downloaded filename and dimensions. WordPress documents the distinction between the original image and the attachment URL.

WordPress Edit Media panel showing Download file for a scaled image and a separate original-image link
The lab image has a 2560-pixel scaled attachment and a separate original upload. These controls are under Edit more details.

Way 2: Export Attachment Files With a Plugin

Compatibility note, checked October 19, 2026: The Export Media Library listing shows version 4.0.2, tested up to WordPress 6.2.14, and warns that it has not been tested with the latest three major releases. In our LocalWP lab running WordPress 7.1.3 and PHP 8.2.29, it generated a valid ZIP containing all 30 attachment files, with each file matching its source. This limited test does not establish compatibility with every site. Test separately before using it on your live site, or use Way 3.

In version 4.0.2, the default export code selects attachment records and adds each attached file to the ZIP. It does not copy the whole uploads directory or automatically include every generated image size. Check the archive against the files you need; an attachment export is not a complete uploads backup. After testing a separate installation, use the following export settings.

Install and activate Export Media Library on your test site, then go to Media > Export.

Choose how the files should be organized in the ZIP and whether to compress it, then click Download Zip.

Export Media Library settings with Nested folders selected, compression off and Download Zip button
The tested Export Media Library 4.0.2 settings: Nested folders and no compression.

Open the downloaded ZIP and compare its files with your Media Library. Our test used Nested folders and Compress: No. The ZIP included media-export-large-demo-scaled.jpg, but not its separate 3200-pixel original or its generated thumbnails. It also included the smaller demo image unchanged.

On a large site, building the ZIP can time out or exhaust PHP memory. If that happens, use Way 3 instead. If the error specifically says “Allowed memory size exhausted,” use the WordPress memory-error troubleshooting guide to check the actual limit and workload before changing settings. Deactivate the plugin when you are done.

Way 3: Download the Uploads Folder With SFTP or Your Host’s File Manager

Downloading files directly avoids building a ZIP inside WordPress. On a standard installation, uploads are stored in wp-content/uploads. Year/month subfolders depend on the option under Settings > Media; custom upload paths or media offloading can change where the files are stored. Check your site before choosing a folder. See the WordPress Media settings documentation.

Use the SFTP details from your hosting account in a client such as FileZilla. The host name, port and user often differ from your website address and WordPress login.

Open wp-content, then uploads.

Right-click a year folder, or the whole uploads folder, and choose Download.

In cPanel’s File Manager, you can instead right-click the uploads folder, choose Compress to create a ZIP, download the ZIP, and then delete it from the server so it does not take up space or stay publicly reachable.

Way 4: Download It as Part of a Backup

If you are moving the site or want a safe copy, a full backup is better than downloading images alone. Backup plugins such as UpdraftPlus store the uploads folder as a separate archive you can download from the plugin’s backup list.

In UpdraftPlus, open Backup / Restore > Backup Now. Expand the file choices and check that Uploads is included. Our demonstration selected only the database and uploads to test media recovery files; a complete site backup needs the other applicable components too. Review exclusions before starting.

UpdraftPlus manual backup with database and uploads selected, other file components unchecked
Lab test selection: database plus uploads only. This is not a complete site backup.

Wait for the completion message. Under Existing backups, click Uploads, then Download to your computer. Keep the matching database backup if you also need attachment titles, captions and alt text. If the uploads backup is split into several archives, download every part.

Successful UpdraftPlus backup showing Uploads and Download to your computer controls
The completed lab backup provides a separate uploads archive to download.

In our UpdraftPlus 1.26.11 lab test, the uploads ZIP contained all 19 original, current and generated image files belonging to the two demo images, with matching file contents. We checked the archive, but did not perform a full site restore. A successful export alone does not prove that a site can be restored.

What Each Method Includes

MethodIncludesGood for
Media Library downloadOne current attachment file, possibly scaled or editedA few images
Export pluginAttachment files selected by the plugin, not necessarily all uploadsVerified compatible installations; check the archive contents
SFTP or file managerEverything in uploads, including resized copiesLarge libraries and migrations
Complete backupSite files and database, if both are selected and successfully backed upMoving or protecting the site

An image download or an uploads-only archive does not include the WordPress database records that hold media titles, alt text and captions. A complete backup that includes both the database and site files can preserve those records and their matching files. Check what your backup actually contains and verify a restore on a separate test site before relying on it. WordPress explains the distinction in its backup guidance. Tools > Export is a content export, not a substitute for a complete site backup.

Be careful with file manager plugins that give full access to your server from the dashboard. They are convenient, but they are a security risk if left installed, so use your host’s file manager or SFTP instead.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to our Monthly Newsletter

Get monthly updates of WordPress tips, tricks, and tutorials in your email.

Thanks. You have successfully subscribed.