3 free replacements for Bitly, sorted by GitHub stars. Every one is open source, so you can self-host it or use the free plan.
Set of PHP scripts that will allow you to run Your Own URL Shortener. Features include password protection, URL customization, bookmarklets,…
Modern URL shortener with support for custom domains and custom URLs.
URL shortener with REST API and command line interface. Includes official progressive web application and docker images.