Find & Replace

Text Tools

Find and replace text, with optional regex and case sensitivity.

Options

Input

Result

Enter something to find to start replacing. Processed entirely in your browser.

What is Find & Replace?

Find & Replace searches your text for a word, phrase, or pattern and swaps it for something else, showing the result and a live count of how many replacements were made. Turn on Match case, Whole word, or Regex mode for precise control, and use Replace all to change every match or just the first. In regex mode you can reference captured groups like $1 in the replacement, and invalid patterns are flagged cleanly instead of crashing. Everything runs in your browser, so your text is never uploaded.

How to use Find & Replace

  1. Paste your text

    Drop the text you want to edit into the Input box. The Result updates live as you set up the find and replace.

  2. Enter find and replace terms

    Type what to look for in Find and what to swap it with in Replace with. Leave Replace with empty to simply delete every match.

  3. Fine-tune with toggles

    Enable Match case for case-sensitive matching, Whole word to avoid partial hits, and Replace all (on by default) to change every occurrence instead of only the first.

  4. Use regex for patterns

    Switch on Regex mode to match with a regular expression and reference captured groups in the replacement using $1, $2, and $&. Invalid patterns show a clear red message.

  5. Copy or download

    Check the replacement count under the panels, then Copy the result or Download it as replaced.txt.

Common uses

  • Rename a variable or term throughout a document
  • Delete unwanted characters by replacing them with nothing
  • Reformat data using regex capture groups
  • Fix a repeated typo across a long article
  • Swap straight quotes, dashes, or spacing conventions
  • Bulk-edit lists, logs, or exported text

Why choose FreeTools

100% private

Your files are processed inside your browser and are never uploaded to a server.

Free, no account

No sign-up, no watermark, no paywalled “premium” tier. Just open a tool and use it.

Instant

No upload, no queue, no server round-trip — work starts the moment you drop a file.

Runs in your browser

Built on open web standards. Works on any modern desktop browser, nothing to install.

No upload size caps

Nothing leaves your device, so there’s no server file-size limit — only your machine’s memory.

Yours to keep

Results download straight to your device in clean, standard file formats.

Frequently asked questions

Related tools