Word and Text Tools
Word and Text Tools › Clean up and compare text › Find and replace

Find and replace

Replaces every occurrence of a word or phrase in your text.

What it doesReplaces every occurrence of a word or phrase in your text.
Exact rulePlain text search from left to right, with no overlapping matches; tick match capitals to treat A and a as different. Patterns and wildcards are not used.
Example textThe cat and the catalogue. (find cat, replace dog, ignoring capitals)
Example resultThe dog and the dogalogue.
LimitsLeaving the replacement empty deletes every match. Replacing short words also changes them inside longer words.
Where it runsIn your browser: your text is never uploaded, stored or logged.

Related tools

Remove extra spaces Remove line breaks Remove duplicate lines Sort lines A to Z Sort lines Z to A Reverse text Reverse line order Text compare (diff)

All tools in Clean up and compare text

How to use the find and replace

  1. Paste your text.
  2. Enter what to find and what to put instead.
  3. Copy the result and check the count of replacements.

How it works

Plain text search from left to right, with no overlapping matches; tick match capitals to treat A and a as different. Patterns and wildcards are not used.

Leaving the replacement empty deletes every match. Replacing short words also changes them inside longer words.