url2regex icon

url2regex

Extension Actions

How to install Open in Chrome Web Store
CRX ID
pebgkmgmdgbeefbdpjifichchnbpbjbj
Status
  • Live on Store
Description from extension meta

Turn a list of URLs or paths into a compact regular expression.

Image from store
url2regex
Description from store

Turn a list of URLs or paths into a compact regular expression, right from your
browser toolbar.

Paste one URL or path per line, or import a CSV. Choose whether to extract
paths only, select Generate regex, then Copy pattern to use it in your workflow.

Features:
- Group shared prefixes to reduce repetition.
- Escape literal regex characters, including forward slashes, automatically.
- Import CSV files with automatic header and URL/path column detection.
- Copy generated patterns with one click.
- Follow your light or dark theme.
- Preserve full input strings by default, including queries and fragments.
- Optionally extract paths, dropping origins, queries, and fragments.
- Process everything locally, without an account or server connection.

Regex validation reports are not included in the popup. For CSV import, use
a single URL/path column if automatic detection reports ambiguity. Check
case-sensitivity, matching mode, and length limits in
the tool where you use the generated pattern.

Open source under the MIT license:
https://github.com/mertefeisawesome/url2regex