UBC Library URL Shortener Service

Create shortened URLs interactively here,

or

Create a POST request to https://go.library.ubc.ca/index.php containing the key-value pair url=<URL>. Optionally specify a callback function name for JSONP. The returned content will be a JSON object containing the shortened URL and the original URL, e.g.

HTTP POST https://go.library.ubc.ca/index.php
DATA url=https://www.library.ubc.ca/
return:
{
	'shorturl':'https://go.library.ubc.ca/jQtjxz',
	'url':'https://www.library.ubc.ca/'
}

You can preview the target URL for a short URL by appending “/info” to the short URL, e.g. https://go.library.ubc.ca/jQtjxz/info.