Find and Replace
Find and replace words or patterns in any text, with options for case sensitivity, whole words and regular expressions. See how many replacements were made.
This tool runs entirely in your browser.
Loading tool…
How to use the Find and Replace
- 1Paste your text.
- 2Enter what to find and what to replace it with.
- 3Adjust options, then copy the result.
What is the Find and Replace?
In regex mode you can use capture groups in the replacement ($1, $2 or $<name>) to rearrange matched text.
Frequently asked questions
How do I replace line breaks?
Enable regex mode and search for \n.
Is the Find and Replace free and private?
Yes. The Find and Replace is free, needs no account, and runs entirely in your browser. What you type is never sent to a server or stored.
Related tools
All text tools →- Regex TesterTest regular expressions with live highlighting.
- Text DiffCompare two texts and highlight differences.
- Remove Duplicate LinesDelete repeated lines from a list.
- Text Case ConverterChange text to upper, lower, title, camel and more.
- Word CounterCount words and characters instantly.
- Character CounterCount characters with and without spaces.
