Got duplicate blocks and patterns spread out across several pages on your WordPress site that all need to be updated? Don’t want to update each individually? I don’t blame you. This free WordPress plugin let’s you replace all matching blocks or patterns on your site quickly.

How It Works


  1. Open the tool — In your WordPress admin, go to Tools → Find & Replace Blocks & Patterns.
  2. Get your markup — Open any post or page in the block editor, switch to Code Editor view (Options menu → Code editor, or Ctrl/Cmd + Shift + Alt + M), and copy the exact block or pattern markup you want to find.
  3. Paste into Find — Paste the markup into the Find field.
  4. Paste into Replace — Paste your replacement markup into the Replace field. Leave it empty to delete all matches.
  5. Select post types — Check or uncheck the post types you want to search. All public post types are listed.
  6. Preview first — Click Preview Matches to see a list of every post that contains the search string, including match counts and whether revisions are supported.
  7. Execute — Once satisfied with the preview, click Execute Replace. A revision is automatically saved beforehand for any post type that supports them, so you can revert via the post editor if needed.