Formatting Tools

Find and Replace Text

Search and replace strings with case sensitivity, whole-word matching, and replace-first or replace-all modesβ€”see match counts as you edit. Verify bulk edits with Text Diff or normalize spacing with Remove Extra Spaces.

Find and Replace Text

Enter find and replace values β€” match count and output update live.

Live

Examples

Replace mode
Matching
Preview
Advanced

Literal text matching only β€” regex patterns are not supported.

0 Matches found
0 Replacements made
0 Characters changed
0 Lines affected
Replace all Active mode
Text to search
Text after replacement

Paste text and enter a find string β€” output updates instantly.

Your text stays in your browser β€” nothing is uploaded.

Example

Find and Replace Modes Explained

Common Uses

Before and After Examples

ModeBeforeAfter
Replace allcat catdog dog
Replace firstcat catdog cat
Delete matchremove [draft]remove
Whole wordcat + catalogdog + catalog
Match caseApple / appleOrange / apple (find: Apple)
Placeholder{{name}}John
URL updateold.comnew.com
CSV cleanupN/A(empty)

Literal Search vs Regex

FeatureSupported
Exact text matchingYes
Match caseYes
Whole word matchingYes
Replace firstYes
Replace allYes
Delete matchesYes
Regex patternsNo

This tool uses literal text matching. For complex pattern-based edits, use a regex-capable editor. To strip line wrappers instead of inline text, try Remove Prefix and Suffix.

Notes and Limitations

Frequently Asked Questions

Can I replace all matches at once?

Yes. Select Replace all to update every occurrence of the find string in your source text.

Can I replace only the first match?

Yes. Choose Replace first to change only the opening occurrence β€” useful when repeated placeholders should stay partially intact.

Can I delete text by leaving replacement empty?

Yes. Leave Replace with empty or enable Delete matches mode to remove matched substrings.

What does whole word only mean?

Whole-word mode requires word boundaries on both sides of the match, so cat will not match inside catalog.

Does match case treat Apple and apple differently?

Yes. With Match case enabled, capitalization must match exactly. Without it, matching is case-insensitive.

Are regex patterns supported?

No. This tool performs literal substring matching only. Regex metacharacters are treated as plain text.

Can I replace text across multiple lines?

Yes. Enable Multiline search to match find strings that span line breaks, or include newline characters in the find field.

Will line breaks be preserved?

Yes, by default. Preserve line breaks keeps your original line structure. Disable it only when you want to search a flattened block.

Can I replace blank values?

Yes. Find N/A, empty placeholders, or other blank markers and replace them β€” or leave replacement empty to delete matched rows.

Can I use this for template variables?

Yes. Replace tokens like {{name}}, {{id}}, or {{date}} across pasted templates with Replace all.

Can I update domains or URLs?

Yes. Paste a link list and replace the old domain or path segment (e.g. oldsite.com β†’ newsite.com) in one pass.

Can I preview matches before replacing?

Yes. Enable Show match preview or Highlight matches to see matched text in the source before copying output.

Is my text uploaded?

No. All find-and-replace processing runs locally in your browser. Your text never leaves your device.

Can I download the result?

Yes. Use Download .txt to save the replaced output as a plain text file.