Free Online Find & Replace Tool
The Find & Replace tool searches your text and swaps matches with a replacement string. Supports plain text or regular expressions, with an optional case-sensitive match — all processed.
For pattern-based replacement rather than literal text, the Regex Tester is the tool, and the result of a bulk edit is best confirmed with the Diff Checker / Text Compare. Whitespace left behind is cleaned by Remove Extra Spaces & Line Breaks.
How to use the Find & Replace
- 1 Paste your text into the main box.
- 2 Type the text to find in the "Find" field, and what should replace it in the "Replace with" field.
- 3 Tick "Match case" if capitalisation matters, or leave it off for a case-insensitive search.
- 4 Use Replace All to change every occurrence, or step through them one at a time to check each before committing.
Global string substitution and bulk text editing
The Find and Replace tool executes instant string substitutions across large blocks of text. It locates every occurrence of a specified search query and replaces it with your replacement string, providing live statistics on total matches and replacements performed.
Bulk find-and-replace is an essential utility for cleaning up datasets, updating terminology across documentation, modifying configuration variables, and reformatting repeated patterns. Toggle options allow case-sensitive matching or case-insensitive sweeping across the entire document.
- Performs instantaneous global string replacements across documents.
- Provides real-time feedback on total occurrences matched and replaced.
- Supports case-sensitive precision matching or case-insensitive sweeps.
- Ideal for updating variables, fixing typos, and bulk-cleaning structured text.
Regular Expression Tips
Use.+ to match any run of characters, \d+ for digits, and (group) with $1 in the replacement to reuse parts. The tool applies the pattern globally across the whole text.
Frequently asked questions
Can I use regular expressions?
Yes — enable the regex option and the Find field is treated as a pattern. Capture groups are then available in the replacement as $1, $2 and so on, which is how you reorder parts of a match.
How do I delete every occurrence instead of replacing it?
Leave the "Replace with" field empty. Replacing with nothing removes each match, which is the quickest way to strip unwanted characters or boilerplate.
Does the case-insensitive mode change the replacement text?
No. Matching ignores case, but the replacement is inserted exactly as you typed it. That means replacing "color" with "colour" works regardless of how the original was capitalised.
Related Text Tools
You might also need
Tools from other categories that people pair with the Find & Replace: