URL
✖
URL
Details

- In URL["url"], "url" can be any kind of URL. Supported URL schemes include:
-
http: HTTP protocol https: secure HTTP protocol ftp: file transfer protocol sftp: secure file transfer protocol scp: secure copy protocol file: local file - In URL["url"], the resource referred to by url does not need to exist or be accessible.
- Information for a URL may include the following properties:
-
"Scheme" URL scheme (appearing at the beginning) "User" user information "Domain" domain name or host "Port" port number (appearing after :) "Path" path list (separated by /) "PathString" complete path as a string "AbsoluteDomain" complete domain as a string, including scheme "AbsolutePath" complete path as a string, including scheme and domain "Query" list of parameter-value pairs (appearing after ?) "QueryString" complete query string "Fragment" fragment specification (appearing after #)
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Get a textual snippet from the Wolfram website:
In[1]:=1

✖
https://wolfram.com/xid/0bdp7d2rn-ym6fp4
Out[1]=1

Without the URL wrapper, the string itself will be used as data:
In[2]:=2

✖
https://wolfram.com/xid/0bdp7d2rn-5hc52u
Out[2]=2

Formatting of a URL object:
In[1]:=1

✖
https://wolfram.com/xid/0bdp7d2rn-k753km
Out[1]=1

Scope (3)Survey of the scope of standard use cases
A URL object need not refer to an existing or reachable resource:
In[1]:=1

✖
https://wolfram.com/xid/0bdp7d2rn-n9nw6v
Out[1]=1

A URL object can refer to any supported protocol:
In[1]:=1

✖
https://wolfram.com/xid/0bdp7d2rn-xggufh
Out[1]=1

Specify a username in the protocol:
In[1]:=1

✖
https://wolfram.com/xid/0bdp7d2rn-zlfqp2
Out[1]=1

Wolfram Research (2016), URL, Wolfram Language function, https://reference.wolfram.com/language/ref/URL.html (updated 2019).
✖
Wolfram Research (2016), URL, Wolfram Language function, https://reference.wolfram.com/language/ref/URL.html (updated 2019).
Text
Wolfram Research (2016), URL, Wolfram Language function, https://reference.wolfram.com/language/ref/URL.html (updated 2019).
✖
Wolfram Research (2016), URL, Wolfram Language function, https://reference.wolfram.com/language/ref/URL.html (updated 2019).
CMS
Wolfram Language. 2016. "URL." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/URL.html.
✖
Wolfram Language. 2016. "URL." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/URL.html.
APA
Wolfram Language. (2016). URL. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/URL.html
✖
Wolfram Language. (2016). URL. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/URL.html
BibTeX
✖
@misc{reference.wolfram_2025_url, author="Wolfram Research", title="{URL}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/URL.html}", note=[Accessed: 04-June-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_url, organization={Wolfram Research}, title={URL}, year={2019}, url={https://reference.wolfram.com/language/ref/URL.html}, note=[Accessed: 04-June-2025
]}