✍️ Text & Writing

Find & Replace

Swap words or patterns throughout your text all at once. Case sensitivity and regular expressions are supported — handy for standardizing terms or updating boilerplate. The result updates live as you type, and you can see how many replacements were made. Your input stays in the browser, nothing is sent out.

Examples (click to try)
Options
Enter target text and something to find, and the result will appear here

How to Use Find & Replace

New here? Start by clicking one of the Examples (such as Newlines to commas, or Full-width to half-width space). A sample text and the find/replace settings are filled in for you, and the result appears immediately. Once you're comfortable, paste the text you want to edit into the Target text box, then fill in Find and Replace with. The result and replacement count update live as you type.

For example, if Target text is 2024-04-01 to 2025-03-31, Find is -, and Replace with is /, the result becomes 2024/04/01 to 2025/03/31 and shows "4 replaced". Leave Replace with empty to delete the matched text entirely.

  • Find: The word or pattern you want to replace. Every match is replaced.
  • Replace with: The text to substitute in. Leave it blank to delete matches.
  • Case sensitive: When on, Apple and apple are treated as different. When off, case is ignored.
  • Treat as regular expression: When on, the Find field is interpreted as a regex pattern. You can use \d (digits), \s (whitespace), and capture groups like (\d{4})-(\d{2}), with $1, $2… backreferences in the Replace with field.

When is this tool useful?

  • Standardizing a company name, product name, or term throughout a document in one pass
  • Turning newline-separated data copied from a spreadsheet into comma-separated values
  • Converting full-width spaces to half-width, or removing unwanted symbols
  • Using regex to reformat dates or numbers (their separators) all at once

Frequently Asked Questions

Is my input sent to a server?
No. All searching and replacing happens entirely in your browser. Nothing you type is ever transmitted or stored externally, so it is safe to use with sensitive or confidential text.
What does "Treat as regular expression" do?
It interprets the Find field as a regular expression pattern. For example, \d matches digits, \s matches whitespace, and capture groups like (\d{4})-(\d{2}) are supported. In the Replace with field you can use $1, $2… for backreferences. When the option is off, the Find field is matched literally.
Does it replace every occurrence, not just the first?
Yes. Every match is replaced (the global flag is always on). The number of replacements is shown above the result, so you can fine-tune your settings while watching the count.