URL shortening services, with the popularity of Twitter, has a very wide usage, probably more than anyone had expected few years ago.

These services not only makes URLs shorter but more readable & trackable. Also, some offer features like password-protecting, custom URLs & more.

Although there are very succesful services like TinyURL or bit.ly, you may still want to have your own as these services can be shut down one day like tr.im (a huge service that is closed yesterday – update: tr.im re-opened which was a good example for the stability risk of these services). Or, you may be asking for more/custom features.

Here are 7 open source & free URL shortener scripts to create your own:

Shorty

Shorty - Short URL Script

Shorty is a free URL shortener script built with PHP & MySQL. It comes with an admin interface where links can be edited/deleted & number of clicks can be viewed.

YOURLS

Wordpress Short URL Script

It is a set of PHP scripts for running a custom URL shortening service.

It can be private or public, custom keyword URLs can be picked, counts clicks & has an API. Best of all, a WordPress plugin integrates it with your blog & links are shortened automatically.

kissa.be!

kissa.be URL Shortener Script

This short URL script has support to shorten various inputs:

  • URL
  • e-mail
  • text
  • image

It is built with PHP/MySQL & has an API for shortening/expanding URLs.

PHPurl

PHP URL Shortener Script

PHPurl is a simple script to shorten URLs. Optionally, custom URLs can be defined for more readable links. The script is created with PHP & MySQL.

BrokenScript

Basic URL Shortener Script

This is a basic URL shortening script where a custom info is required to generate the URL.

TightURL

TightURL Short URL Script

TightURL is a PHP/MySQL script which has a nice spam control feature. It checks entries in various spam databases before shortening them.

phurl

phurl - Free Short URL Script

The script has a captcha & re-captcha support to prevent bots. It also comes with a basic admin interface which enables deleting URLs.

 

And Some Fresh Ones (updated 28 August 2009)

WebResourcesDepot Feed