URLShorten

URLShorten["url"]

creates a shortened URL that redirects to "url".

URLShorten[CloudObject[]]

creates a shortened URL that redirects to the URL for the specified cloud object.

Details

  • URLShorten returns a full URL, given as a string.
  • By default, URLShorten generates a "wolfr.am" URL.
  • The shortened URL is active on the web as soon as URLShorten is evaluated.
  • Use of URLShorten requires connectivity to the Wolfram Cloud.
  • URLShorten[URL["url"]] is also supported.

Examples

open allclose all

Basic Examples  (1)

Scope  (3)

URLShorten automatically threads over lists:

Shorten a URL that is built from components:

URL or CloudObject can be used:

Applications  (1)

Shorten a URL and create a QR code for the shortened URL:

Wolfram Research (2014), URLShorten, Wolfram Language function, https://reference.wolfram.com/language/ref/URLShorten.html (updated 2016).

Text

Wolfram Research (2014), URLShorten, Wolfram Language function, https://reference.wolfram.com/language/ref/URLShorten.html (updated 2016).

CMS

Wolfram Language. 2014. "URLShorten." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/URLShorten.html.

APA

Wolfram Language. (2014). URLShorten. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/URLShorten.html

BibTeX

@misc{reference.wolfram_2024_urlshorten, author="Wolfram Research", title="{URLShorten}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/URLShorten.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_urlshorten, organization={Wolfram Research}, title={URLShorten}, year={2016}, url={https://reference.wolfram.com/language/ref/URLShorten.html}, note=[Accessed: 22-December-2024 ]}