-
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 takes the following options:
-
CharacterEncoding "UTF-8" encoding to assume for a character in the query string - 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)
URLQueryDecode["name=smiley&symbol=%3A%29"]URLQueryDecode automatically threads over lists:
URLQueryDecode[{"p1=a%2Bb", "p2=a%2Ab"}]Scope (1)
A URL wrapper is stripped from an input:
URLQueryDecode[URL["http://www.wolfram.com/?i=1"]]Options (3)
CharacterEncoding (1)
SortQueries (1)
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_2026_urlquerydecode, author="Wolfram Research", title="{URLQueryDecode}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/URLQueryDecode.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_urlquerydecode, organization={Wolfram Research}, title={URLQueryDecode}, year={2016}, url={https://reference.wolfram.com/language/ref/URLQueryDecode.html}, note=[Accessed: 15-June-2026]}