Loading the interface. JavaScript is required; controls stay disabled until ready.
Paste or type the text you want to work with.
Run the tool to generate your result here.
Input and output are limited to 1,000,000 UTF-16 units. Line operations support up to 20,000 lines; Compare is limited to 250,000 line pairs. Results remain plain text in your browser.
How Find & Replace Text works
The find field is literal, never a regular expression. Replacement text is also literal: dollar signs are not substitution codes. All non-overlapping matches are replaced; no match leaves the text unchanged.
How to use this tool
- Paste or type text into the labelled input.
- Enter the literal text to find and its replacement, optionally ignore letter case, then select Process text.
- Review the output, then copy it. Reset clears the current inputs and result.
Processing happens locally. Text is not uploaded or saved by this tool. Keep a separate copy before leaving the page.
A practical example
Replace blue with green in blue sky and blue sea to get green sky and green sea.
Questions and answers
Can I use regular expressions?
No. Literal matching avoids ambiguous patterns and expensive regular expressions. An empty find field is rejected.
Does this tool support regular expressions?
No. Both fields are literal text, so characters such as . * ? and $ are matched exactly as typed. That makes it safe for prices, file paths and code snippets. If you need pattern matching, a code editor such as VS Code or Notepad++ offers regex find and replace.
Can I replace text with nothing to delete it?
Yes. Leave the Replace field empty and every match is removed. This is a fast way to strip a repeated footer, a tracking parameter or a word you want gone. Check spacing afterwards, because removing a word in the middle of a sentence can leave two spaces next to each other.
How do I replace only whole words?
This tool matches text anywhere, including inside longer words, so replacing cat also changes category. To limit it, include the surrounding spaces or punctuation in the Find field, such as a space before and after the word, and handle the start and end of lines separately.
Replace repeated wording deliberately
Find-and-replace is appropriate when the same literal text needs a consistent edit. It is different from a rewriting tool: the match rule decides which character sequences change, without judging the meaning of a sentence.
A practical example
Finding blue and replacing it with green changes blue sky and blue sea into green sky and green sea. A replacement may be empty when you want to remove the match. Check surrounding words too: this tool does not provide a whole-word-only switch, so a literal match can occur inside a longer word.
Literal matching is not a regular expression
Dots, brackets and other pattern characters are treated as text here. Replacement dollar signs are literal as well, not capture-group substitution codes. An empty find value is rejected. The ignore-case option changes matching; it does not automatically adjust the capitalization of your chosen replacement.
Compare before replacing the source
Review highlights and inspect the original against the output. Replacing a short string can change identifiers, URLs or quoted examples unintentionally. Matches are non-overlapping and the output size is bounded. Keep the original separately, especially when a large replacement expands many occurrences.
Worked example: updating a product name
A 2,000-word manual mentions ProTrack 2 forty times and the product has been renamed ProTrack Plus. Enter ProTrack 2 in Find and ProTrack Plus in Replace. If some lines were typed as protrack 2, turn on case-insensitive matching so they are caught too. Afterwards, search the output for ProTrack 20 or similar longer names, because a literal search for ProTrack 2 also matches the start of ProTrack 20.
Choose your next task
- Text compare tool: Review the complete original and revised versions.
- Text cleaner: Handle whitespace cleanup as a separate opt-in step.
- Word frequency counter: Treat density as a repetition measure rather than a ranking target.
- How to Find and Replace Text Online in Seconds: Make controlled literal replacements, compare before-and-after examples and understand case-sensitive and partial matching.