-
See Also
- URLQueryEncode
- URLEncode
- URLDecode
- URLBuild
- URLParse
-
- Interpreter Types
- URLString
- URLQueryString
- Related Guides
- Workflows
URLQueryDecode ["string"]
decodes a URL-style query string into a list of key-value rules.
URLQueryDecode
URLQueryDecode ["string"]
decodes a URL-style query string into a list of key-value rules.
Details and Options
- The keys and values in the list of rules returned by URLQueryDecode are given as strings.
- The URL-style query string is taken to be percent-encoded.
- URLQueryDecode has option CharacterEncoding , giving the encoding to assume for a character in the query string. The default is "UTF-8".
- URLQueryDecode [URL ["string"]] is also supported.
Examples
open all close allBasic Examples (2)
Decode a query string:
URLQueryDecode automatically threads over lists:
Scope (1)
A URL wrapper is stripped from an input:
Options (3)
CharacterEncoding (1)
Decode a percent-encoded string using specified encoding:
SortQueries (1)
Sort query parameters by using "SortQueries":
RemoveEmptyQueries (1)
Remove empty parameters by using "RemoveEmptyQueries":
Applications (1)
Joining multiple query strings:
See Also
URLQueryEncode URLEncode URLDecode URLBuild URLParse
Interpreter Types: URLString URLQueryString
Related Guides
Related Workflows
- Construct a URL Query String
Text
Wolfram Research (2014), URLQueryDecode, Wolfram Language function, https://reference.wolfram.com/language/ref/URLQueryDecode.html (updated 2016).
CMS
Wolfram Language. 2014. "URLQueryDecode." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/URLQueryDecode.html.
APA
Wolfram Language. (2014). URLQueryDecode. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/URLQueryDecode.html
BibTeX
@misc{reference.wolfram_2025_urlquerydecode, author="Wolfram Research", title="{URLQueryDecode}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/URLQueryDecode.html}", note=[Accessed: 17-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_urlquerydecode, organization={Wolfram Research}, title={URLQueryDecode}, year={2016}, url={https://reference.wolfram.com/language/ref/URLQueryDecode.html}, note=[Accessed: 17-November-2025]}