Something wrong with this tool?

About TEXT Replacer Online

This tool searches a body of text for a target string and replaces every occurrence with new text. Enter the input, what to find, what to replace it with, and optionally toggle case sensitivity, whole-word matching, or regular-expression mode.

Find-and-replace is one of the most common text manipulations: cleaning up exported data, swapping placeholder values for real ones in templates, batch-renaming variables in code, or fixing the same spelling error across a long document.

Regex mode unlocks more power: replacing patterns rather than exact strings, capturing groups for reuse, and conditional substitutions. The result preview shows you exactly what changed before you copy it back.

How to use this tool

How to find and replace a substring across a block of text

  1. Paste the text

    Drop the source text into the "Text" field. There's no size limit beyond the form's payload limit; multi-megabyte input works fine for a one-off scrub.

  2. Set Find and Replace

    "Find" is what you're searching for — literal characters, NOT a regex (so `.`, `*`, `[` are matched as themselves). "Replace" is what each match becomes. Empty Replace deletes every occurrence.

  3. Press Run

    Result returns a single `text` field with EVERY occurrence replaced (it's `String.replaceAll`-equivalent, not a one-off swap). Case-sensitive by default — `Foo` won't match `foo`.

  4. When you need regex

    This tool intentionally avoids regex to keep `.` and `*` literal — safer for replacing things like "a.com" or "v1.2" without surprises. For pattern-based replacements use a code-side regex; here, every character is itself.