URLPattern Playground - Free Online Tool | IconVault
Test the URLPattern API live: named groups, wildcards and presets for routing patterns. Free, in your browser.
URLPattern Playground
Test URLPattern matching with named groups
Syntax cheatsheet
:name named group
:name(regex) custom regex
* wildcard, :name* named wildcard
(foo)? optional group
Match results appear here
Named groups are extracted per URL part: hostname, pathname, search and more.
About this tool
IconVault's URLPattern Playground lets you test the browser-native URLPattern API without writing a line of code. Type a pattern with named groups like `:id`, wildcards and custom regexes, enter a test URL, and see instantly whether it matches plus every captured group broken down by URL part. Completely free and runs fully in your browser.
Six presets cover real routing cases: user profiles, versioned APIs, locale slugs, CDN files, tenant subdomains and search queries. A built-in syntax cheatsheet teaches the pattern language as you experiment, and the tool uses your browser's own URLPattern implementation.
Frequently asked questions
Popular searches
More tools
Code Playground
Write HTML, CSS & JS with live preview.
JSON Formatter
Beautify, validate & minify JSON.
Base64 Encoder
Encode & decode text and files.
JWT Decoder
Inspect tokens without sending them anywhere.
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon