Free tool
Find and Replace Text
Change every occurrence of a word, phrase or pattern into other text. With whole-word, case and regular expression options.
Characters: 0 · Lines: 0
Characters: 0 · Lines: 0
Everything is processed in your browser. What you type is not sent to any server or stored.
How it works and what it does with your text
It's a small, straightforward utility: you paste, choose options and copy the result.
It runs in your browser
The text is transformed by this page's code, on your device. No sign-up or installation needed.
We don't store what you type
We don't send your text to any server or store it. You can check this in the Network tab of your browser's developer tools.
Free and unlimited
Use it as often as you like. It works the same on mobile and on desktop.
Tips to get the most out of it
Deleting text
Leave the “Replace with” field empty to remove every occurrence of what you searched for.
Whole word
Tick “Whole words only” when the word can be part of another: that way “cat” isn't replaced inside “cats” or “category” if you only wanted to change “cat”.
Reordering with groups
With regex you can rearrange text: search for (\d+)-(\d+)-(\d+) and replace with $3/$2/$1 to go from 2026-10-24 to 24/10/2026.
Check before copying
Look at the number of replacements the tool reports and scan the result before using it, especially with regular expressions.
Frequently asked questions
How do I find and replace text in a whole list?
Paste the text, type what you're looking for and what to change it to, and copy the result. All occurrences are replaced at once.
What is a regular expression?
It's a pattern for searching text flexibly: for example \d+ finds any number and [aeiou] any vowel. If you don't need it, leave it unticked and the literal text will be searched.
Do special characters cause problems?
Without the regular expression option, characters like . * ( ) are searched as they are, with no special meaning.
Can I replace line breaks?
With regex, yes: search for \n and replace it with a space or whatever you want. To remove line breaks without regex there is a dedicated tool.
Related tools
Remove lines containing text
Remove, or keep only, the lines that include a word, phrase or regular expression.
Convert text case
Turn a text into UPPERCASE, lowercase, title case, sentence case, camelCase or snake_case.
Add a prefix and suffix to each line
Put some text at the start and/or end of every line in a list.
All free tools
Passwords, texts, lists, codes and more.
Do you manage lists, texts or keywords at scale?
We help with SEO strategy and with custom tools that save you hours of manual work. Tell us what you do today.