Find & Replace
Find and replace any word or phrase — all at once or one by one.
No matches found.
What Is a Find and Replace Tool?
A find and replace tool scans a block of text for a specific word, phrase, or pattern and replaces every occurrence with the text you specify. It is one of the most fundamental text editing operations and is built into almost every text editor, word processor, and code editor — but those tools require you to have a file open. Our online find and replace tool lets you do the same thing directly in your browser with any text, without opening any application.
Beyond simple word substitution, our tool supports case-sensitive matching for precise control, regular expression (regex) mode for advanced pattern-based replacements, and a one-by-one replace mode so you can review and skip individual matches before replacing them.
How to Use Find and Replace
- Paste your text into the large text area.
- Type the word or phrase you want to find in the Find field.
- Type the replacement text in the Replace with field. Leave it empty to simply delete all matches.
- Toggle Case sensitive if you need exact case matching.
- Toggle Use regex if you want to use a regular expression pattern.
- Use ← → to navigate between matches. The current match is highlighted in the text box.
- Click Replace to replace only the current match, or Skip to move to the next without replacing.
- Click Replace All to replace every match at once.
When to Use Replace One by One
Replace All is convenient when every occurrence needs the same change. But sometimes the same word appears in different contexts — some you want to change, some you don't. The one-by-one mode lets you navigate each match individually, replace the ones you want, and skip the ones you don't — exactly like the find/replace panel in VS Code, Sublime Text, or Microsoft Word.
Using Regex Mode for Advanced Replacements
Regular expressions allow you to match patterns rather than fixed strings. Practical examples:
- Find all numbers:
\d+ - Find extra whitespace:
\s+→ replace with a single space - Find email addresses:
[\w.-]+@[\w.-]+\.\w+ - Find lines starting with a dash:
^-\s*
Frequently Asked Questions
Can I replace with nothing to delete matches?
Yes. Simply leave the "Replace with" field empty and click Replace or Replace All. Every match will be deleted from the text.
What happens after I replace the last match?
The navigator loops back to the first remaining match automatically, so you can keep going through the text without resetting.
Is my text private?
Completely. All processing happens in your browser. Nothing is sent to any server.
What happens if my regex is invalid?
Invalid patterns are caught silently — nothing is replaced and no error message disrupts your workflow.