This tool helps you quickly create regex patterns from a list of URLs to filter multiple pages in Google Search Console. Instead of manually adding the | (OR) operator between each URL, this tool does it automatically.
Paste URLs (any delimiter: spaces, newlines, tabs, commas). Click Generate to produce a |-separated regex you can paste into GSC.
How to use
Step 1: Paste your URLs
Copy your list of URLs from anywhere — a spreadsheet, text file, or browser — and paste them into the Input URLs box. You can separate them with spaces, commas, tabs, or new lines.
Step 2: Choose your options
Select whether to escape regex characters (recommended), remove duplicates, wrap your regex in (?: … ) for non-capturing grouping, and/or add ^ and $ anchors to match entire URLs.
Step 3: Generate your regex
Click Generate (or let the tool update automatically as you type) to produce your regex in the Output box.
Step 4: Copy and use in Google Search Console
Click Copy output, then paste the regex into Google Search Console under Custom (regex) when setting the page filter.
💡 Tips
- Keep your regex under 4096 characters — GSC has a length limit.
- Escaping special characters ensures your pattern works across different regex engines.
- If you are just checking one page, you can use my SEO bookmarklet to filter the exact URL in GSC.
- You can also use this for Google Analytics, Data Studio, or other tools that support regex filtering.