Break a URL into protocol, host, path, query and fragment.
Open-source tools that run in your browser.
Bean Yourself