Replace Prefix

Replace the prefix of each line with other text. Everything runs on your device — fast, free, and never sent to a server.

The result will appear here…
or press Ctrl+Enter

Everything runs in your browser. Your data is never sent to our servers.

728 × 90Ad Space AvailablePlace your ad here

Example

Example Input

- a
- b  (- → * )

Example Output

* a
* b

How to Use

  1. 1Paste or type your text into the Input field.
  2. 2If the tool has "More settings", set them as needed.
  3. 3Click the button (or press Ctrl+Enter), then copy the result.

About Replace Prefix

Replace Prefix looks for a given prefix on each line and replaces it — only when the line actually starts with it.

It is useful for changing list markers, indent levels, or path prefixes.

FAQ

Is my text sent to a server?

No. Replace Prefix runs entirely in your browser — the text you enter never leaves your device.

Related Tools

Related Categories