Moving Media Library


Supports the transfer of Media Library between servers.


  • Outputs the database as a JSON format file.
  • Send the exported JSON file by e-mail.


  • It reads the exported JSON format file and outputs it to the database.
  • Have the option to replace contents user IDs with the current user IDs.
  • Have the option to replace all contents URLs.

Maintain the following

  • ID
  • user ID
  • Date and time
  • Folder structure
  • File name
  • File type
  • File size
  • Dimensions
  • Thumbnails
  • Exif data
  • Alternative Text
  • Caption
  • Description
  • Comments

Sibling plugin


  • Export
  • Import


  1. Upload moving-media-library directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress




March 13, 2021
Excellent work, it even allows you to migrate the media from a single site to a multisite. Greetings from Mexico.
February 9, 2021
Many thanks to the developer for spending the time to make all of our lives easier. The plugin description was a little hard to understand so I'll explain how we used it. My site was broken so I decided to rebuild it from the ground up. I installed a fresh new instance of WordPress, installed fresh versions of the plugins, theme, imported posts and pages from the old site, copied the media library files from the old install but the new install didn't recognize the media in their file folders. Run this plugin on the old site by exporting the JSON file, then run it on the new site by importing the JSON file. Your media library will then display all the files again. What a time saver! As the developer states, make sure to run this plugin first because it uses the same post IDs in the library. Fortunately the way we imported the posts and pages earlier they matched the same post IDs so this wasn't an issue. Next time if there is one, I'd run this plugin first.
December 7, 2020
Sales alt of time and Werks much better as Standard im-/export
November 1, 2020
I had to move 2.8gb files of only images and this plugin made the work really easy. You must be a son of Japanese gods. For those who probably don't understand how it works: -Move your images between /wp-content/uploads folders on your sites. -Go to your original site -Export JSON file -Go to the new file -Import JSON file -Be impressed like all of us, review 5 stars and donate if possible.
October 30, 2020
I was recreating a wordpress site element-by-element to solve a bug. After searching for solutions and trying other plugins without success this one did the job. Read the instructions for what it does and doesn't do. It worked perfectly for me. Thanks!
Read all 12 reviews

Contributors & Developers

“Moving Media Library” is open source software. The following people have contributed to this plugin.


“Moving Media Library” has been translated into 7 locales. Thank you to the translators for their contributions.

Translate “Moving Media Library” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Added a link to the sibling plugin.
Export log optimization.
Send the exported JSON file by e-mail.


Enabled to output multiple JSON files.


Fixed translation.


Added the ability to specify the user ID when importing.
Added an option to convert URLs in the content when importing.


Fixed credit screen.


Added a note of caution.


Supported XAMPP.


Fixed an issue with database prefixes.


Fixed an issue with database prefixes.


Added a link to the Bulk Media Register.


Fixed an issue with getting the date.


Fixed translation.


Fixed translation.


Fixed a problem with the JSON output of comments.


Fixed translation.


Initial release.