Find and Replace

Search your text and swap every match for something new — with case-sensitive, whole-word and regular-expression options. Free, instant and private, running entirely in your browser.

0
Replacements

How to use Find and Replace

  1. Paste your text. Put the content you want to edit into the top box.
  2. Enter what to find and what to replace it with. Toggle case-sensitive, whole-word or regular-expression matching to fine-tune what counts as a match.
  3. Copy or download the result. The updated text and a live count of how many replacements were made appear instantly.

About this tool

This free find-and-replace tool lets you fix a repeated typo, rename a term throughout a document, strip out unwanted characters, or reformat data without opening a bulky word processor. Every match is replaced at once, and a running counter tells you exactly how many changes were made so you can be confident nothing was missed. Turn on Whole word only to avoid changing "cat" inside "category", or switch on Case sensitive when the difference between "US" and "us" matters.

Power users can enable Regular expression mode to match patterns rather than fixed strings — for example replacing runs of digits, collapsing whitespace, or reordering fields using capture groups such as $1 and $2. All processing happens locally in your browser with JavaScript, so your text is never uploaded, stored or logged, keeping confidential documents completely private.

Frequently asked questions

How do I delete text instead of replacing it?

Type what you want to remove in the Find box and leave the Replace with box empty. Every match is deleted from the text.

What does "Whole word only" do?

It only matches your search term when it stands alone as a complete word. Searching for "art" with this on will not touch "start", "party" or "chart" — only the standalone word "art".

How does regular expression mode work?

Your search term is treated as a JavaScript regular expression with the global flag. You can use character classes, quantifiers and capture groups, and reference captured groups in the replacement with $1, $2 and so on. If the pattern is invalid, an error message explains what went wrong.

Is my text sent to a server?

No. The search and replace runs entirely in your browser. Your text never leaves your device, so it is safe to use with private or sensitive content, and it works offline once the page has loaded.