Skip to content
FossShelf
Home / Categories / For Marketers

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 —

25.18K starsAGPL-3.0last commit 27 Oct 2026
Screenshot of Dub

Who it's for

Growth teams managing campaign links

Dub gives marketers branded links, analytics, QR codes, and attribution in one place.

Skip if you only need a handful of permanent redirects.

Developers adding link management to a product

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

Branded short links

Dub supports custom domains so teams can keep campaign links on their own brand instead of a generic shortener domain.

Click analytics

The platform tracks link performance so marketers can see which campaigns, channels, and destinations drive traffic.

QR code workflows

Dub includes QR code support for campaigns that cross from offline material to tracked digital destinations.

Developer API

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

Languages
TypeScript, JavaScript, CSS
Frameworks
Next.js, React, Tailwind CSS
Databases
ClickHouse, MySQL
Tooling
esbuild

FAQ

Is Dub open source?

Yes. Dub publishes most of its code under AGPL-3.0, with enterprise directories licensed separately.

Can Dub replace Bitly?

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.

Can I self-host Dub?

Dub has a self-hostable codebase, but production use requires normal web app infrastructure such as database, domain, and environment configuration.

Similar tools

More in Marketers