Skip to main content

Text Tools

Find and Replace Text

Find and replace words or phrases in pasted text.

Find and Replace Text tool

Loading tool…

Jump to a section

About This Tool

Replace a repeated word, phrase, label, identifier, or punctuation sequence across pasted plain text without changing each occurrence by hand. The tool previews a separate result, reports how many replacements were made, and lets you require matching capitalization or whole words. Search text is always treated literally, so punctuation such as periods, brackets, dollar signs, and asterisks has no special pattern meaning. Processing stays in your browser and does not edit the original source, a document file, or content on another website.

How To Use It

  1. Paste or type the source into Text to edit, or start with the loaded example.
  2. Enter the exact word, phrase, or character sequence to find and the text that should replace it.
  3. Enable Match case when capitalization must agree, and Whole words only when matches inside longer words must remain unchanged.
  4. Review the replacement count and transformed result before copying it or using it as the input for another pass.
  5. Leave Replace with empty when the intended operation is to delete every matching occurrence.

Examples

Rename a repeated label

Find Draft status and replace it with Review status across copied release notes, then confirm the replacement count before copying.

Preserve longer words

Find cat with Whole words only enabled to replace cat while leaving category and concatenate unchanged.

Match capitalization exactly

Enable Match case to replace API without changing api or Api when those forms have different meanings in the source.

Delete a repeated marker

Find a literal marker such as [TODO] and leave Replace with empty to remove each exact occurrence without treating brackets as pattern syntax.

Useful Notes

Literal matching avoids pattern surprises

The find value is escaped before matching. Characters such as ., *, ?, [, ], (, ), and $ are ordinary text, not regular-expression instructions. Use the separate Regex Tester when you need to develop a pattern; this replacer intentionally keeps the transformation predictable.

Case matching

Match case distinguishes Blue, blue, and BLUE. When it is off, those capitalization variants can all match, and every match is replaced with the exact capitalization entered in Replace with.

Whole-word boundaries

Whole words only checks Unicode letters, numbers, and underscores at both sides of a match. It helps replace a standalone word without changing the same letters inside a longer word or identifier. Punctuation and spaces form boundaries.

The original remains available

The transformed text appears in a separate result. Use result as input only when you intentionally want another replacement pass. Keep an independent source copy when editing important material because repeated transformations can be destructive.

Local processing and limits

Replacement runs locally in the browser for up to 200,000 characters, and the find phrase is limited to 1,000 characters. The tool does not upload text, open document formats, search folders, or modify files in place.

FAQ

Does this support regular expressions?

No. Find text is deliberately literal, which keeps punctuation predictable and avoids executing user-authored patterns. Use the Regex Tester to develop or inspect a regular expression separately.

Can I delete every match?

Yes. Enter the text to find and leave Replace with empty. The result removes every occurrence that satisfies the selected case and whole-word options.

Why did a word inside another word not change?

Whole words only is enabled in the example. Turn it off when the intended match may appear inside a longer word, code, path, or identifier.

Does replacement text treat dollar signs specially?

No. Replacement is inserted literally, so values such as $5 or $1 are not interpreted as capture-group references.

Is my text uploaded or saved?

No. Matching and replacement run in the browser. The tool does not need a Hanakash conversion API and does not save a replacement history.