Free text tool

Find and Replace Tool

Paste your text, enter what to find and what to replace it with. Options for case, whole words and regular expressions let you do simple or advanced bulk edits.

What is find and replace tool?

Find and replace changes every match of a word or pattern in one step. It saves time when you rename a product across a long document, fix a spelling or update a link in many places.

The tool can match case, limit matches to whole words and accept regular expressions for advanced patterns, and it shows how many replacements were made.

How to use the find and replace tool

  1. Paste your text.
  2. Type the word to find and the replacement.
  3. Choose options, then copy the result.

How the find and replace tool works

Your search text is turned into a pattern. Plain text is escaped so symbols such as dots match literally. Whole word mode wraps the pattern in word boundaries. Every match is replaced and the number of matches is counted.

Worked example

Replacing the whole word cat with dog in Cat cat CAT category gives dog dog dog category, because category is not a whole word match.

Common uses of the find and replace tool

  • Renaming a product or brand across a long text.
  • Fixing a repeated typo.
  • Updating old links in copied HTML.
  • Cleaning data before import.
  • Preparing templates with placeholders.

Tips and common mistakes

Turn on whole words to avoid changing parts of longer words.

With regular expressions, test on a small sample first.

Background: what to know before you rely on it

Find and replace is one of the oldest editing features and still one of the most useful. Its power comes from patterns: a plain search treats every character literally, while a regular expression lets you describe a family of strings, such as every number or every word that starts with a capital letter. The risk is an overly broad match that changes more than you meant. Use whole word matching, run a small test and review the match count before you copy the result into an important document.

Private, free and fast

This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all text tools, or browse the full list of tools.

Frequently asked questions

Is it case sensitive?

Only if you tick match case.

Can I use regular expressions?

Yes. Tick use regular expression. The JavaScript flavor is used.

Can I replace with nothing?

Yes. Leave the replace field empty to delete matches.

Is there a size limit?

Only the memory of your device.

Related tools

Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Always proofread output before you publish.