Find and Replace Text Online

Paste text and replace words or patterns — case-sensitive or not, whole words only, or with regular expressions and $1 capture groups. Add several rules to run them all at once, with a live count and highlighted matches.

Runs in your browserUpdated
Result

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Find and Replace

  1. Paste your text on the left.
  2. Type what to find and what to replace it with. Add more rules for several replacements in one go — they run top to bottom.
  3. Use Match case, Whole words or Regular expression (with $1, $<name> in the replacement) as needed.
  4. Switch to Matches to see what was found, then copy the result.

Tips

  • Whole words stops “cat” from also changing “category”.
  • Leave Replace empty to delete every match.
  • In the replacement, \n inserts a new line and \t a tab — handy for splitting a comma list into lines.

Regex replacements

FindReplaceResult
(\w+)@(\w+)\.com$1 at $2ada@example.com → ada at example
(\d{4})-(\d{2})-(\d{2})$3/$2/$12026-10-28 → 28/10/2026
\s{2,} (one space)collapses repeated spaces
^ (with multiline)- adds a bullet to every line

Not sure what a pattern does? Paste it into the Regex Explainer. Related: Remove Duplicate Lines, Remove Line Breaks, Case Converter.

Also searched as: find and replace online, replace text online, bulk find and replace, regex replace, search and replace text, replace words in text, text replacer, replace multiple words.

Tools that pair well with the Find and Replace

  • Text Compare — Paste two versions of a text to see exactly what changed: added and removed lines and the changed words inside them, highlighted side by side or in one view.
  • Markdown Table Generator — Build a table in a spreadsheet-like editor — or paste cells from Excel, Google Sheets or CSV — set column alignment and get a neatly aligned Markdown table (GitHub-flavored) or clean HTML.
  • Soft Hyphen Generator — Stop long words like “Versicherungsleistungen” from overflowing on mobile: insert invisible soft hyphens automatically or at your own break points, then copy the result.
  • Smart Quotes to Straight Quotes — Code copied from Slack, Notion, Word or a blog won’t run?

Frequently asked questions

How do I replace multiple words at once?
Click “+ Add rule” for each word and its replacement. All rules run in order on the same text.
How do I use regex capture groups in the replacement?
Turn on Regular expression, put parentheses around parts of the pattern and use $1, $2 (or $ for named groups) in the replacement.
How do I replace with a new line?
Type \n in the replacement field — it becomes a line break. \t becomes a tab.
Is my text uploaded?
No. Everything happens in your browser.
Can I install Find and Replace as a web app and use it offline?
Yes. Find and Replace is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools