URL parameters tool
Parse query parameters · sort, add and remove · rebuild the URL · generate call code
参数表(重复键按出现顺序保留)
| # | 键 | 值(原始) | 编码后 | 操作 |
|---|
重建 URL
调用代码
—
FAQ
Parse a URL's query parameters into a table (repeated keys kept in the order they appear), sort by key, add and remove parameters, rebuild the URL in one click to copy; it also outputs calling code in three flavours: cURL, JS fetch and Python requests.
All of them are kept in the order they appear and highlighted in the table - some APIs really do rely on the same key appearing several times (say tag=a&tag=b), and this tool will not merge or deduplicate them behind your back.
When rebuilding the URL, keys and values are uniformly encoded as application/x-www-form-urlencoded (a space becomes +, Chinese and special characters become %XX); the table shows the original and the encoded value side by side so you can check them against each other.
No. Parsing and rebuilding use the browser's built-in URL / URLSearchParams, no request is made, what you paste is not uploaded, and reloading clears it.