Parse a URL into protocol, host, path, query and hash.
{
"protocol": "https:",
"host": "example.com",
"pathname": "/path",
"search": {
"q": "1",
"x": "2"
},
"hash": "#hash"
}AI referral URLs carry attribution — parse them right or lose the signal.
Reports 'Invalid URL' cleanly instead of throwing.
Every generator on this page can auto-apply across thousands of WordPress URLs — schema, meta, hreflang, robots, llms.txt — with GEO, AEO and AIO built in.
See pricing →Real sites using url parser-style patterns for SEO growth.