
Dub
Dub is an AGPL-3.0 core link management platform for short links, branded domains, QR codes, analytics, and attribution. It replaces Bitly or Rebrandly for startups and marketing teams that want a mod
Replaces —

Who it's for
Dub gives marketers branded links, analytics, QR codes, and attribution in one place.
Skip if you only need a handful of permanent redirects.
The API and open codebase make Dub useful when link creation belongs inside another workflow.
Skip if your team cannot maintain a web app and database for link infrastructure.
The problem
Link shorteners start as convenience tools, then become marketing infrastructure. Campaign links need branded domains, UTM consistency, QR codes, click analytics, team permissions, and API access. When those workflows sit in a proprietary short-link service, teams can lose control over redirects and historical attribution. The risk is not only cost. A broken or locked account can affect every link in ads, emails, social profiles, and printed materials. Teams with serious campaign operations need ownership over the redirect layer.
How it works
Dub supports custom domains so teams can keep campaign links on their own brand instead of a generic shortener domain.
The platform tracks link performance so marketers can see which campaigns, channels, and destinations drive traffic.
Dub includes QR code support for campaigns that cross from offline material to tracked digital destinations.
The project exposes an API for creating and managing links from product workflows, scripts, and internal tools.
Features
- Branded short links
- Click analytics
- QR code workflows
- Developer API
Recommended for this setup
Strengths
- Modern growth-team workflow: Dub combines short links, analytics, QR codes, and attribution in one interface instead of treating shortening as a tiny utility.
- Self-hostable open source base: The AGPL-3.0 core codebase gives technical teams more control than proprietary-only tools such as Bitly, while enterprise paths should be checked separately.
Trade-offs
- Not just a static redirect file: Running Dub means maintaining an application, database, domain configuration, and analytics data rather than serving a simple redirect map.
- Marketing features may exceed simple needs: Personal projects that only need a few redirects can use DNS, server redirects, or a static link page instead.
Tech stack
FAQ
Yes. Dub publishes most of its code under AGPL-3.0, with enterprise directories licensed separately.
Dub can replace Bitly for branded short links, analytics, QR codes, and team link management. Bitly remains simpler if you want a fully managed enterprise short-link vendor.
Dub has a self-hostable codebase, but production use requires normal web app infrastructure such as database, domain, and environment configuration.