Find & Replace
Search and replace inside your text in place — regex with capture groups, whole-word and case-sensitive matching, a live match list you can click through, and undo. No separate output box to copy from.
Runs entirely in your browser — nothing is sent to our servers.
How to use it
- Paste or type your text into the document panel.
- Type a search term in Find — matches highlight in the list on the right as you type.
- Toggle Match case, Whole word or Regex as needed.
- Click any match in the list (or use the arrow buttons) to jump the cursor to it.
- Type a replacement, then press Replace for one match or Replace all for every match.
- Made a mistake? Press Undo to step back through your last 20 edits.
Document (176 chars)
Matches (8)
What is find and replace?
The recurring editing chore: a variable was renamed, an environment moved from staging to prod, or a log dump needs every occurrence of a timestamp format swapped for another. Doing it by eye means scrolling and re-reading the same text over and over, hoping nothing was missed or over-replaced.
This tool searches your text for a literal string, whole word, or regular expression, shows every match with its surrounding context in a live list, and replaces them — one at a time or all at once — directly in the document you're editing. There is no separate output panel to copy from: the text you paste in is the text you get back, edited.
Why use this tool
Most browser find-and-replace tools give you an input box, an output box, and a single Replace All button — you get one shot, and if the result is wrong you retype the input from scratch. This one edits in place with an undo button, so a Replace All that turned out too broad is one click to reverse, not a re-paste.
The match list is the other difference: instead of guessing whether your pattern matched what you intended, you see every match with context before committing, click any one of them to jump the cursor straight to it in the document, and step through them with the arrow buttons or Enter/Shift+Enter in the Find field.
Regex mode supports capture groups in the replacement — $1, $2, $& for the whole match, and $$ for a literal dollar sign — so a pattern like (\d{4})-(\d{2})-(\d{2}) can be rewritten as $2/$3/$1 without touching anything outside the matched date. Everything runs locally in your browser — nothing you type here is sent anywhere.
Match case, whole word, and regex — how they interact
Match case
Match case off (the default) finds Dog, dog and DOG alike; turning it on restricts matches to the exact case typed in Find.
Whole word
Whole word wraps the search in word boundaries, so searching for cat won't match inside concatenate or category. It composes with regex mode too — the boundaries wrap around whatever pattern you write, not just literal text.
Regex
Regex treats Find as a JavaScript regular expression instead of a literal string — an invalid pattern shows an inline error rather than silently matching nothing, so a stray unclosed bracket is obvious immediately rather than a confusing zero-match result.
Related tools
Case Converter
camelCase, snake_case, kebab-case, PascalCase and more, all at once.
Text Transform
Lines to a delimited list, and back.
SQL Formatter
Indent queries with keyword casing options.
JSON Formatter
Format, minify and validate JSON, with auto-repair for common invalid JSON.
JSON ↔ CSV
Convert a JSON array of objects to CSV, or back.
JSON Compare
Diff two JSON documents, path by path.
Base64 Encoder / Decoder
Encode or decode Base64, including the URL-safe alphabet.
URL Encoder / Decoder
Percent-encode or decode a URL component.
UUID v4 Generator
Generate one or many cryptographically random UUID v4s.
BIN Checker
Card issuer lookup from a BIN/IIN.
Temporary Email
A disposable inbox for live-testing incoming mail.
Webhook
Inspect live webhook deliveries.