Search & Replace

Paste your text, enter what to find and what to replace it with, and get the result instantly — with optional case sensitivity, whole-word matching and regex.

Your files are processed locally in your browser. They are not uploaded to our servers.

How to use

  1. Paste or type your text into the text box.
  2. Enter the text to find and what to replace it with.
  3. Turn on case sensitivity, whole word or regex if needed, then copy or download the result.

What is this tool?

Search & Replace performs bulk find-and-replace across a block of text, with optional case-sensitive matching, whole-word-only matching, and full regular expression support for more advanced patterns. The result updates live as you type. Everything runs locally in your browser — your text is never sent anywhere.

Common uses

  • Cleaning up copy-pasted text with inconsistent spacing or wording
  • Replacing a placeholder or variable name across a whole document
  • Removing or swapping out recurring phrases in bulk
  • Using regex to replace patterns like dates, emails or numbers

Related tools

FAQ

Is my text uploaded anywhere?

No, everything runs entirely in your browser using JavaScript's built-in text and regex engine — your text is never sent to a server.

What does whole word only do?

It only matches the search text when it appears as a complete word, so searching for "cat" won't also match "category".

Can I use regular expressions?

Yes — turn on Use regex and the Find field is treated as a JavaScript regular expression pattern, letting you match things like digits, whitespace or repeated patterns.