← Back to all tools

URL Routing Tester

Test ordered method/path routes, inspect decoded parameters and query values, and preview rewrites without navigating.

Routes

METHOD /pattern [→ /rewrite]. Methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, or ANY. Segments support literals, :name, final optional :name?, safe constraints such as :id([0-9]{1,8}), and a final *name wildcard. Blank lines and # comments are ignored.

Scope: Matching is case-sensitive and ignores a trailing slash. Optional parameters occupy a whole final segment. Query strings are parsed separately and never participate in path matching. Constraint syntax intentionally excludes groups, alternation, lookarounds, backreferences, and arbitrary expressions. Shadow analysis is conservative: exact duplicates and routes after a universal wildcard are proven unreachable; sample overlap is labeled only as a heuristic. Rewrite previews are local strings and are never requested or opened.