Copying a WordPress site is one of those tasks every site owner eventually needs. You might want a local copy to test a big update, a staging site for a redesign, or a clean move to a new hosting provider. Over the years the community has built many excellent tools for this. In November 2026, WordPress.org added a new open-source option to that toolbox: Reprint.
Reprint copies a WordPress site’s files and database over HTTP, directly to the computer or server you choose, without routing data through a third-party cloud service. In this guide you will learn what Reprint is, how it works, and how to make your first copy step by step. We will also look at practical use cases, security tips and a few limits worth knowing before you rely on it.
What Is WordPress Reprint?
Reprint is a free, open-source site copying tool maintained under the WordPress project on GitHub. It was introduced on the WordPress.org blog by Adam Zieliński, who is also known for his work on WordPress Playground, and it comes with a full Reprint handbook on the WordPress Developer Resources site.
Reprint has two parts that work together:
- Reprint Server, a WordPress plugin available from the WordPress.org plugin directory. You install it on the source site, the one you want to copy. It provides a secure HTTP API and a settings screen under Tools → Reprint Server.
- The Reprint client, a command-line program distributed as
reprint.phar. You run it on the destination, which can be your laptop or another server. It downloads the files and database and builds a working copy.
There is no hosted Reprint account and no subscription. Data flows straight from your site to the client you authorized.
Why Reprint Is Worth Knowing About
Traditional migration often means building one large archive of the entire site, downloading it and then unpacking it somewhere else. That approach works well for many sites and remains a great choice. Reprint takes a different route that brings a few useful benefits.
Piece-by-piece transfers that can resume
Reprint transfers the site in pieces over HTTP rather than as one giant archive. If a transfer stops because your connection drops or your laptop goes to sleep, you simply run the same command again and it picks up where it left off. That is especially helpful on shared hosting, where long-running processes can be time-limited.
Delta syncs on repeat copies
Running a pull again after a completed copy only downloads what changed since the previous run. For large media libraries, refreshing a local copy becomes much faster than starting from scratch.
A ready-to-run local site
Reprint does not stop at downloading. It imports the database, rewrites the site URL and starts a local development server, so you can open the copy in a browser immediately. With the SQLite option you do not even need to install MySQL. If you enjoy fast local workflows, it pairs nicely with the tools in our guide to WordPress Playground and Studio.

What You Need Before You Start
According to the official Clone your site guide, you need:
- Administrator access to the source WordPress site, so you can install the Reprint plugin.
- A terminal on macOS, Linux, or Windows Subsystem for Linux (WSL).
- Command-line PHP on the destination computer.
- Optionally, MySQL: a running server and an empty database if you prefer MySQL over SQLite for the copy.
If you have never used a terminal before, do not worry. The process is a handful of commands that you can copy and adjust.
How to Copy Your WordPress Site with Reprint, Step by Step
Step 1: Prepare a working folder and download the client
Create a folder on your computer and download the client into it. The last command should print a Reprint version number, which confirms PHP can run it.
mkdir my-site-copy
cd my-site-copy
curl -fL https://plugins.svn.wordpress.org/reprint/downloads/reprint.phar -o reprint.phar
php reprint.phar --version
Step 2: Install Reprint Server on the source site
In the source site’s dashboard, go to Plugins → Add New Plugin, search for Reprint, then install and activate it. Open Tools → Reprint Server and keep that screen open. Activating the plugin on its own does not share anything; a client must be explicitly authorized first.
Step 3: Authorize the client
Back in your terminal, generate a key pair. Replace the address with your site’s HTTPS URL:
php reprint.phar keygen https://example.com \
--state-dir=./state --out=./reprint-key.pem
The command prints a Migration Token. Copy it, paste it into the Authorize a client to copy this site form under Tools → Reprint Server, and choose Authorize client. The private key never leaves your computer; it stays in reprint-key.pem.
Step 4: Pull the site
The simplest option uses SQLite, so no database server is needed:
php reprint.phar pull https://example.com \
--private-key-path=./reprint-key.pem \
--state-dir=./state --fs-root=./files \
--target-engine=sqlite --new-site-url=http://localhost:8881
If you prefer MySQL, switch the engine to mysql and add --target-host, --target-port, --target-db, --target-user and --target-pass for your empty database. Reprint then checks the source, downloads files and database data, imports the database, rewrites the site URL and starts a development server. Keep the terminal open while it runs; larger sites naturally take longer.
Step 5: Check the copy
Open http://localhost:8881 in your browser and run through a quick checklist:
- The home page loads.
- Internal links stay on the local copy instead of jumping to the live site.
- Images load correctly.
- You can sign in at
/wp-admin/with an account from the source site.
Step 6: Stop and restart the local server
Press Ctrl+C to stop the server; your copy stays on disk. To start it again later, run bash state/runtime/start.sh on macOS or Linux, or state\runtime\start.cmd on Windows. Avoid running pull again on a finished copy unless you want to replace your local database changes with fresh data from the source.
Useful Reprint Commands at a Glance
The command reference documents every option, and php reprint.phar pull --help shows the defaults for your version. The commands you will reach for most often are:
| Command | What it does |
|---|---|
keygen | Creates a private key and a Migration Token to authorize on one source site. |
preflight | Reports on the source environment before copying. |
pull | The complete workflow: preflight, files, database, URL rewriting and local runtime setup. |
pull-files | Downloads files only, without applying the database. |
pull-db | Downloads and applies the database only, without touching files. |
Practical Ways to Use Reprint
Test updates safely before they reach visitors
With WordPress 7.2 arriving on December 8, 2026, a fresh local copy is the perfect place to test the update, your theme and your plugins together. Apply updates to the copy, click through key pages and only then update the live site. Our WordPress 7.2 update checklist explains what to test.
Move to a new host
The handbook includes a dedicated Move to another host guide. Because the client can run on a server as well as a laptop, you can pull directly onto the new host, check the copy and switch DNS when you are happy.
Debug an issue without touching production
When a page behaves unexpectedly, a local copy lets you enable debugging, switch themes or disable plugins without any risk to real visitors. This is the same approach we used in our walkthrough on cutting load time from 12 seconds to 2.
Copy only part of a site
Sometimes you only need the database or only the uploads folder. The pull-files and pull-db commands handle those cases, and the handbook also covers Windows-hosted sites and moving one site out of a Multisite network.
Security Best Practices for Site Copies
A full copy of your site is a full copy of your data, including user accounts, password hashes and configuration values. The Reprint plugin page highlights this clearly, and a few habits keep you safe:
- Keep the working folder private. The
state/folder holds credentials and the SQL download, andfiles/holds the site files. Do not sync them to shared drives. - Remove client access when you are done. Revoke the authorization under Tools → Reprint Server once you no longer need it, and deactivate the plugin if you will not copy again soon.
- Turn off outgoing actions on the copy. Before testing anything that sends email, takes payments or calls live services, switch those connections to test mode. Otherwise a test order or newsletter could reach real customers.
- Delete copies you no longer need. Old copies are easy to forget, so tidy them up as part of your project wrap-up.
Encrypted credential storage is also on the way. Our guide to the WordPress Secrets API explains how WordPress 7.2 keeps API keys encrypted, so database copies carry far less sensitive information in plain text.
Limits to Keep in Mind
Reprint is a young project, and the handbook is refreshingly honest about its scope in a dedicated What Reprint does not do page. A few points to plan around:
- Downloads first. The plugin from WordPress.org serves downloads. Push, which sends local changes back to a site, needs a server build configured by your hosting provider.
- Some plugins need their original environment. A finished transfer does not guarantee that every plugin works locally. Some expect MySQL or services provided by the original host, so test the features you care about.
- Multisite needs a network administrator to authorize the client at the network level.
Reprint also sits comfortably alongside the backup and migration plugins you may already use. Many site owners will keep their favourite backup plugin for scheduled off-site backups and use Reprint when they want a quick, resumable local copy. Choosing the right tool for each job is part of a healthy workflow.
Tips for Copying Large WordPress Sites
Reprint handles small blogs and large content sites with the same commands, but a little preparation makes big transfers smoother and faster. These habits come from general migration experience and apply to most copying tools.
Tidy the database first
Old post revisions, expired transients, spam comments and leftover options from removed plugins all add weight to the database you are about to copy. Cleaning them up before a pull shortens the transfer and gives you a lighter local copy. Our guide to auditing autoloaded options shows how to spot the biggest offenders safely.
Split files and database when it helps
If your uploads folder is many gigabytes but you mainly need fresh content, run pull-files once, then use pull-db whenever you want the latest posts and settings. This keeps routine refreshes quick and predictable.
Choose a quiet time
Copying reads a lot of data from your server. Running the first full pull during a low-traffic period keeps your live site responsive for visitors and gives the transfer more server resources to work with.
Keep your folders consistent
Resuming and delta syncs depend on running the command with the same source address, state directory and filesystem root. Save your exact pull command in a small text file or shell script inside the working folder so you can repeat it reliably.
A Simple Pre-Migration Checklist
- Take a regular backup of the live site so you always have a restore point.
- Note your current PHP version and check that the destination offers the same or newer.
- Make a Reprint copy on the new host and test logins, forms, checkout and search.
- Switch email and payment integrations on the copy to their live settings only when you are ready to go live.
- Lower your DNS TTL a day ahead, then point the domain to the new host.
- Run a final
pull-dbif content changed during testing, then remove client access on the old site.
Try Reprint Without Touching Your Own Site
If you want to see Reprint in action before installing anything on your site, the handbook’s Try Reprint page lets you pull a public demo site. There is also an experimental browser-based option in WordPress Playground that copies a sample site. Both are great ways to learn the workflow in a few minutes.
Frequently Asked Questions
Is Reprint free?
Yes. Reprint is free and open source. Both the server plugin and the command-line client are available through WordPress.org, and the source code lives in the WordPress/reprint repository on GitHub.
Does Reprint work on Windows?
The documented workflow uses a terminal on macOS, Linux or Windows Subsystem for Linux. There is a Windows start script for the local server, and the handbook has a separate guide for copying a site that is hosted on Windows.
What happens if the transfer is interrupted?
Run the same pull command again with the same source address and folders. Reprint resumes from where it stopped instead of starting over.
Does my site data pass through a third-party service?
No. Data travels directly from your site to the client you authorized. There is no Reprint cloud and no account to create.
Conclusion
Reprint is a welcome addition to the WordPress toolbox. It turns copying a site into a short, repeatable process: install the plugin, authorize the client and run a single pull command. Resumable transfers, delta syncs and an instant local server make it especially handy for testing updates and preparing migrations. Try it with the public demo first, then make a copy of your own site before your next big update. With careful handling of the copied data, Reprint can become a reliable everyday part of how you build and maintain WordPress sites.

Leave a Reply