Free Find and Replace Online

Replace every match in a long text at once, with highlighted changes and optional regular expressions.

0 words · 0 characters
Ctrl/⌘ + Enter
Your result appears here. Changed words are highlighted green.

Your text is never stored. Core features free forever.

Summary

The AdeptWrite Find and Replace tool swaps every occurrence of a word, phrase or pattern in your text for something else. Paste the text, type what to find and what to put instead, and choose match case, whole word or regular expression. Replacements are highlighted and counted so you can check them, then copy the result. It runs in your browser, so your text is never uploaded.

How to use Find and Replace

  1. Paste your text into the editor.
  2. Type the text to find and the text to replace it with. Leave the replacement empty to delete every match.
  3. Choose the options you need: match case, whole word or regular expression.
  4. Click Replace all, check the highlighted replacements and the count, then copy the result.

Before & after

BEFORE
Dear Mr Smith, thank you for your order. We will ship the order to Mr Smith by Friday.
AFTER
Dear Dr Jones, thank you for your order. We will ship the order to Dr Jones by Friday.

Note: Two runs with the default literal search: "Mr Smith" replaced with "Dr Jones" (2 replacements). Case-insensitive matching is the default, and the replacement is inserted exactly as typed.

Features & modes

  • Replace all in one click — Every match in the text is replaced at once, and the number of replacements is shown so you can tell whether the search was too narrow or too wide.
  • Highlighted changes — Each replacement is marked in the result, so you can scan the output instead of re-reading the whole document.
  • Match case and whole word — Matching ignores case by default. Turn on match case, or whole word so that "cat" does not change "category".
  • Regular expressions — Switch on regex to use JavaScript patterns, and reuse captured groups in the replacement with $1, $2 or named groups.
  • Plain search by default — Without regex, your search is literal, so characters such as ( ) . and ? are treated as ordinary text, not as pattern symbols.
  • Private and instant — Everything runs in your browser. No account, no upload and no stored text.

Made for

Writers and editors
Change a character or company name across a manuscript, or standardise "e-mail" to "email" before a deadline.
Students
Switch a term you used inconsistently across a long essay, or convert "per cent" to "percent" to match a style guide.
Marketing and e-commerce teams
Update a product name, price or promo code across a batch of descriptions or email copy before pasting it into a CMS.
Developers and analysts
Reformat dates from 2026-11-01 to 11/01/2026 with a regular expression, or strip tags and prefixes from exported text.

How find and replace works

Find and replace scans the whole text for a search string and swaps each match for the replacement. It is the same idea as Ctrl+H in Word or Ctrl+F in Google Docs, but it works on any text you paste, with a count and highlighted results, and without opening a document editor.

The three options

OptionEffectExample
Match caseOnly matches with the same capital letters"Apple" no longer matches "apple"
Whole wordIgnores matches inside longer words"art" does not change "party"
Regular expressionTreats the search as a pattern\d{4} matches any four-digit year

By default the search is literal and not case sensitive. That means a search for "(draft)" finds exactly those characters, which is what most people expect.

Regular expression examples

With regex on, the pattern follows JavaScript syntax and the Unicode flag is active. A few that people use often:

  • Double spaces to one: find \s{2,}, replace with a single space.
  • Swap name order: find (\w+), (\w+), replace with $2 $1 to turn "Smith, Jane" into "Jane Smith".
  • Reformat dates: find (\d{4})-(\d{2})-(\d{2}), replace with $2/$3/$1 to turn 2026-11-01 into 11/01/2026.
  • Delete empty lines: find ^\s*\n is not supported across lines here, so use the Text Cleaner for blank lines.

If the pattern is invalid, the tool shows an error instead of changing your text.

Tips for safe replacing

  1. Search for a longer phrase first, then shorter ones, so a short replacement does not break a longer match.
  2. Use whole word for short terms.
  3. Read the count: 400 replacements when you expected 4 means the search is too broad.
  4. Copy the result into a new document and keep the original until you are happy.

Limits

The tool changes the pasted text only; it does not edit your files, and there is no undo once you replace in the output, so rerun from the original text. It replaces matches in one pass and does not search other documents. For comparing the original with the result, use Text Compare.

Frequently asked questions

How do I find and replace text online for free?

Paste your text into the Find and Replace tool, type what to find and the replacement, choose any options, and click Replace all. The changes are highlighted and counted, and you can copy the result. It is free, needs no account and runs in your browser.

Does it support regular expressions?

Yes. Turn on the regular expression option to use JavaScript patterns. You can reuse captured groups in the replacement with $1, $2 or named groups. An invalid pattern shows an error and leaves your text unchanged.

Is the search case sensitive?

Not by default. Matching ignores case, so "apple" also finds "Apple". Turn on match case when capitals matter, for example to change "US" without touching "us". The replacement itself is inserted exactly as you typed it.

How do I replace only whole words?

Switch on the whole word option. A match counts only when no letter or digit sits directly before or after it, so a search for "art" leaves "party" and "article" alone. This works for words in any script that has letters.

Can I delete text with find and replace?

Yes. Leave the replacement field empty and click Replace all; every match is removed. Check the count first. For deleting double spaces or extra blank lines, the Text Cleaner is quicker.

Is my text sent to a server?

No. The search and replacement run as a script in your browser, so your text is not uploaded or stored. It is still sensible not to paste passwords or confidential records into any website.

Try the Find and Replace for free
Paste text, pick a mode, done. No sign-up.
Replace all