Find and replace
Replace words or patterns across a whole text at once, and see each match first.
- 100% free
- No sign-up
- Runs in your browser
How to use Find and replace
- Paste your text
- Type what to find and the replacement
- Copy the result
Report a problem with this tool
How to use Find and replace
Paste your text
Paste the text or open a file such as .txt, .csv, .md or .html.
Type what to find and the replacement
Matches are highlighted and counted as you type. Tick Match case, Whole words only or Regular expression if you need them.
Copy the result
The replaced text appears below. Copy it, download it, or use Replace all in the text to make another change on top.
Why use Utils365
See before you replace
Every match is highlighted in a preview with a count, so there are no surprises in the result.
Regex when you need it
Use patterns such as \d+ or (\w+)@(\w+), and $1, $2 in the replacement to rearrange what you found.
Safe by default
In normal mode, dots, brackets and dollar signs mean exactly what you typed, in both the search and the replacement.
Private
Everything runs in your browser; your text is never uploaded.
Frequently asked questions
How do I replace a word in a whole text?
Paste the text, type the word in Find and the new word in Replace with. Every match is replaced in the result below; the preview shows how many were found.
What does Whole words only do?
It matches the word on its own and not inside longer words: cat finds cat and cat. but not category or bobcat. It works with accented letters too.
How do I use regex groups in the replacement?
Tick Regular expression and put brackets round parts of the pattern. For example, find (\d{4})-(\d{2})-(\d{2}) and replace with $3/$2/$1 to turn 2026-11-11 into 11/11/2026. $& inserts the whole match.
How do I replace with a line break?
In regex mode, type \n in the replacement for a new line and \t for a tab. For example, find , and replace with \n to put each item of a list on its own line.
Why does it say my regular expression isn’t valid?
Something in the pattern can’t be read, often an unclosed bracket such as (abc or a lone * at the start. The message under the Find box gives the browser’s reason. Turn off Regular expression to search for the text as typed.
Do ^ and $ work per line?
Yes. In regex mode ^ matches the start of each line and $ the end, so finding ^ and replacing with > adds > to the start of every line.