best url shortener self hosted

best url shortener self hosted


Do you want to create a URL shortener service? If yes, then you need to read this article.  

URL shorteners are services that allow you to shorten long URLs into shorter ones. This makes it easier to share links on social media and other websites. There are several different types of URL shortening services out there. Some are free while others charge per link shortened.

I'm going to show you how to set up your own URL shortening service using PHP.


2) Click the "Create Shortcut" button in the top right corner of their website. You will be taken to a page where you can enter your desired name for your new shortcut. Enter a description if you like.

3) After entering all these details click the "Save Shortcut" button at the bottom of the page.

4) Now go back to your browser and copy the

After Google decided to end their URL shortening service, many people started looking for self-hosted alternatives to host their links. The following self-hosted URL-shortener scripts grant you absolute control and allow you to tweak and adjust your links to suit your peculiar taste.

1. TinyUrl (Free):

Tinyurl is one of the most popular URL shortening services available today. It's easy to use, has an intuitive interface and offers a lot of features including custom domains, tracking, analytics, etc.

2. Bitly (Free):

Bitly is another popular URL shortener which allows you to track clicks, add tags, change color schemes, customize text and more. It also supports custom domain names.

The definitive self-hosted URL shortener. Contribute to shlinkio/shlink development by creating an account on GitHub.

5. Shlink (Free):

Shlink is a simple yet powerful self-hosted URL Shortener script written in PHP with MySQL database support. It's very flexible and customizable.

6. UrlShortener (Free):

UrlShortener is a free open source URL shortener written in PHP. It uses a MySQL database and is highly configurable.

7. (Free): is a free open source PHP based URL shortener. It uses a MySQL backend and is fully customizable.

8. Linky (Free):

Linky is a free open source self-hosted URL redirector written in PHP. It's very flexible, customizable and feature rich.

9. (Free): is a free open source web-based URL shortener written in Python. It's very flexible but lacks some basic functionality.

10. (Free): is a free URL shortening service provided by Bitly Inc. It provides API access as well.

11. (Free):

ShortIn is a free open source online URL shortener developed in Java. It's very flexible.

12. (Free):

ShortMe is a free open source tool that lets you create your own URL shortening site. It's written in Perl and requires no installation.

13. (Free): is a free open source platform that enables you to easily create your own URL shortener. It's written in Ruby on Rails.

14. (Free):

ShortW.S is a free open source

The currently available URL shorteners can be limiting. That's why I built my own–here I show you how!

15. (Free): is a free open source WordPress plugin that lets you shorten any link using a list of preconfigured shorteners or your own custom shortener.

16. ShortURL (Free):

A free open source URL shortening service written in PHP. It stores URLs in a MySQL database.

17. (Free): is a free open source website that lets you create your very own URL shortening service. It's written in ASP.NET MVC.

18. Shortify (Free):

Shortify is a free open source project that allows you to create your own URL shortner. It's written in PHP.

19. (Free): A free open source URL shortner written in PHP. It doesn't require registration.

20. (Free): is a free open source service that lets you create your URL shortening service. The code is written in PHP.

21. (Free): is a free open source shortening service that works like It's written in C++.

22. (Free): is a free open source site that lets you create your personal URL shortening service.

23. (Free): is a free open source url shortener written in PHP and MySQL. It has a RESTful API.

24. (Free): is a free open source php url shortener which supports multiple languages