Find and Replace Text Online

Find words or patterns in text and replace them everywhere, with match highlighting, whole-word and regex options.

Free, with no sign-up and no watermark. The file is processed in your browser and never uploaded.

Search a block of text for a word, phrase or pattern and replace every match at once. Choose Match case and Whole words only, or switch on Regular expression for advanced patterns with captured groups ($1, $2…). A live count shows how many matches there are, and every match is highlighted before you copy the result.

Step by step

  1. Paste your text: Add it to Input text.
  2. Enter what to find: Type it in Find. The match count and highlighted Matches preview update as you type.
  3. Enter the replacement: Type it in Replace with, or leave it empty to delete every match.
  4. Set options: Tick Match case, Whole words only or Regular expression as needed.
  5. Copy the result: The Result box shows the text with all replacements — click Copy or Download.

Handy for

Renaming

Change a product, person or company name throughout a document.

Templates

Fill placeholders like {name} in a letter template.

Data clean-up

Remove or change characters across a pasted list.

Reformatting

Reorder dates or numbers with regex groups, e.g. 2026-11-01 → 01/11/2026.

Good to know

  • In plain mode, “$” in the replacement is inserted literally; in regex mode, $1, $2… insert captured groups and

    amp; inserts the whole match.

  • Whole words only works with letters from any language, not just English.

  • If your regex is invalid you’ll see the error message instead of a result.

  • Regular expressions run in the background with a two-second limit, so a runaway pattern such as (a+)+ is stopped with a message instead of freezing the page.

Questions

Can I undo?

Your original text stays untouched in Input text — only the Result box shows the replaced version.

Which regex flavour is used?

JavaScript regular expressions with Unicode support, applied to every match.

Can I replace line breaks?

Yes, with Regular expression on: find \n and replace it with whatever you need.

Is my text sent anywhere?

No. Everything is processed by your browser on your own device — nothing you type or upload is sent to a server, so it is safe to use with private notes, drafts and work documents.

More Text Tools tools

  • URL Slug Generator — Turn titles into clean, SEO-friendly URL slugs — accents removed, spaces replaced, length limited.
  • Lorem Ipsum Generator — Generate lorem ipsum placeholder paragraphs, sentences, words or list items, as plain text or HTML.
  • Reverse Text — Reverse text by characters, words, lines or the letters inside each word — emoji stay intact.
  • Text Repeater — Repeat a word, line or message up to 10,000 times with your choice of separator.
  • Word Frequency Counter — See which words and phrases appear most often in a text, with counts, percentages and CSV export.
  • Readability Score Checker — Score English text with Flesch Reading Ease, Flesch–Kincaid, Gunning Fog, SMOG and more, and find long sentences.

All Text Tools tools