b4rn1 · texttoolstext
Bin TX-06·Text

Find and replace

Replace words across a long text, with optional case matching and regular expressions. Every match is counted before you commit.

BinTX-06
DepartmentText
Free runsUnlimited
Runs onYour device
Loading the tool…

The code for this tool is fetched only when you open it.

What find and replace does

Find and replace swaps text across a document with optional case sensitivity, whole-word matching and regular expressions. It exists because the browser's own find box cannot write back, and an editor is overkill for one substitution.

How it works

JavaScript regular expressions, built from your pattern with escaping applied in plain mode so a literal query like "a.b" does not become a wildcard.

Runs on your device

Nothing is uploaded, because nothing needs to be: the browser already has a decoder, a canvas and an encoder. Close the tab and every trace of the file is gone, which is a stronger guarantee than any deletion policy.

Formats and limits

LimitsNo limit. The match count updates live; whole-word mode wraps the pattern in word boundaries.
PriceFree, unlimited, no account

Worth knowing

  • Plain mode escapes regex metacharacters, which means a search for a file path or a currency symbol behaves literally instead of matching unpredictably.
  • Regex mode supports capture groups with $1 in the replacement, so a pattern can reorder dates or swap name parts in one pass.

Questions about find and replace

How do I use regular expressions here?

Turn regex mode on and write the pattern as you would in code, for example (\d{4})-(\d{2})-(\d{2}) with $3/$2/$1 as the replacement to turn 2026-11-24 into 24/11/2026.

Is my text sent to a server to be processed?

No. The replacement runs on the string in your tab. Nothing is posted, so a confidential document can be edited here safely.

Can I use regular expressions?

Yes, switch on regex and use patterns with capture groups; $1, $2 and so on work in the replacement.

Will a bad pattern break the page?

No. An invalid regex is caught and reported, and the text stays as it was.

Where is my file processed?

No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.

Can I use this without a connection?

Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.

Is it free, and do I need an account?

Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.

Find and replace text — with regex support, free · b4rn1