Find and Replace

Find and replace text in bulk with regex support and case-sensitive matching. Preview replacements instantly in your browser. Free, no sign-up.

How to use

  1. Fill Text — Paste the passage into Text. Keep a separate copy of the original if you want to compare changes afterward.
  2. Set Find and Replace with — Type the existing term into Find and the new term into Replace with. Result updates as you type; there is no submit button.
  3. Check the options — Leave Use regex off for ordinary words. Turn on Case sensitive when capital letters must match exactly. Read the match count before copying.
  4. Review Result — Check Result for changes inside longer words, then use its copy control to take the edited text back to your document.

Frequently asked questions

Can I delete every occurrence of a word?

Yes. Put the word in Find and leave Replace with empty. All matching text is removed; surrounding spaces and punctuation stay unless your search also includes them.

Why did changing cat also change catalog?

Ordinary matching looks for text anywhere, not whole words. Enable Use regex and put "\bcat\b" in Find to match cat at JavaScript word boundaries instead.

Can I rearrange text with capture groups?

Yes. In Use regex mode, parentheses capture parts of a match. Replace with supports JavaScript replacement tokens such as $1 and $2, so you can reuse those parts in a different order.

What happens if my regular expression is invalid?

The tool leaves Result equal to the original Text and reports zero matches. It does not explain the syntax error. Check the pattern in Regex Tester before trying it again.

What Is Find and Replace?

Find and replace is a fundamental text editing operation that searches for all occurrences of a specific string and replaces them with another. This tool performs the operation instantly with options for case sensitivity and regular expressions.

Why Use an Online Find and Replace?

When working with text outside a code editor — emails, documents, CSV data, or content pasted from websites — you may not have access to a proper find-and-replace function. This tool fills that gap, letting you perform bulk text replacements from any device with a browser.

Regular Expression Support

For advanced users, the regex mode enables pattern-based matching. Replace dates, reformat phone numbers, strip HTML tags, or perform any transformation that regular expressions support. The tool uses JavaScript regex syntax.

Use Cases

  • Content editing: Fix repeated typos across a document
  • Data cleanup: Standardize formatting in CSV or log data
  • Code refactoring: Rename variables across code snippets
  • Localization: Replace terms for different audiences

Privacy

Your text is processed in your browser and is not sent to our servers.

Remove duplicate lines with Remove Duplicate Lines. Count words with the Word Counter.

Examples

Correct a repeated product name

Text: “Acme ships today. ACME ships tomorrow.” Find: “Acme”. Replace with: “Northstar”. With both options off, Result is “Northstar ships today. Northstar ships tomorrow.” The count is 2. With Case sensitive on, only the first spelling changes and the count is 1.

Reorder dates with a pattern

Text: “Due 2026-11-08; review 2026-12-01.” Turn on Use regex. Find: “(\d{4})-(\d{2})-(\d{2})”. Replace with: “$3/$2/$1”. Result is “Due 08/11/2026; review 01/12/2026.” Both dates match. This rearranges characters; it does not check whether a date exists on the calendar.

Limits and notes

The tool replaces all matches, including matches across the pasted passage. With Use regex off, search punctuation is treated literally. Replacement text still follows JavaScript replacement-string rules:

inserts the matched text, and $ inserts a literal dollar sign.

An empty Find returns the original text. There is no enforced character limit in this page, but large passages or expensive regex patterns can slow the browser because matching runs immediately. Start with a short sample when testing an unfamiliar pattern.

Text, Find and Replace with are used locally for matching; this operation makes no network request. The tool edits plain text only. Pasting from a formatted document does not preserve fonts, tables or tracked changes.

Related free tools

  • Remove Duplicate Lines — Clean up text by removing duplicate lines. Great for lists and data cleanup.
  • Word Counter — Count words, characters, sentences, and paragraphs. Includes reading time.
  • Text Case Converter — Convert text to lowercase, UPPERCASE, Title Case, and more.
  • Text to Binary — Convert text to binary and binary to text instantly.
  • Line Number Adder — Add line numbers to any text with customizable formatting.
  • Sort Lines — Sort lines alphabetically, numerically, by length, or randomly.
  • Email Extractor — Pull every email address from any text or HTML. Dedupe, sort, export TXT / CSV — 100% private.
  • URL Extractor — Find every hyperlink in any text. Group by domain, dedupe, export TXT / CSV — great for SEO audits.
  • Word Frequency Counter — Rank every word by occurrence with counts, percentages, and a visual bar. Stop-word filter and CSV export.
  • List Randomizer — Shuffle any list into a random order with cryptographically secure randomness. Supports multiple delimiters.
  • Text Length Analyzer — Live character count, word count, lines, sentences, paragraphs, bytes, and unique words.
  • Strip HTML Tags — Convert HTML to clean plain text with entity decoding.

Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools