Category: Text tools
Find and Replace Text
Bulk-edit text without opening an editor
Paste text, type what to find and what to put in its place, and get the result with a count of how many replacements were made. Match case, whole words and regular expressions are supported, and the text stays in your browser.
The result will appear here.
Whole-word matching uses word boundaries, which do not exist in scripts written without spaces such as Chinese, Japanese and Thai.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
This is the one editor feature people miss when they are working in a form field, a chat window or a spreadsheet cell. Paste the text, type the two halves and the result updates as you type, with the number of replacements shown so you can tell an over-eager pattern from a precise one. Whole-word matching stops replace on cat from mangling category. The regular expression mode passes your pattern straight to the browser's engine, so backreferences like $1 in the replacement work as they do in code, and a pattern the engine rejects gets a message under the field instead of an empty output.
How to use it
- Paste or type the text you want to edit.
- Fill in what to find and what to replace it with.
- Turn on match case, whole word or regular expression as needed, then copy the result.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Is my text sent to a server?
- No. The replacement runs in the page, which is why it updates as you type. Nothing is uploaded, stored or logged.
- Can I use a regular expression?
- Yes. Turn on the regular expression option and your pattern goes to the browser's own engine. Capture groups are available in the replacement as $1, $2 and so on, and $& stands for the whole match.
- Why does whole-word matching do nothing on my text?
- It relies on word boundaries, which are defined around spaces and punctuation. Scripts written without spaces, such as Chinese, Japanese and Thai, have no boundaries for it to find, so leave the option off there.