Skip to main content

parse_url - online function

parse_url ( string $url [, int $component = -1 ] ) : mixed

This function parses a URL and returns an associative array containing any of the various components of the URL that are present. The values of the array elements are not URL decoded. $component is omitted in this tool because it's precise which part you wan't to get as string, here you will see full array. 

This tool it's a javascript function so result is generated by your browser and it's not sent across internet .

You may also be interested in:

We use cookies on our website to enhance your user experience. We also use Google analytics and ads.

Click here to read more I've read it