Referral Link Generator — Custom Invite & Referral URLs

Create a referral link by appending a unique code to any URL. Use it for product invites, partner programs, give-$10-get-$10 campaigns, and word-of-mouth growth.

Generated link
Output will appear here

What the Referral Link Generator does

A referral link appends a unique member code to a signup or product URL, letting your system credit rewards to the person who shared it.

Methodology and formula

The tool parses the base URL and sets the chosen parameter to the referral code, e.g. `https://yourapp.com/signup?ref=alex42`.

Worked example

Inputs
Base URL: https://yourapp.com/signup, Parameter: ref, Code: alex42
Result
https://yourapp.com/signup?ref=alex42

Alex shares the link; every signup from it is attributed to Alex for the referral reward.

When to use this tool

Use referral links for user invite programs. Use affiliate links for external publisher commissions and short links for clean sharing.

About the Referral Link Generator

A real example

A meal-kit service gives each subscriber example.com/join?ref=DANA24, and both sides get $10 off when someone signs up through it.

How referral tracking works

When a visitor clicks the link, your landing page reads the referral parameter and stores it in localStorage or a cookie. On signup or purchase, the code is attributed to the referrer and any reward is applied.

Parameter naming conventions

`ref` is the most common parameter name, but `via`, `invited_by`, `referrer`, and `s` are also widely used. Choose one and stick with it across your product so attribution remains consistent.

Referral vs. affiliate links

Referral links reward existing users for inviting friends. Affiliate links reward external publishers for driving sales. The generator can create both because the underlying mechanism is the same: a tagged URL.

Frequently asked questions

How do I track the referrer?

Capture the ref parameter on landing, persist it in localStorage or a cookie, and attribute it on signup.

Can I use letters and numbers?

Yes — most teams use short alphanumeric codes for readability.

Do I need a separate URL per friend?

Yes — each user gets a unique code so credit attaches to them.

Can I shorten the link?

Yes — pair the referral URL with the short link generator for SMS and social bios.

Related Link Generators

Other free link generators in the hub.