# Find and Replace

> Replace words or regex patterns in bulk. Runs entirely in your browser — nothing you paste is sent anywhere.

Source: https://toffeekit.com/tools/find-and-replace

**Category:** [Text](https://toffeekit.com/category/text) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/find-and-replace

**Also useful for:** find, replace, search, regex

## How it works

1. Paste your text into the input box, or click Sample.
2. Type what to look for in Find and the new text in Replace with.
3. Turn on Match case for exact capitals, or Regex to use a regular expression.
4. Copy the Result or click Save to download it.

## FAQ

### How do I replace all occurrences of a word?

Enter the word in Find and the replacement in Replace with. Every occurrence is replaced at once, not just the first.

### How do I replace text using regex?

Turn on Regex and type a pattern in Find, for example \d+ to match numbers. If the pattern is invalid, the tool shows the error instead of changing your text.

### How do I use capture groups when replacing?

With Regex on, wrap part of the pattern in parentheses and refer to it as $1, $2 and so on in Replace with. For example, find (\w+) (\w+) and replace with $2 $1 to swap two words.

### Is the search case sensitive?

Not by default. Turn on Match case if you want colour and Colour treated as different words.

### How do I delete every match instead of replacing it?

Leave Replace with empty. Each match is removed from the text.

### Is Find and Replace free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Find and Replace runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Word Counter](https://toffeekit.com/tools/word-counter) — Words, characters, sentences and reading time, live.
- [Case Converter](https://toffeekit.com/tools/case-converter) — UPPER, lower, Title, camelCase, snake_case and more.
- [Remove Duplicate Lines](https://toffeekit.com/tools/remove-duplicate-lines) — Keep only unique lines, in order.
- [Sort Lines](https://toffeekit.com/tools/sort-lines) — Sort A–Z, naturally, by length, or shuffle.
- [Text Cleaner](https://toffeekit.com/tools/text-cleaner) — Fix spaces, quotes, empty lines and stray HTML.
- [Slug Generator](https://toffeekit.com/tools/slug-generator) — Turn titles into clean URL slugs.

