Find and Replace Text

Last updated: June 18, 2026

Bulk find & replace, with regex.

Loading tool…

Find and Replace Text is a free online tool to bulk find & replace, with regex. It runs entirely in your browser, so your files never leave your device — nothing is uploaded. There's no sign-up, no watermark, and it works on any modern browser on desktop or mobile.

How to use Find and Replace Text

Find and Replace Text swaps every occurrence of a word or pattern across your whole document at once, with match-case and full regular-expression support and a live count of replacements. Free, private and runs in your browser.

Read the full guide: How to Find and Replace Text Online (Free, Regex)

  1. 1Enter what to find and what to replace it with.
  2. 2Toggle match-case or regex if needed.
  3. 3Paste your text and copy the result.

Bulk replace

Change every occurrence in one go, with a count of replacements.

Regex support

Use full regular expressions for advanced find-and-replace.

Free & private

Your text stays on your device.

Rename a variable across pasted code

Paste a function or config block and rename a variable, key, or string everywhere it appears in one pass. Turn on Match case so userId is renamed but UserID and userid are left untouched, and check the replacement count to confirm you caught every occurrence before copying the cleaned-up code back into your editor.

Reformat dates and numbers with regex

Switch on Use regex to rewrite patterns instead of fixed words. Match dates like (\d{4})-(\d{2})-(\d{2}) and reorder them to $3/$2/$1, or strip every phone number to digits only. Capture groups in the replacement field let you reshape thousands of rows of pasted data at once without writing a script or spreadsheet formula.

Scrub names from text before sharing

Paste a log, transcript, or email thread and replace real names, emails, account IDs, or API keys with placeholders like [REDACTED] before posting it publicly or to support. Because every replacement happens in your browser and nothing is uploaded, the sensitive original never leaves your device, and the live count tells you exactly how many instances were swapped out.

Find and Replace Text — frequently asked questions

Does it support regular expressions?

Yes — turn on 'Use regex' to match patterns, with capture groups available in the replacement.

Can I match case exactly?

Yes, enable 'Match case' for case-sensitive replacements; it's off by default.

Is it free?

Yes, completely free.

Share this tool

Send it to someone who needs it or save the link for later.