Find & Replace

Search and replace text in bulk.

Open tool

Overview

Search through a block of text for a target string and replace every match with a different string in one pass. Toggle case sensitivity, whole-word matching, or regular-expression mode to handle anything from a simple rename to a structured transformation.

Developers refactoring strings without firing up an IDE, writers swapping a character's name across a draft, data analysts cleaning up CSV columns, and editors normalizing terminology across long documents all reach for a find-and-replace utility. Doing it in the browser keeps the source text out of any third-party desktop tool.

How it works

The tool scans your input for the search term and substitutes the replacement at every match. In literal mode the search is a plain string comparison. In regex mode the search becomes a JavaScript / .NET regular expression, so you can use anchors (^, $), capture groups ($1, $2), character classes, and quantifiers. A preview shows the result before you commit.

Examples

Find:        color
Replace:     colour
Input:       The color is bright. I love that color.
Output:      The colour is bright. I love that colour.
Find (regex):  (\w+)@example\.com
Replace:       $1@toolbelt.app
Input:         alice@example.com, bob@example.com
Output:        alice@toolbelt.app, bob@toolbelt.app

FAQ

Does it support regex back-references?

Yes, in regex mode. Use $1, $2, etc. in the replacement string to insert captured groups.

Is it case-sensitive by default?

Yes. Toggle the case-insensitive option for typo-tolerant matches.

Will it preserve the case of replaced text?

Smart case preservation (replacing "Color" with "Colour" and "color" with "colour" automatically) is an advanced option. By default the replacement text is inserted verbatim.

Can I do multi-line regex?

Yes. Toggle the multi-line flag so ^ and $ match line boundaries, and the dot-all flag so . matches newlines.

Try Find & Replace

An unhandled error has occurred. Reload ×