
Canonical Tag Generator
Generate valid HTML <link rel="canonical"> tags and HTTP Link headers from any URL, with UTM parameter stripping and trailing-slash control.
Open toolEnter your international WhatsApp phone number and optional pre-filled message in the WhatsApp Link Generator below to build an official wa.me click-to-chat URL and HTML snippet.
Enter the inputs, then select Generate WhatsApp Link.
Result will appear here
The WhatsApp Link Generator strips all non-numeric characters (plus signs, leading zeros in '00' prefixes, spaces, and hyphens) from your phone number, validates that the digit count falls between 7 and 15 digits (ITU-T E.164), and URL-encodes your message.
wa.me URL = https://wa.me/<E164_digits>?text=<encodeURIComponent(message)>.
Also outputs the equivalent https://api.whatsapp.com/send?phone=<digits>&text=<encoded> URL and a ready-to-embed HTML anchor tag with rel="noopener noreferrer".
Review the input parameters, allowed value ranges, and worked reference cases for the WhatsApp Link Generator below before running your calculation.
| Parameter / Scenario | Default / Sample Value | Rule or Allowed Range | Output / Usage Note |
|---|---|---|---|
| Input: WhatsApp phone number (with country code) | +1 415 555 0192 | Include your international country code (7 to 15 digits total). Plus signs, spaces, and dashes are stripped automatically. | Required workspace parameter |
| Input: Pre-filled chat message (optional) | Hi! I would like to ask about Ord... | Optional text that automatically populates the visitor's WhatsApp message box. | Required workspace parameter |
| Input: Endpoint format | wa_me | Options: Short link (https://wa.me/...), API endpoint (https://api.whatsapp.com/send?phone=...) | Required workspace parameter |
| Input: HTML link anchor text | Chat with us on WhatsApp | Label used when generating the ready-to-paste HTML <a> tag. | Required workspace parameter |
| Worked Case 1: Order inquiry link (+1 415 555 0192 with '#1042') | Preloaded / test values | CleanPhone = digitsOnly(phone) (7..15 digits); URL = https://wa.me/<CleanPhone>?text=<encodeURIComponent(message)> | Entering '+1 415 555 0192' and 'Hi! I would like to ask about Order #1042.' produces https://wa.me/14155550192?text=Hi!%20I%20would%20like%20to%20ask%20about%20Order%20%231042. (86 characters). |
| Worked Case 2: Phone-only support link (empty message) | Preloaded / test values | CleanPhone = digitsOnly(phone) (7..15 digits); URL = https://wa.me/<CleanPhone>?text=<encodeURIComponent(message)> | Entering '+44 20 7946 0958' with an empty message produces https://wa.me/442079460958, opening a blank chat thread directly with that number. |
Create a direct chat link for landing pages, email signatures, or customer support buttons in three steps.
Type the full WhatsApp Business or personal number including country code (for example, +1 415 555 0192 for the US or +44 20 7946 0958 for the UK).
Enter the default text you want pre-populated in the customer's message box, including order numbers, emojis, or line breaks.
Click Generate WhatsApp Link to copy the wa.me URL, API URL, or HTML link tag.
See how phone formatting and special characters are converted into valid click-to-chat URLs.
Entering '+1 415 555 0192' and 'Hi! I would like to ask about Order #1042.' produces https://wa.me/14155550192?text=Hi!%20I%20would%20like%20to%20ask%20about%20Order%20%231042. (86 characters).
Entering '+44 20 7946 0958' with an empty message produces https://wa.me/442079460958, opening a blank chat thread directly with that number.
When dialing a UK number domestically as 020 7946 0958, omit the leading '0' after adding '+44' so the normalized number is 442079460958.
Choose between the short wa.me link, the API link, and the HTML anchor snippet based on where you publish it.
The headline result displays your selected URL format. The breakdown cards show the normalized E.164 digit string, total URL character length, encoded message byte length, and the alternate endpoint URL, while the export box provides both URLs and the HTML <a> snippet.
Verify country codes and WhatsApp registration before publishing your link.
The phone number must contain between 7 and 15 digits after stripping punctuation, and cannot start with 0 (unless '00' international prefix is stripped). The tool validates URL syntax locally; it does not check whether the phone number has an active WhatsApp account.

Generate valid HTML <link rel="canonical"> tags and HTTP Link headers from any URL, with UTM parameter stripping and trailing-slash control.
Open tool
Scan HTML for missing or weak <img> alt attributes, flag filename alt text and redundant prefixes, and generate WCAG 1.1.1 compliant fixes.
Open tool
Validate HTTP Access-Control-Allow-* CORS response headers against browser request Origin, Method, Headers, and Credentials mode. Diagnose preflight OPTIONS failures.
Open toolChoose another tool for your next calculation, conversion, or text task.
Parse canonical link elements from HTML and identify resolved URLs, invalid targets and conflicting canonical values.
Open toolCheck WCAG text contrast between two opaque colors.
Open toolExtract href values and link text from pasted HTML and resolve relative links against your supplied base URL.
Open tool
Generate an SMS URL with encoded message text.
Open toolAnswers about using WhatsApp Link Generator and understanding its results.
Include the country code followed by the full national number. You can type spaces, parentheses, hyphens, or a leading '+' in the input field (such as '+1 (415) 555-0192'); the generator strips non-digits to produce the valid '14155550192' path.
Both are official WhatsApp click-to-chat endpoints that open the WhatsApp mobile app or WhatsApp Web. 'https://wa.me/' is shorter and cleaner for social bios, SMS, and QR codes, while 'https://api.whatsapp.com/send' uses explicit query parameters.
The generator encodes special characters using standard UTF-8 percent-encoding (encodeURIComponent), turning spaces into %20, '#' into %23, and line breaks into %0A so the full message arrives intact.
Yes. Leave the pre-filled message box empty and the tool outputs a clean https://wa.me/<digits> URL with no '?text=' query string.
Choose another tool for your next calculation, conversion, or text task.