Business Software · Marketing & Customer Engagement
Dub Links
Short links, attribution, and campaign analytics for teams
Dub Links is the link-management and attribution portion of Dub, covering short links, custom domains, redirects, and conversion analytics. The shared repository is predominantly AGPLv3, with an enterprise directory under a commercial license. Hosted Dub includes Links in Business plans from $90 per month, while self-hosting requires several external services.
Key facts
- License
- AGPLv3 for core; commercial license for /ee Enterprise Edition
- Main language
- TypeScript, JavaScript
- Maintainer
- Dub Technologies, Inc.
- First released
- 2022
- Latest release
- No tagged GitHub releases, checked October 22, 2026
- GitHub stars
- About 24,916, checked October 2026
- Hosted option
- Business $90/month; Advanced $300/month; Enterprise custom
What Dub Links is
Dub Links is the short-link and attribution product created by Steven Tey. Dub began as an open-source Bitly alternative while he worked at Vercel, and he later founded Dub Technologies. The repository dates to 2022, and GitHub lists about 24,916 stars and 3,335 forks at the time checked. Its README states that Dub handles more than 100 million clicks and 2 million links monthly, and names Twilio, Buffer, Framer, Perplexity, Vercel, and Laravel among its users. Dub Technologies is backed by OSS Capital and other investors. TechCrunch reported a $2 million founding seed in January 2025. These details describe the company and project history, not a promise of current service capacity or availability.
How it works
Links provides branded short URLs, custom domains, redirect controls, QR codes, UTM templates, deep links, link cloaking, expiration, password protection, device and geographic targeting, and A/B testing. A typical workflow creates a workspace and domain, generates a short link, adds campaign parameters, and shares it through a channel. Dub records clicks and conversion events, exposing analytics by geography, device, browser, referrer, and campaign. The API and webhooks support application integrations. Links can sit beside Dub Partners, but Links remains the URL and attribution product rather than the partner payout product. The pricing page lists separate Links, Partners, analytics, domain, API, workspace, and support capabilities.
Architecture and recent releases
The shared application is a Turborepo monorepo built with Next.js, TypeScript, Tailwind, Prisma, Upstash Redis, Tinybird analytics, PlanetScale-compatible MySQL, NextAuth, Stripe, Resend, and Vercel. Its README recommends Node 23.11.0 and pnpm 9.15.9, identifying the expected runtime and package manager versions for local development. GitHub's releases page reports no releases, so self-hosting tracks the moving repository instead of versioned binary packages. The official guide requires Tinybird ClickHouse analytics, Upstash Redis, PlanetScale-compatible MySQL, S3-compatible object storage, GitHub OAuth, and Vercel, covering analytics, caching, database storage, files, authentication, and deployment. Cloudflare or AWS may be involved in deployment and storage, depending on the operator's selected services and configuration.
License and pricing
Dub uses an open-core licensing model. Files outside the identified enterprise directories are AGPLv3, while apps/web/app/(ee) and the enterprise dashboard path use the commercial license in ee/LICENSE.md. AGPLv3 permits commercial deployment of covered code, subject to its copyleft conditions, including obligations for modified network software. Hosted Dub pricing lists Business at $90 per month, Advanced at $300 per month, and Enterprise with custom annual billing. Links includes 10,000 new links monthly on Business, 50,000 on Advanced, and unlimited on Enterprise. Custom domains, analytics, and API access are listed across these tiers. Enterprise code is not made AGPLv3 by self-hosting the core.
Limitations and how it compares
The principal self-hosting drawback is dependency count: the official guide says Docker is not supported and requires multiple managed services. Bitly is easier for buyers seeking a mature proprietary hosted service, while YOURLS offers a smaller PHP-based self-hosted URL shortener and Shlink focuses on self-hosted link management. Dub Links suits teams wanting modern attribution, custom domains, and a hosted workflow, or engineering groups willing to operate its external-service stack. Review enterprise paths before redistributing modified hosted code, and do not treat the absence of tagged releases as a stable release channel. Pricing intervals and quotas should be checked against current documentation before purchase.
Main features
- Branded short links. Create short URLs on custom domains with redirects, previews, expiration, and access controls.
- Conversion attribution. Measure clicks and conversion events across campaigns, links, domains, and referrers.
- Campaign tooling. Use UTM templates, QR codes, deep links, cloaking, and A/B testing in one workspace.
- Targeted redirects. Target visitors by device or geography and route them through configurable redirect rules.
- Developer API. Integrate link creation, domains, analytics, and event webhooks into applications.
- Workspace controls. Manage tags, folders, users, permissions, custom domains, and SSL certificates.
Self-hosting Dub Links
Dub Links shares the Dub monorepo, and the official self-hosting guide is not a Docker deployment. The documented stack requires pnpm, a GitHub account and OAuth app, Tinybird for ClickHouse event analytics, Upstash Redis for link metadata and redirects, PlanetScale-compatible MySQL for users and link metadata, S3-compatible storage such as Cloudflare R2 for assets, and Vercel for the Next.js deployment. A local MySQL simulator supports development, and Railway MySQL is listed as a cheaper PlanetScale alternative. No minimum hardware specification, Helm chart, binary release, or tagged release appears in the checked material. Operators must manage upgrades, migrations, backups, secrets, and service contracts.
Strengths
- The hosted product combines branded links with conversion analytics and campaign controls.
- The core repository is AGPLv3 and can be modified under its copyleft terms.
- The API, webhooks, and custom domains fit application-led attribution workflows.
- The product supports QR codes, deep links, targeting, and A/B testing in one workspace.
Drawbacks
- The official self-hosting guide says Docker is not supported.
- Self-hosting depends on Tinybird, Upstash, MySQL, object storage, and Vercel.
- The repository has no tagged GitHub releases and separates enterprise code under a commercial license.
What teams replace with it
Teams usually evaluate Dub Links when they want to move off Bitly, Rebrandly, Branch.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Dub Links
- YOURLS
- Shlink
- Kutt
- Polr
- Dub Partners
Frequently asked questions
Is Dub Links free?
The core repository is available under AGPLv3, but running it requires infrastructure and several external services. Hosted Dub packages Links in paid plans: Business costs $90 monthly, Advanced costs $300 monthly, and Enterprise uses custom annual billing. The hosted plans include quotas for new links, tracked events, domains, users, and API requests. Current quotas should be confirmed on the pricing page.
Can I commercially self-host Dub Links?
AGPLv3 permits commercial use of covered core code when its conditions are followed, including source availability obligations for modified network software. The repository separately identifies enterprise directories under a commercial license. The README uses noncommercial wording, but that wording does not override the LICENSE file. A commercial alternative is available for enterprise code, and organizations should not serve /ee code under AGPL assumptions.
What does self-hosting require?
The official guide requires Tinybird, Upstash, a PlanetScale-compatible MySQL database, GitHub OAuth, S3-compatible object storage, and Vercel. It recommends Node 23.11.0 and pnpm 9.15.9. Docker is currently unsupported, and the project publishes no minimum CPU or memory requirement. Operators must also handle service credentials, migrations, backups, and ongoing dependency changes.
How does Dub Links compare with Bitly?
Dub Links offers an open-core repository, self-hosting, custom domains, attribution analytics, and developer APIs. Bitly is a proprietary managed service with less operational burden for customers. Dub fits teams needing source access or integrated developer workflows, while Bitly suits buyers prioritizing a conventional hosted vendor. Dub Links and Dub Partners share code, but Partners includes commercial components that differ from the Links product.
Does Dub Links protect analytics data?
Self-hosting can place application data and assets under an operator's control, but the documented deployment still relies on external analytics, cache, database, storage, and hosting services. Hosted customers should review Dub's security and retention terms. Privacy depends on configuration, provider contracts, access controls, and the data sent in conversion events. The pricing page lists analytics retention of three years for Business and five years for Advanced.
Similar projects to compare
- ShlinkMITShlink is a PHP-based, self-hosted URL shortener for individuals and teams serving links under their own domains. It is released under the MIT license, with REST and command-line interfaces plus an official web client. The project text documents self-hosting and web-client access, but no hosted pricing.
- KuttMITKutt is a self hosted URL shortener for individuals and teams seeking custom domains, link controls, private statistics, user administration, and API access. It runs on Node.js with SQLite, PostgreSQL, MySQL, MariaDB, and optional Redis, uses the MIT License, and supports direct or Docker Compose deployment. Operators manage installations themselves, while Kutt.to offers hosted premium accounts.
- Dub PartnersAGPLv3 for core repository; commercial license for /ee Enterprise EditionDub Partners is Dub's hosted affiliate and referral-program product for SaaS companies, creators, influencers, and customer referrals.
- Billion MailAGPL-3.0BillionMail is an AGPL-3.0 mail server, newsletter, and email marketing platform for operators who want to run delivery, contacts, and analytics themselves. The core software is free to download and no hosted SaaS plan is documented. Optional deployment support is listed at $98.9 or $49.9 per instance on its support page.
- Brace.toMITBrace.to is an MIT-licensed bookmark manager for encrypted link storage across web, Android, and iOS. Its client is open source, and a hosted service exists at brace.to. The project uses Stacks-based accounts and lets users choose a data server, while optional features cost about $4.99 per year.
- ChaskiqAGPL-3.0 with Commons Clause; commercial license availableChaskiq is a self-hostable live chat, support, and marketing platform for teams replacing Intercom-style tooling. Its core software combines AGPL-3.0 with Commons Clause terms, while a commercial license is available for proprietary applications. Hosted SaaS and paid installation support are offered.
Sources
- Dub GitHub README
- Dub license
- Dub releases page
- Dub self-hosting guide
- Dub pricing
- Dub introduction and founder history
Last updated 2026-10-22.