How to use Find and Replace Text
- Paste your text.
- Enter what to find and what to replace it with.
- Tick regex, case or whole-word options and copy the result.
Supported features and limitations
With regular expressions on, use $1 to refer to captured groups. Invalid patterns show an error instead of changing your text.
Privacy
Everything you type is processed locally in your browser and is not sent to our servers. No account is needed and there is no watermark.
Frequently asked questions
Can I replace text with a line break?
The Replace box inserts text literally, so it cannot insert a line break. Turn on regex and use \n in the Find box to match existing line breaks, or use the Line Break Remover.
Is it case sensitive?
Only if “Match case” is ticked.
Related tools
- Regex Tester - Test JavaScript regular expressions against text, see highlighted matches, indexes and capture groups.
- Remove Extra Spaces - Collapse repeated spaces, tabs and blank lines in pasted text and trim each line, with optional settings.
- Text Case Converter - UPPERCASE, lowercase, Title Case and Sentence case.
- Word & Character Counter - Count words, characters, lines and reading time.
- Character Counter - Count characters with and without spaces, words, lines and UTF-8 bytes, and check text against limits like 280, 160 or 2,200.
- Sentence & Paragraph Counter - Count sentences, paragraphs and words and see the average sentence length in any text.