Swapline
Search and replace across your database with serialized data and JSON handled safely, plus backups and safe imports for moving a site.
Choix solide
Swapline is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.
- DĂ©veloppĂ© activement â DerniĂšre mise Ă jour il y a 2 semaines
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (<10Â installations actives)
- TrÚs peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
CÎte à cÎte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Swapline stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| base de données | >100 |
| migration | >100 |
| multisite | >100 |
| Rechercher Remplacer | >100 |
| serialized | >100 |
About Swapline
From the official readme · v0.4.1Description
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.comis found when you search forhttps://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 backupandwp swapline import, with the same column options as the admin screen.
Installation
- Upload the
swaplinefolder to/wp-content/plugins/, or install the zip from Plugins > Add New. - Activate it. On multisite, network-activate it.
- Go to Tools > Search & Replace (Settings > Search & Replace in the network admin).
Journal de modifications
Adds undo from History, several search and replace pairs per run, column limits, backup restore and resumable runs, with security hardening for sites that delegate Swapline to other roles.
0.4.1
- The History tab’s action buttons wrap onto extra lines instead of running past the edge of the table.
- The WP-CLI run summary now reads “1 cell in 1 row changed (1 replacement)” for single counts.
0.4.0
- Undo a live run from History. Cells the run changed go back to their earlier value, and cells edited since keep their newer value.
- Restore any backup from the Backup list, or the backup taken before a run straight from its History row.
- Run several search and replace pairs in one pass, applied in order.
- Limit a run, backup or import to chosen columns, or skip some. WP-CLI takes
--columnsand--skip-columns. - Runs show in History while they’re in progress. An interrupted run can be resumed or stopped, and its diff stays available.
- The Backup tab warns you when the web server serves files from the backup folder.
wp swapline runasks before a live run writes. Add--yesto skip the question.- On multisite, filter the table list by site.
- Admin, API and WP-CLI runs no longer interfere with each other’s recorded changes.
- Table names match the site’s prefix exactly, so other installs sharing the database are left out.
- Password hashes and session tokens are kept out of the change history.
- Backups, downloads, imports, restores and runs on the users, usermeta and options tables stay limited to administrators when the capability filter delegates Swapline to other roles.
- Only the user who started a run, or an administrator, can continue or cancel it.
- Imports reject gzip files that expand far beyond their size, and use this site’s prefix for temporary tables.
- Database errors show a general message in the browser and are logged in full.
- SQLite sites get a clear message on the Import tab.
- The reasons an import is refused can be translated.
- The search and replace screen, report, diff and History work at phone widths.
0.3.0
- Other plugins can run previews, replacements and backups through Swapline’s API.
- The
swapline_capabilityfilter sets which capability can use Swapline.
0.2.1
- Backups and imports keep columns whose default is an expression, such as CURRENT_TIMESTAMP.
- Imports check quoted storage engine names against the allowed list.
- Serialized data inside reformatted JSON, and serialized strings written with S:, are left unchanged and reported instead of being corrupted.
0.2.0
- Backups, with an optional search and replace applied to the backup only.
- Imports through temporary tables, with statement checks and an optional search and replace.
- Optional backup before a live search and replace.
- WP-CLI:
wp swapline backup,wp swapline importand--backuponwp swapline run.
0.1.0
- PremiĂšre version.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct Ă votre site, docs ou github readme. Il se met Ă jour par lui-mĂȘme - aucun compte n'est nĂ©cessaire.
Best Swapline alternatives
Tous les plugins de base de donnĂ©es âFAQ
Swapline: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Swapline free?
Yes. Swapline is free to download and use from the official WordPress.org plugin directory.
Is Swapline safe to use in 2026?
Swapline is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.
How many websites use Swapline?
Swapline is active on <10 WordPress websites and has been downloaded 178 times since it launched in November 2026. It was downloaded 184 times in the last 30 days.
Does Swapline work with WordPress 7.1?
Yes. The developer has tested Swapline up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.
What PHP version does Swapline need?
Swapline requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Swapline last updated?
The latest version, 0.4.1, was released on November 17, 2026 (2 weeks ago).
Who makes Swapline?
Swapline is developed and maintained by RebelCode.
What are the best alternatives to Swapline?
The most popular alternatives to Swapline are Search Regex (100K+ installs), WP-Sweep (100K+ installs) and Advanced Database Cleaner (100K+ installs).
Propulsé par PageForge
Un modĂšle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
