Find & Replace
Find and replace text in bulk, with literal or regular-expression matching, optional case-sensitivity, and capture-group references in the replacement. Private and in-browser.
How it works
In plain mode the text you type in Find is matched literally, special characters like
. or ( have no special meaning. Switch on Regular expression
to match patterns and reuse captured groups in the replacement with $1, $2,
and so on.
All matching happens in your browser, nothing is uploaded.
What this does
A find-and-replace tool substitutes text in bulk, with literal or regular-expression matching and capture-group references in the replacement.
How to use it
- Paste your text.
- Enter the find and replace values.
- Pick literal or regex mode.
- Read the result and match count.
How it works
In literal mode the search text matches exactly; in regex mode it is a pattern and you can reuse captured groups with $1, $2 in the replacement. The result shows how many matches were substituted.
Understanding your result
The match count is your sanity check: zero means the search text never appeared, usually a case or whitespace mismatch, while a number far higher than expected often means a regex matched more broadly than you meant. In regex mode the replacement can reuse captured groups with $1 and $2, so review a few changes before trusting a bulk run, since a substitution cannot be undone once you have replaced your source text.
Example
Replacing “colour” with “color” across a document updates every occurrence at once.
Sources & methodology
Last updated .
Frequently asked questions
What is the difference between literal and regex mode?
In literal mode your search text is matched exactly, so characters like “.” mean a real dot. In regex mode it is treated as a pattern, and you can reuse captured groups with $1, $2 in the replacement.
Does it tell me how many matches were replaced?
Yes. The result shows the number of matches substituted so you can confirm the change.
Is my text uploaded?
No. The find-and-replace runs entirely in your browser; nothing is sent anywhere.
Related tools
Word Counter
Count words, characters, sentences, paragraphs and lines as you type, with an estimated reading time. Fast and private, your text is analysed in your browser.
Case Converter
Convert text between UPPER, lower, Title, Sentence case and programmer styles like camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Instant and in-browser.
Slug Generator
Turn any title into a clean, URL-friendly slug: accents are stripped, spaces and symbols become hyphens, and the result is lowercased. Slugify many lines at once, all in your browser.
Sort Lines
Sort a list of lines alphabetically, by length or numerically, in either direction, with optional case-sensitivity, trimming and duplicate removal. Runs entirely in your browser.