ggl-shortener is a server-side gateway that provides clients with a more-or-less normal API for goo.gl. It is usable by client-side browser scripts, through JSONP. To access it, you can use a URL like: http://ggl-shortener.appspot.com/?url=http%3A%2F%2Fwww.google.com%2F&jsonp=my_callback Note that the URL you want to shorten should be escaped, using e.g. encodeURIComponent. This example outputs: m