Live2026

WhatsApp Link Generator

A click-to-chat link with a country picker, a message already typed and a campaign code, plus a QR code and an HTML snippet. Made in the browser, nothing is sent anywhere.

Next.jsTypeScriptTailwind CSS

Most WhatsApp link generators ask for a number with the country code already in it, and quietly produce a dead link when it is missing. This one takes a country and the number as people dial it, adds the country code, removes a leading 0 and does not add the code twice. It adds an optional campaign code to the message, because a wa.me link opens WhatsApp and cannot carry UTM tags. It then gives the link, a QR code to print and an HTML link for a website.

Case study

Problem

A shop prints a poster and runs two ads, all pointing to the same WhatsApp number. A link with the number typed without its country code opens the wrong chat or none, and the owner cannot tell which poster or ad brought which customer.

Approach

Build the link from a chosen country and the number as dialled locally, validate the result, and show the number it will open. Put an optional campaign code into the prefilled message so each chat names its source.

Key decisions

  • No UTM tags. A wa.me link leads to WhatsApp, not to a page that analytics can see, so the tool says so and uses a code in the message instead.
  • No guessing about the country. It is always an explicit choice shown in the form (India by default), and a number that already has its code must start with +.
  • The campaign code can be edited by the sender, so the page calls it a hint, not exact counting.

On measurable results

No usage data yet. This is a self-initiated tool, not a deployed one.

Highlights

  • Fully client-side: the number and message are never uploaded or stored
  • Country picker with the code added for you, a leading 0 removed and a repeated code caught
  • A campaign code goes into the message, since a wa.me link cannot carry UTM tags
  • Shows the exact number the link opens, so a wrong country is caught before sharing
  • Link, QR code (PNG, SVG or print) and an HTML snippet from one form

Open now · reply within 24 hours

Need something like this built?

I take on freelance and contract frontend work, remote, for clients worldwide.

Prefer email? hello@devstash.me

What happens next

  1. 1

    You write

    A few lines on the goal, the deadline and where the traffic comes from.

  2. 2

    I reply within 24 hours

    With questions, or a quote if the scope is already clear.

  3. 3

    We agree the scope

    A written scope and a fixed quote before any work starts.