urlparse split a URL into its parts, with every query parameter decoded url https://www.w3schools.com/tags/tag_input.asp?query=banana&q2=apple Runs entirely in your browser; nothing is sent anywhere. The input is kept in the URL fragment so you can link a result — the fragment never reaches the server.