Skip to main content

Text & Lists

Find and Replace Text

Find matching text and replace each occurrence.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Search

Search mode

Replacement

Your result appears here

Find matching text and replace each occurrence.

This tool runs open-source code from OmniTools (MIT License). See open-source credits.

Find and Replace Text substitutes matching text with a replacement throughout the input.

green blue green Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Enter the exact search value and replacement value.
  3. Review case and matching options exposed by the form.
  4. Test a short sample before replacing values in a larger document.

Example

Input: red blue red

Settings: Find and Replace Text: Find 'red' and replace every occurrence with 'green'.

Result: green blue green

Limits

  • Find and Replace Text: Replacement can change every matching occurrence, not only the first.
  • Find and Replace Text: The operation cannot infer whether a match is semantically intended.
  • Find and Replace Text: The operation runs in the browser and does not need a network service.