URL parser & Python requests
Unpack a long URL. Inspect every parameter and turn it into Python code.
ToolURL ParserChange
Paste a domain or HTTP(S) URL. Up to 64 Ki characters / 1,000 query segments. Ctrl or ⌘ + Enter to parse.
Ready. Your URL stays in this browser.
URL components
Browser-normalized components are shown below. The original query and fragment are kept separately.
Query parameters
Decoded once as UTF-8 form query data: + means a space; %2B means a literal plus. Repeated keys keep their order. Raw cells show the original encoding.
No query parameters in this URL.
| # | Decoded key | Decoded value | Raw key / value | Notes |
|---|
Python requests
Generated GET example. A URL alone cannot tell us the actual method, headers, cookies or request body. Editable params preserves repeated keys but may change encoding. For signed URLs, avoid rebuilding the query and verify the prepared request. Fragments are excluded; URL credentials are omitted.
Understanding a URL
What is a query parameter?
Parameters follow the first question mark. A typical pair is name=value, separated from the next pair by &. Duplicate names are valid. This tool shows each occurrence instead of collapsing them into a dictionary. A value can itself contain an encoded URL.
Is URL encoding the same as Base64?
No. Percent encoding represents bytes as %HH sequences. Base64 uses a separate alphabet to represent bytes as text. Query values are percent-decoded once here; embedded Base64 is not automatically decoded. Use the Base64 converter or Base64URL converter for that next step.
Will this open or scan the URL?
No. Parsing and code generation happen in your browser without fetching the pasted URL. It is displayed as text, never as an executable link. Parsed URLs and generated code are not saved in browser storage or history. Optional analytics consent is managed separately. Copy explicitly writes generated code to your clipboard. URLs may contain credentials or tokens, so review generated code before sharing it.
What happens to the #fragment?
The fragment identifies browser-side content or state. It is displayed separately and excluded from generated HTTP requests.
References: URLSearchParams decoding rules · Python Requests parameters · Privacy