Word Counter
Clean and transform text with Word Counter — instant results, fully in-browser.
Find and replace text — every match at once, with optional case-insensitive and regex modes — instantly in your browser. Plain text is matched literally.
Your browser is preparing the tool. It runs 100% locally.
Enter what to find and what to replace it with, and the tool swaps every occurrence in your text at once. By default the search is a literal string, so special characters match themselves. Tick ignore case to match regardless of capitalisation, or regex for full pattern matching with capture groups. Everything runs in your browser; nothing is uploaded.
This tool performs a global find and replace over a block of text. It locates every instance of your search term and substitutes your replacement, leaving the rest of the text untouched, and shows you the result to copy.
It is the quick way to swap a word throughout a document, fix a repeated typo, or — with the regex option — make pattern-based edits across the whole text in one go.
The tool searches your text for the term you enter and replaces every match with your replacement. In its default mode it treats the search as a literal string, escaping any special characters so they match themselves rather than acting as pattern symbols. The replace is global, so all matches change, not just the first.
Two options extend it. Ignore case matches the search term regardless of capitalisation. Regex mode treats the search as a regular expression, so you can match patterns and reference capture groups in the replacement — the first group as dollar-one, and so on — for powerful, structured edits.
default : the search is a literal string (special characters match themselves)
regex : the search is a regular expression (patterns + capture groups, dollar-one in the replacement)
ignore case : match regardless of capitalisation
all replacements are global (every match)find cat, replace dog, in the cat sat → the dog sat · regex find a digit run, replace #, in a1 b22 → a# b#Without regex, the search matches literally, so a dot matches a dot. With regex on, you get full pattern matching and can reuse captured groups in the replacement.
For literal find-and-replace, the result is exact: every occurrence of your search term is replaced, and nothing else is touched. The default literal mode means you do not have to worry about special characters.
Regex mode is powerful but unforgiving. A pattern that matches more than you intend will replace more than you intend, so check a regular expression on a copy first. Capture groups, referenced as dollar-one and so on, let you keep parts of the match in the replacement.
Replacement is global and applies across the whole text, including inside words unless your pattern prevents it. To replace whole words only, use word boundaries in regex mode, since a literal search will also match the term inside longer words.
An empty search leaves the text unchanged, and the tool replaces based on what you type exactly. It does not undo, so keep your original if you might need it — though you can simply re-run with the terms swapped to reverse a literal change.
Replace a term throughout a document at once.
Correct the same mistake everywhere it appears.
Use regex to change anything matching a pattern.
Rearrange matched parts using capture groups.
For whole-word replacement, turn on regex and use word boundaries. For changes across many files, use your editor's project-wide find and replace. Keep a copy of the original, since this applies changes directly.
Replaces every occurrence of the search text with the replacement; plain searches match literally, and the regex option enables full pattern matching with capture groups.
Clean and transform text with Word Counter — instant results, fully in-browser.
Character Counter instantly as you type — free, private and lightning fast.
Case Converter instantly as you type — free, private and lightning fast.
Clean and transform text with Lorem Ipsum Generator — instant results, fully in-browser.
Text Diff Checker online with no limits, no signup and no data leaving your browser.
Remove Duplicate Lines online with no limits, no signup and no data leaving your browser.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.