Find words, phrases, or regular expressions in any text. Replace one match or all occurrences, review the results, then copy or download your edited text.
Case-sensitive Whole words Regex supportCorrect repeated typos, rename terms, remove phrases and edit plain text in your browser.
Paste your text, enter a search term, and choose the replacement options.
Regex uses JavaScript syntax. Capturing groups such as $1 work in regex mode. Max text length: 1,000,000 characters.
Edit repeated text accurately without searching every occurrence manually.
Case-sensitive and whole-word options help control which phrases are changed.
Use regular expressions and capture groups for advanced editing patterns.
Review the edited text, copy it instantly, or save the output as a TXT file.
Paste your content into the original text box, enter a word or pattern in Find, and type the replacement. Choose whether to match uppercase letters, whole words or regex expressions. Click Replace All or Replace First and review the output before copying or downloading it.
Case-sensitive matching distinguishes Apple from apple. Whole-word matching can replace cat without altering category. For advanced patterns, enable regex to match numbers or optional spellings.
Regex mode uses JavaScript regular expressions. For example, find (\d+)-(\d+) and replace with $2-$1 to swap number groups. Invalid regex patterns show an error without changing the result.
Need structured data tools too? Use our JSON Formatter, JSON Validator, and Base64 Encoder.
Yes. Replace All changes each matched occurrence in the pasted text, while Replace First changes only one match.
Yes. Leave the Replace with field blank to remove matching text.
Yes. Enable regex mode to use patterns and captured groups such as $1.
No. All text replacement calculations take place in your browser using JavaScript.
The tool shows an error message and leaves your current result unchanged.