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

Replace word

cat cat sat
dog dog sat

Delete text

Report [draft] v2
Report  v2

Case-sensitive replace

Apple pie, apple juice
Orange pie, apple juice

Whole-word replace

The cat sat. A catalog arrived.
The dog sat. A catalog arrived.

Replace placeholder

Hello {{name}}!
Hello John!

Find and Replace Modes Explained

Replace all

Update every occurrence of the find string in one pass.

Replace first

Change only the first match β€” useful for unique placeholders.

Delete matches

Remove matched text by leaving replacement empty or enabling delete mode.

Match case

Treat Apple and apple as different strings.

Whole word only

Match standalone words β€” cat will not match inside catalog.

Highlight matches

Preview matched text highlighted in the source before you copy output.

Preserve line breaks

Keep original line structure while replacing text on each line or block.

Common Uses

Rename placeholders

Swap {{name}} or {{date}} tokens in templates.

Replace product codes

Update SKUs or internal IDs across pasted inventory lists.

Remove repeated text

Delete boilerplate disclaimers, labels, or duplicate phrases.

Update URLs

Change old domains or path segments in link lists.

Edit CSV values

Replace N/A or blanks, then Sort Lines for final ordering.

Fix typos

Correct spelling across logs β€” verify changes with Text Diff.

Prepare templates

Fill mail-merge fields before exporting to docs or email tools.

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)

Large Find and Replace Examples

Placeholder replacement

Before

Hello {{name}}
Order {{id}}

After

Hello John
Order #1245

URL migration

Before

https://oldsite.com/about
https://oldsite.com/contact

After

https://newsite.com/about
https://newsite.com/contact

CSV cleanup

Before

N/A
Apple
N/A
Banana

After

Apple
Banana

Log cleanup

Before

ERROR: failed login
ERROR: timeout

After

failed login
timeout

Problems This Tool Solves

Placeholder updates

Fill {{name}}, {{id}}, and mail-merge tokens in pasted templates.

URL migrations

Swap old domains or paths across link lists before publishing.

Log cleanup

Strip prefixes like ERROR: from exported server or app logs.

Batch typo fixes

Correct the same misspelling everywhere, then check with Text Diff.

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.

Find and Replace vs Other Tools

TaskBest tool
Replace exact textFind and Replace Text
Remove prefixes/suffixesRemove Prefix and Suffix
Add repeated wrappersAdd Prefix and Suffix
Compare before/after textText Diff
Remove extra spacesRemove Extra Spaces
Clean HTML/textPlain Text Converter

Popular Workflows

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.