← Free Plugins

Swapline

Free WordPress plugin by RebelCode

No ratings yet · 0 active installs

Swapline finds and replaces text in your database tables. It’s built for moving a site to a new domain, switching to HTTPS, or fixing a string that appears in hundreds of places. Choose the tables to…

0 active installs v0.4.1 latest version 17 Nov 2026 last updated 17 Nov 2026 added

About Swapline

Swapline 0.4.1 is a free WordPress plugin by RebelCode. It is active on 0 WordPress sites. The latest version is 0.4.1, last updated on 17 Nov 2026. You can download it free from WordPress.org — no account or payment needed.

Swapline finds and replaces text in your database tables. It’s built for moving a site to a new domain, switching to HTTPS, or fixing a string that appears in hundreds of places.

  • Choose the tables to process. The list shows each table’s size, with shortcuts for all tables and core tables only. On multisite you can filter the list by site.
  • Run several search and replace pairs in one pass. They’re applied in order, each on the result of the one before.
  • Limit a run, backup or import to the columns you name, or skip some.
  • Serialized data is rebuilt with correct lengths at any depth, including serialized strings stored inside other serialized strings. Objects are never instantiated.
  • JSON values, such as page builder data, are matched in their escaped form too, so https:\/\/example.com is found when you search for https://example.com.
  • Values that look serialized but are broken are left alone and counted in the report.
  • Case-insensitive matching and regular expressions, with the pattern checked before anything runs.
  • Dry runs report matched rows and cells per table.
  • “View exactly what changed” shows a side-by-side diff of every changed cell, with its table, row and column. The last five runs are kept in History.
  • Undo a live run from History. Each cell the run changed goes back to its earlier value, and cells edited since the run keep their newer value.
  • Save any number of named profiles and load them later.
  • Large tables are processed in batches with a progress bar. Tables without a primary key work too.
  • If a run is interrupted, for example by closing the tab, Swapline offers to resume it where it stopped.
  • On multisite, the tool lives in the network admin and super admins can pick tables from any site.
  • Back up the whole database or selected tables to a gzipped SQL file. Optionally apply a search and replace to the backup only, to move the site to a new domain without touching the live site.
  • Backups are stored in a folder with a random name in your uploads directory, with random file names and .htaccess and web.config rules that deny web access. If your web server serves files from that folder anyway, the Backup tab warns you so you can add a server rule. Download backups from the admin and keep as many as you like.
  • A live search and replace can back up the selected tables first. History links each run to that backup, with a button to restore it.
  • Restore any backup from the Backup list.
  • Import a .sql or .sql.gz file, or one of your backups, with an optional search and replace. Every statement is checked first, the data loads into temporary tables, and the live tables are swapped only when everything has loaded. If anything fails, the live database is untouched.
  • Importing can keep you logged in and keep the site’s address.
  • WP-CLI: wp swapline run, wp swapline backup and wp swapline import, with the same column options as the admin screen.

Questions about Swapline

Is Swapline free?

Yes. Swapline is free to download and use from the official WordPress.org directory. There is no payment and no account needed — the download on this page goes straight to WordPress.org.

What is the latest version of Swapline?

The latest version is 0.4.1, last updated on 17 Nov 2026.

How popular is Swapline?

It is active on 0 WordPress sites.

How do I install Swapline?

From your WordPress dashboard, go to Plugins → Add New, search for Swapline, then Install and Activate. You can also download the ZIP from WordPress.org and upload it under Plugins → Add New → Upload Plugin.

Where do I download Swapline?

Directly from WordPress.org. The Download button on this page goes straight to the official WordPress.org download, and GPLWPClub does not store the file.

Screenshots

Search and replace with two pairs, run on the tables you pick.
Search and replace with two pairs, run on the tables you pick.
A dry run reports the rows and cells that would change in each table.
A dry run reports the rows and cells that would change in each table.
The side-by-side diff of every changed cell, here a serialized value with its lengths rebuilt and a JSON-escaped URL.
The side-by-side diff of every changed cell, here a serialized value with its lengths rebuilt and a JSON-escaped URL.
History keeps recent runs, with undo and a restore button for the backup taken before a run.
History keeps recent runs, with undo and a restore button for the backup taken before a run.
Create, download, restore and delete backups.
Create, download, restore and delete backups.
Import a backup or SQL file, with an optional search and replace and your login kept.
Import a backup or SQL file, with an optional search and replace and your login kept.

Tags

databasemigrationmultisitesearch replaceserialized