URL Regex Generator for Google Search Console
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.
0 inputs -> 0 unique | length: 0
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.
Related Tools
Google Search Console Regex Generator
Google Search Console Regex Generator for building filters for questions, word count, search intent, brand vs non-brand and URL patterns.
Free Advanced XML Sitemap Extractor: Fetch from URL or Upload
Upload or fetch any sitemap URL to quickly extract, review, and export URLs. Free sitemap extractor for SEO audits, indexing checks, and website analysis.
robots.txt Tester & Validator
Test if any URL is allowed or blocked by your robots.txt. Check rules for Googlebot, AI crawlers, and custom user-agents instantly. Free online robots.txt checker.