Skip to content

Find and Replace TextNew

Replace words or patterns in text.

Runs in your browser · free · no sign-up

Type something to find
Your text
Result

About the Find and Replace Text

Change a name throughout a document, fix a repeated typo or clean data with a regular expression. The result and the number of replacements update as you type.

Changing a name, a price or a repeated typo across a long text is error-prone when done by hand. Find and replace does it in one step and tells you how many replacements were made. This tool is useful when you are working in a browser, on a phone, or with text from a system that has no good search and replace of its own.

Plain search finds exact text, Match case makes it case-sensitive, and Whole words only stops “cat” from changing “category”. For advanced cleaning, turn on Regular expression to match patterns such as all phone numbers or dates, and use $1, $2 in the replacement to reuse captured parts. Leave the replacement empty to delete every match.

How to use the Find and Replace Text

  1. 1Paste your text.
  2. 2Type what to find and what to replace it with.
  3. 3Copy the updated text.

Key features

  • Plain or regular expression search.
  • Match case and whole words options.
  • Capture groups with $1 and $2.
  • Delete matches with an empty replacement.
  • Live result and replacement count.

Practical uses

  • Updating a company or product name across a document.
  • Removing tracking parameters from a list of URLs.
  • Reformatting dates with a regex.
  • Cleaning repeated phrases from transcripts.

Example

With Regular expression on, finding (\d{2})/(\d{2})/(\d{4}) and replacing with $3-$2-$1 turns 31/10/2026 into 2026-10-31 for every date in the text.

Tips and common mistakes

  • Check the replacement count before copying the result.
  • Turn on Whole words when replacing short words.
  • In regex mode, escape special characters such as . and ? with a backslash.
  • Use \n in regex mode to match line breaks, for example to join lines.

Limitations

  • Regex syntax is JavaScript’s, which differs in places from other tools.
  • Formatting is not kept, as the tool works on plain text.

Privacy

Replacements are made in your browser and no text is uploaded.

Frequently asked questions

Can I use regular expressions?

Yes. Turn on Regex and use groups like $1 in the replacement.

How do I replace only whole words?

Turn on Whole words so “cat” does not change “category”.

Can I replace with nothing?

Yes. Leave the replacement empty to delete every match.

Can I undo a replacement?

Your original text stays in the input box, so change the settings or clear the find box to start again.

Is there a limit on text size?

No fixed limit. Long documents with thousands of matches still update quickly on modern devices.

Related tools

Word CounterCount words, characters, sentences and reading time.
Case ConverterUPPER, lower, Title, Sentence, camelCase and more.
Slug GeneratorTurn titles into clean, SEO-friendly URL slugs.
Remove Duplicate LinesDelete repeated lines from a list.