Better Search Replace
View on WordPress.orgScores higher than 98% of indexed plugins
About
A simple plugin to update URLs or other text in a database.
Security History
What It Does
Better Search Replace lets you run search and replace operations across your entire WordPress database, handling posts, options, custom tables, and serialized data. It includes a dry-run mode so you can preview changes before committing them. The plugin is the go-to utility for swapping old URLs for new ones after a site migration or domain change.
Who It's For
This plugin is ideal for site owners and developers who are moving a WordPress site to a new domain, migrating from staging to production, or rebranding. It also suits anyone needing to bulk-update text, image paths, or affiliate links across thousands of posts in one operation. Given the 1,000,000+ active installs and requirement of PHP 8.1, it fits established sites on modern hosting rather than legacy setups.
Who Should Skip It
If you only need to swap a single string in a handful of posts, the built-in editor find and replace is faster and carries less risk. Owners of very small sites (under 50 posts) with no migration plans should skip this and avoid unnecessary database-touching tools.
The Bottom Line
Better Search Replace is the de facto standard for WordPress database search and replace, with a proven track record across 1 million installs and an overall quality score of 87.27/100. Its weak support footprint is a minor concern, but the combination of dry-run safety, serialized data handling, and perfect maintenance signals makes it the safest pick for serious migrations. Use it confidently for domain moves and bulk text updates, and run the dry-run first every time.
Related Plugins
Pick this if you want a simpler, one-click URL swap tool aimed at non-technical users moving from staging to live.
Choose this if you need to rewrite URLs on the fly without touching the database, useful for temporary fixes or quick redirects.
Opt for this if you want AI-assisted suggestions and a friendlier search interface, and you do not need bulk database-wide operations.
Pick this if you want a lightweight, table-by-table search interface and you prefer not to run full database scans.
Choose this if you are already using the WPCode snippet plugin and want a tightly integrated text replacement tool.