Find & Replace

  • Free forever
  • No sign-up
  • Runs in your browser
Processed on your device

Find and replace words or phrases in text - match case, whole words, or use regular expressions.

About Find & Replace

Useful for bulk edits that would be slow by hand: renaming a product across a document, fixing a repeated typo, changing a date format, or reformatting lists and data. Plain searches work for most jobs, and regular expressions with captured groups handle pattern-based changes such as swapping first and last names. The result appears in a separate box with the number of changes, so your original text stays untouched.

How to use Find & Replace

  1. Paste your text into the Your text box, replacing the example sentence.
  2. Type the word or phrase to change in Find, and the new text in Replace with.
  3. Tick Match case, Whole words only or Regular expression if you need them; the result updates straight away.
  4. Check how many matches were replaced, then click Copy or Download .txt to keep the result.

How your data is handled

Searching and replacing happen in your browser. Your text isn't uploaded or stored, so contracts, code and private documents never leave your device.

How SAA Tool works · Privacy Center

Limits and accuracy

  • Patterns follow JavaScript rules, so a few features from other regex flavours, such as possessive quantifiers, aren't available.
  • Whole words only treats letters, digits and underscores as parts of a word, so each half of a hyphenated word counts separately.
  • Every match is replaced at once; there's no way to skip individual matches.

Questions and answers

How do I replace a word without changing longer words?

Tick Whole words only. Replacing "cat" then changes "cat" and "Cat" but leaves "cats" and "category" alone. Tick Match case as well if "Cat" should stay as it is.

How do I replace line breaks or tabs?

Tick Use \n for a new line and \t for a tab. Then type \n in Find to match line breaks, or in Replace with to add them, for example to turn a comma-separated list into lines.

Can I use regular expressions?

Yes. Tick Regular expression to use JavaScript-style patterns, and put $1, $2 and so on in Replace with to insert captured groups. If the pattern has a mistake, you'll see an error message instead of a result.

Do I need to sign up?

No. Find and Replace Text is free with no sign-up, no login and no daily limit, and there's nothing to install. It works on a phone as well as a PC.

Is my text sent to a server?

No. Find and Replace Text runs in your browser, so what you paste stays on your device. That makes it safe for passwords, tokens, customer data and anything else private.

Can I find and replace several things at once?

Yes. Add as many find-and-replace pairs as you need and they're applied in order. Regular expressions are supported for patterns like dates or phone numbers.

Related guides

Report a problem with this tool