Find and replace text, links, image URLs.
Paste text or block editor HTML, list one or more terms, and replace them in text only, links only or image URLs only. Matches are counted and highlighted before anything changes.
Links and image URLs are changed inside HTML. Paste markup that contains href or src attributes.
Runs in your browser - content never leaves your device Text mode never touches tags or block comments Counts every match before you copy
Quick answer: To find and replace text, links or image URLs in WordPress block content, paste your markup above, enter the terms (comma-separated for several) and the replacement, and choose what to change. You see the match count and a highlighted preview before copying the result. Nothing leaves your browser.
Editing a long post often means changing the same word, link or image in many places. This tool shows exactly what will change, in the scope you choose, before you copy the result back.
How to find and replace in block content
- Paste your content Paste plain text or the HTML from the Code Editor view.
- Enter terms Type what to find, using commas for several terms, and what to replace it with.
- Choose the scope Pick text, links or image URLs, then copy the result.
Frequently asked questions
Does WordPress have find and replace in the Block Editor?
Not built in. This page works on markup you paste. The Block Editor Search & Replace plugin adds find and replace to the editor itself, for the post you are editing.
Will it break my block comments?
In text mode it only changes the visible text between tags, so tags and block comments are never touched. In link and image modes only href and src style attributes change. For URLs inside block comment data, use the URL migration tool.
Can I replace several terms at once?
Yes. Separate terms with commas. Longer terms are matched first so overlapping terms behave predictably.
Is the match case-sensitive?
Only if you tick Match case. By default it ignores case.
Is my content sent anywhere?
No. Everything runs in your browser and nothing is uploaded.
Get the free browser extension
Block Content Inspector for Chrome, Edge and Opera.