Find & replace text
Replace all literal matches without regular expressions or server processing.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Change a name throughout a document, swap British spellings for American ones, or replace a placeholder in a template. This tool replaces every literal occurrence of the text you search for. It is case-sensitive and does not interpret special characters, so a full stop or a bracket is matched as typed, which avoids the surprises of regular expressions.
For pattern matching, use the regex tester to build and check an expression.
How to use it
- Paste the text into the main box.
- Enter the exact text to find, including capitals.
- Enter the replacement (leave it empty to delete the matches).
- Run it and copy the result; repeat for other capitalizations if needed.
How the calculation works
All non-overlapping, case-sensitive literal matches are replaced from left to right. Partial matches inside longer words are replaced too.
Worked example
Converting "Colour and colours and COLOUR" with find "colour" and replace "color" gives "Colour and colors and COLOUR". Only the lowercase occurrence matched, including the one inside "colours"; run it again with "Colour" and "COLOUR" to change the others.
Sample input and result
Hello world → Hi world
Limitations
- Literal, case-sensitive matching only.
- One search term at a time.
- Up to 100,000 characters.
Last updated:
Frequently asked questions
Can it ignore case?
No, matching is exact. Run it once for each capitalization you need to change.
Will it replace part of a word?
Yes. Searching for "cat" also changes "category". Add spaces around the word in both boxes to limit it.
Can I use wildcards?
No. Special characters are matched literally. Use the regex tester for patterns.
Troubleshooting
Nothing was replaced.
Check capitalization and invisible characters such as curly quotes (’) versus straight quotes (').
Too much was replaced.
The search text also appears inside other words. Include surrounding spaces or punctuation.
Line breaks cannot be searched.
This tool searches within the text as entered; for multi-line patterns use a text editor or the regex tester.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Word & character counter
Count words, visible characters, paragraphs and lines locally, using language-aware segmentation.
Text & writingText case converter
Switch between uppercase, lowercase, title case and sentence case in one tool.
Text & writingRemove duplicate lines
Keep the first occurrence of every exact line and preserve the original order.
Text & writing