查询字符串解析器
粘贴任何URL以将其查询参数和片段分解为可读的解码表。
What the Query String Parser does
URLs are easy to read until they fill up with encoded characters and tracking parameters, at which point a single link can become an unreadable wall of percent signs and ampersands. This tool takes any URL or bare query string, splits it into its individual parameters and fragment, decodes each value, and lays everything out in a clean key-and-value table. Reach for it when you need to inspect what a link is actually carrying: debugging an API request, decoding a messy redirect, checking which analytics tags a marketing link is appending to you, or verifying that a callback URL contains the parameters you expect.
How it parses and decodes
A URL's query string is the part after the ?, made up of key=value pairs joined by &, while the fragment is whatever follows the #. This parser first slices off the fragment, then the query, then hands the query to the browser's native URLSearchParams, which is the same engine your browser uses internally. That gives you standards-correct decoding for free:
- Percent-encoding is reversed —
%20becomes a space,%2Fbecomes/, and multi-byte UTF-8 sequences like%D0%9Fare reassembled into the correct characters. - Plus signs become spaces in the query component, matching how form submissions encode whitespace.
- Repeated keys are preserved, so a link with two
id=parameters shows both rows rather than silently dropping one. - The fragment is decoded separately, because it plays by its own rules.
One detail worth internalising: the fragment after # is never sent to the server by the browser — it stays entirely client-side and is used for in-page anchors or single-page-app routing. That is why single-page apps often stuff state into the fragment, and why a token placed after a # behaves very differently from one placed in the query. Seeing the query and fragment split apart here makes that boundary obvious.
Concrete examples and tips
Paste a typical newsletter link such as https://example.com/article?utm_source=news&utm_campaign=july&gclid=abc123#top and the table immediately separates the real destination from the tracking cruft: utm_source, utm_campaign, a Google gclid, and the harmless #top anchor. That makes it trivial to strip the tracking parameters before you share a link, so you are not passing along identifiers that tie the click back to you. Developers reach for it constantly to eyeball OAuth redirects, signed download URLs and webhook callbacks without hand-decoding by eye — the same kind of debugging you would do against our API. A couple of gotchas: a raw + in a value legitimately decodes to a space, so if you need a literal plus it must be encoded as %2B; and if a link double-encodes a value (%2520), you will see one layer peeled here and may need to run the result through again.
Your privacy here
Everything happens locally in your browser. The URL you paste is parsed by JavaScript on this page and never transmitted — we do not see, log or store the links you inspect. This matters because query strings routinely contain session tokens, email addresses and other sensitive values, and with this tool those never leave your device.
人们通过搜索找到此页面
- 查询字符串解析器
- 如何配置查询字符串解析器
- 查询字符串解析器 比较
- 免费代理列表
- 查询字符串解析器 解释
- openvpn 解释
- 代理检查器
- openvpn 适合初学者
- 免费代理列表
- 我的 IP 地址是什么?
- http 代理设置
- 代理认证 按国家
- 下载 免费代理列表
- 免费网络工具
- 用于抓取的代理
此页面回答的真实搜索短语 — 链接的短语打开详细覆盖它们的页面。