FIND & REPLACE TOOL

Search text and swap in replacements, with plain text or regex matching. Nothing leaves your browser.

Replacements made: 2

How to find and replace text

  1. 1

    Paste your text into the input box, then type what to find and what to replace it with.

  2. 2

    Toggle case sensitivity, regex matching, or replace-all vs. replace-first depending on what you need.

  3. 3

    Copy the result from the output box — it updates live and shows how many replacements were made.

Questions

How do I use regular expressions in the Find field?
Turn on "Use regex" and type a valid JavaScript regular expression pattern into the Find field, such as \d+ to match numbers. If the pattern is invalid, the tool shows an error message and leaves your text unchanged instead of crashing.
What's the difference between replace all and replace first?
Replace all finds and replaces every match in the text. Replace first only replaces the earliest match and leaves the rest untouched, which is useful when you only want to fix one occurrence.
Does case sensitivity affect regex matches too?
Yes. When case sensitive is off, both plain text and regex searches ignore letter case (equivalent to the /i flag). Turn it on to match exact casing only.
Is my text uploaded anywhere?
No. Everything runs locally in your browser with JavaScript — your text, find pattern, and replacement are never sent to a server.