Find and replace text
Replace words or characters in your text. Add as many find/replace pairs as you like; they are applied one after the other, from top to bottom.
How it works
-
Paste your text
Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.
-
Instant result
The result appears as you type. Change the options and see straight away what changes.
-
Copy or download
Copy the result with one click, save it as a file or use it as input for a next step.
Options
- Match case (on by default):
Weatherandweatherare different. Untick it to find both. - Whole words only:
sunwon't match insidesunny. - Regular expression (advanced): search with a pattern such as
\d+or(\w+)@(\w+). In the replacement,$1,$2and so on insert the groups, and$&inserts the whole match.
In the fields, \n means a line break and \t a tab. This is how you replace line breaks with commas, or add a tab between columns.
The note shows how many replacements were made. If your pattern is invalid, the tool says so instead of doing something unexpected. To test patterns without replacing, use the regex tester.
Frequently asked questions
Is the find and replace free?
Yes. The find and replace is completely free, with no account, sign-up or usage limit.
Is my text stored?
No. Your text is processed in your browser and is not sent to a server or stored.
Is there a maximum length?
No, there is no fixed limit. Very long texts can just be a little slower.