On this page
- What this generator does and why friction-free chat converts
- Anatomy of a wa.me URI, legacy links, and RFC 3986 percent-encoding
- ITU-T E.164 phone number formatting across African and global networks
- Writing pre-filled greetings and managing the QR byte budget
- Designing, sizing, and testing printable WhatsApp QR codes
- Three worked examples: shopfront flyer, product button, and invoice QR
- Campaign attribution, lead tracking, and WhatsApp Business workflows
- Embedding your WhatsApp link in HTML websites and email signatures
- Privacy, consent, and public messaging safety
- Troubleshooting broken WhatsApp links and un-scannable QR codes
- Where this tool stops and when to use dynamic redirects
- Sources and technical specifications
What this generator does and why friction-free chat converts
This utility builds an official WhatsApp click-to-chat URL in the https://wa.me/ format from a country calling code and local subscriber number, percent-encodes an optional pre-filled greeting, and renders a crisp, printable QR code directly onto an HTML5 <canvas> element. Once generated, you can test the conversation immediately with Click to chat, copy the formatted URL for digital buttons, or save a high-contrast PNG barcode via Download QR. Every step executes inside your browser tab with zero server uploads and zero database storage.
In everyday commerce across Ghana, Nigeria, Kenya, South Africa, the United Kingdom, the UAE, and dozens of other markets, asking a prospective customer to type a ten-digit phone number manually, save a new contact to their phone's address book, open WhatsApp, refresh their contact list, and compose an opening message introduces five separate drop-off points. A direct wa.me link or printed QR code collapses all five steps into a single tap or camera scan.
Just as importantly, click-to-chat links preserve full user control. Tapping the link or scanning the QR code opens a draft conversation with your number and places your optional greeting into the visitor's compose field, but nothing is transmitted until the visitor consciously presses Send inside their own WhatsApp app. The link cannot read the visitor's phone number, inspect their contact book, or view prior chat history.
If you press the optional Get AI insight button below the link checks, only anonymous structural metadata leaves your browser: country code digit length, subscriber digit count, whether a greeting is present, greeting character count, final URL length, and QR version number. Neither your phone number nor your message text is ever sent over the network.
Anatomy of a wa.me URI, legacy links, and RFC 3986 percent-encoding
WhatsApp supports a clean, short HTTPS URI structure governed by two internet standards: ITU-T Recommendation E.164 for international telephone routing and IETF RFC 3986 for query-string percent-encoding. Every link generated on this page assembles up to five exact components:
| URI segment | Example value | Technical rule |
|---|---|---|
| HTTPS scheme and host | https://wa.me/ | Official short domain owned by WhatsApp; triggers Universal Links on iOS and App Links on Android. |
| E.164 digits | 233241234567 | Country code plus national significant number; strip +, leading 00, trunk 0, spaces, and hyphens. |
| Query delimiter | ? | Included only when a pre-filled greeting is attached. |
| Parameter key | text= | Must be lowercase text; WhatsApp ignores uppercase TEXT= or custom tracking keys on handoff. |
| Encoded greeting | Hello%2C%20Order%20%2342 | UTF-8 characters encoded via encodeURIComponent so spaces, commas, hashes, and line breaks survive intact. |
wa.me click-to-chat URI. Combining pure E.164 digits in the path with RFC 3986 percent-encoded UTF-8 text in the query string guarantees identical routing across Android, iOS, and desktop browsers.Why https://wa.me/ outperforms api.whatsapp.com and whatsapp://
You will occasionally encounter two older link patterns online: https://api.whatsapp.com/send?phone=233241234567&text=... and the custom app protocol whatsapp://send?phone=233241234567. While wa.me actually redirects under the hood to WhatsApp's API handler when needed, https://wa.me/ is roughly 22 characters shorter — which directly reduces QR code module density and makes printed codes easier to scan. Meanwhile, raw whatsapp:// deep links fail completely with an ugly browser error on desktop computers or tablets that do not have the native app installed, whereas https://wa.me/ gracefully offers WhatsApp Web.
Why manual URLs break without percent-encoding
Builders who type WhatsApp links by hand in HTML or spreadsheets often write something like https://wa.me/2348031234567?text=Hi, checking stock for #104 & delivery. Under RFC 3986 URI parsing rules, an unencoded hash symbol (#) marks a client-side page anchor, causing the browser to strip #104 & delivery before WhatsApp ever sees it, while an unencoded ampersand (&) terminates the text parameter early. Passing your text through this generator encodes spaces to %20, line breaks to %0A, hashes to %23, ampersands to %26, and question marks to %3F automatically.
ITU-T E.164 phone number formatting across African and global networks
The number one cause of dead WhatsApp links is leaving a domestic trunk prefix inside an international link. In domestic telephone dialing plans, a leading 0 tells your local mobile carrier to route the call inside the same country (for example, 024 in Ghana, 0803 in Nigeria, 0712 in Kenya, or 082 in South Africa). Under ITU-T Recommendation E.164, international numbers drop that domestic trunk 0 completely, prepend the 1-to-3-digit country calling code, and cap total length at 15 digits.
wa.me E.164 digit strings. Dropping the national trunk zero and non-numeric punctuation prevents invalid-number errors when visitors tap your link from abroad or locally.Use the country formatting table below to verify the expected subscriber digit count after the country code for every preset included in this tool:
| Country / Region | Calling code | Typical local format | Digits after country code | Valid wa.me path |
|---|---|---|---|---|
| Ghana | +233 | 024 123 4567 | 9 digits (drop 0) | wa.me/233241234567 |
| Nigeria | +234 | 0803 123 4567 | 10 digits (drop 0) | wa.me/2348031234567 |
| Kenya | +254 | 0712 345 678 or 0110... | 9 digits (drop 0) | wa.me/254712345678 |
| South Africa | +27 | 082 123 4567 | 9 digits (drop 0) | wa.me/27821234567 |
| Uganda | +256 | 0772 123 456 | 9 digits (drop 0) | wa.me/256772123456 |
| Tanzania | +255 | 0754 123 456 | 9 digits (drop 0) | wa.me/255754123456 |
| Zambia | +260 | 097 123 4567 | 9 digits (drop 0) | wa.me/260971234567 |
| United States / Canada | +1 | (415) 555-0132 | 10 digits (no trunk 0) | wa.me/14155550132 |
| United Kingdom | +44 | 07700 900123 | 10 digits (drop 0) | wa.me/447700900123 |
| India | +91 | 098765 43210 | 10 digits (drop optional 0) | wa.me/919876543210 |
| United Arab Emirates | +971 | 050 123 4567 | 9 digits (drop 0) | wa.me/971501234567 |
| Australia | +61 | 0412 345 678 | 9 digits (drop 0) | wa.me/61412345678 |
| Germany | +49 | 01512 3456789 | 10 to 11 digits (drop 0) | wa.me/4915123456789 |
| France | +33 | 06 12 34 56 78 | 9 digits (drop 0) | wa.me/33612345678 |
Watch out for doubled country codes: While this generator automatically removes spaces, parentheses, hyphens, and a single leading zero on non-+1 numbers, pasting a full international number such as +233 24 123 4567 into the Local phone number box while Ghana +233 is also selected in the dropdown will produce 233233241234567. Always enter only the local subscriber digits in the right-hand input box and inspect the Full number readout card before publishing.
Writing pre-filled greetings and managing the QR byte budget
A well-written pre-filled greeting removes writer's block for your customer while telling your team what the inquiry is about at a glance. Effective greetings share three traits: they state the topic in plain conversational language, leave room for the customer to add one specific detail (such as size, date, or order number), and stay concise enough to scan quickly.
- Retail and e-commerce product pages:
Hello, is the Ankara Midi Dress still available in size M? - Service quotes and B2B inquiries:
Hello, I would like a quote for commercial solar installation. - Restaurants, cafes, and catering:
Hello, I would like to reserve a table for 4 this Friday evening. - Customer support and order follow-up:
Hello, I need help with my recent order #(ending with#prompts the buyer to type their order digits right at the cursor). - WhatsApp text emphasis: You can include native WhatsApp inline formatting inside your greeting — wrapping a word in single asterisks (
*urgent*) renders bold inside the recipient's chat bubble, underscores (_model_) render italic, and single tildes (~old~) render strikethrough.
How URL percent-encoding affects the built-in QR code encoder
Notice an important engineering relationship between your greeting length and the QR code canvas on this page. To guarantee that downloaded PNG codes remain sparse, sharp, and readable even when printed at 2.5 cm on a business card or scanned by older entry-level phone cameras, the built-in local encoder generates ISO/IEC 18004 Versions 1 through 7 (from 21x21 up to 45x45 modules) with Reed-Solomon Error Correction, capping total encoded URL length at 124 UTF-8 bytes.
Because percent-encoding expands every space into three characters (%20 = 3 bytes), every comma into %2C (3 bytes), and every line break into %0A (3 bytes), the byte math works like this:
If you only need a clickable text link for a website button or Instagram bio, longer greetings work fine as URLs — though keeping any greeting under 150 characters still improves reply rates. For printed QR codes on flyers, menus, and packaging, aim for 35 to 65 plain characters so the entire URL stays well inside the 124-byte ceiling and renders at Version 4, 5, or 6. (If you ever need to encode a much longer URL payload up to Version 40, generate the link here, copy it, and paste it into AfriWidget's full-capacity QR Code Generator.)
Designing, sizing, and testing printable WhatsApp QR codes
A QR code that scans instantaneously on a bright laptop monitor can fail completely on a printed restaurant menu, delivery box, or shopfront vinyl decal if its module size, quiet zone, contrast, or surface finish violates optical scanning tolerances.
Before exporting artwork to a commercial printer, match your placement surface against these practical print specifications:
| Print medium / placement | Typical scan distance | Minimum QR width (incl. quiet zone) | Material and layout advice |
|---|---|---|---|
| Business card or swing tag | 15 to 25 cm | 2.0 to 2.5 cm (0.8 to 1.0 in) | Keep greeting short (v3–v5) so individual black squares stay wider than 0.4 mm. |
| Product box, jar label, or invoice | 25 to 35 cm | 2.8 to 3.5 cm (1.1 to 1.4 in) | Place on a flat panel rather than wrapping around a tight cylindrical bottle curve. |
| Restaurant menu or table tent | 35 to 50 cm | 4.0 to 5.0 cm (1.6 to 2.0 in) | Use matte lamination instead of high-gloss plastic sleeves that reflect overhead bulbs. |
| Checkout counter A4/A5 stand | 60 to 90 cm | 6.5 to 9.0 cm (2.5 to 3.5 in) | Add a clear callout caption: Scan with camera to chat on WhatsApp. |
| Shopfront window or glass door | 1.2 to 2.0 m | 12 to 20 cm (4.7 to 7.9 in) | Print on opaque white vinyl backing — never transparent decal film over dark glass. |
| Event banner or delivery vehicle | 3.0 to 5.0 m | 30 to 50 cm (12 to 20 in) | Place on stationary panels away from door seams, rivets, and wheel-arch mud splash. |
- Never crop the white quiet zone: When you click Download QR on this page, the PNG automatically includes the mandatory 4-module pure white margin around all four sides. If you place that PNG onto a yellow, black, or photographic flyer background in Canva, Illustrator, or InDesign, leave the white border intact.
- Keep dark modules on a light background: Standard camera decoders expect dark foreground modules (
#000000) against a light reflectance background (#FFFFFF) with at least a 4:1 contrast ratio. Inverted codes (white squares on a black card) fail on many older smartphone scanner libraries. - Print a 100%-scale paper proof first: Always print one test sheet at actual size and scan it with both an iPhone camera and an Android camera under indoor evening lighting before approving a bulk print run.
Three worked examples: shopfront flyer, product button, and invoice QR
These three end-to-end scenarios illustrate how phone normalization, percent-encoding, and QR version selection work together in practice.
Turning an Accra local mobile number into a compact Version 5 print QR code
A tailoring studio in Osu wants customers walking past its window to book fittings on WhatsApp using local number 024 123 4567:
Because 86 bytes fits comfortably inside QR Version 5, the studio prints the downloaded PNG at 14 cm × 14 cm on an opaque white window decal with the phone number +233 24 123 4567 printed underneath for passers-by without camera access.
Adding a SKU-specific pre-filled inquiry link to an online store listing
An electronics seller in Lagos with local WhatsApp Business number 0803 123 4567 wants buyers viewing a 5kVA inverter page to tap once and send the exact model code:
Notice how the ampersand (&) and square brackets around [SKU-INV5] are percent-encoded to %26, %5B, and %5D so the sales agent immediately sees which product page generated the chat.
Placing a quick payment-confirmation QR on PDF or printed client invoices
A Nairobi design agency using local number 0712 345 678 pairs its billing workflow (built in the Invoice & Receipt Generator) with a compact accounts-receivable WhatsApp QR code:
Ending the greeting with an encoded hash (%23) places the client's cursor right after Invoice # so they can type 1048, attach their M-Pesa or bank confirmation screenshot, and press Send in seconds.
Campaign attribution, lead tracking, and WhatsApp Business workflows
Digital marketers accustomed to appending ?utm_source=instagram&utm_medium=bio to landing-page URLs often discover a blind spot with WhatsApp: https://wa.me/ is an external redirect domain that does not run your Google Analytics script and does not pass custom UTM parameters into the chat conversation. Without an attribution plan, every lead from your website header, Instagram bio, TikTok profile, and printed packaging lands in the same inbox looking identical.
[WEB-PD], [PKG-QR], or [IG-BIO] lets sales and support teams measure campaign ROI directly inside WhatsApp Business.- Method 1 — Channel reference tags inside the greeting: Create a separate link on this page for each placement and end the greeting with a short bracketed code — such as
[WEB]for your website contact button,[IG]for Instagram, and[FLYER-NOV]for a printed handout. Even when customers add their own question afterward, most leave the short tag intact, allowing you to search or apply colored labels inside the WhatsApp Business app at the end of each week. - Method 2 — Own-domain 302 redirect slugs for print longevity: Before printing 5,000 product cartons or permanent metal signage, consider creating a clean URL on your own website (for example,
https://yourdomain.com/whatsapp) that logs the server hit and issues an HTTP302redirect to thehttps://wa.me/...link you generated here. That setup gives you exact scan counts AND lets you update your destination WhatsApp phone number years later by editing one redirect rule on your website without reprinting a single box. - Choosing the right WhatsApp account tier: Standard WhatsApp Messenger works for solo freelancers, while the free WhatsApp Business App adds a verified business profile, operating hours, automated away messages, quick-reply shortcuts (
/pricing,/location), product catalogs, and linked-device access for up to four companion devices. High-volume teams needing ten or more concurrent support agents, CRM webhooks, and automated ticket routing should pair their public number with the official WhatsApp Business Platform (Cloud API).
Embedding your WhatsApp link in HTML websites and email signatures
Once you copy your generated wa.me URL, you can embed it anywhere standard hyperlinks are accepted without loading third-party JavaScript widgets that slow down your Core Web Vitals or inject tracking cookies.
To add a clean, keyboard-accessible button to a custom HTML page, Shopify Liquid template, or WordPress Custom HTML block, paste your URL into the href attribute below:
Three small details in that snippet improve usability and accessibility under W3C WCAG 2.2: including rel="noopener noreferrer" prevents reverse-tabnabbing when opening a new tab; displaying the human-readable phone number in the label gives desktop visitors who do not use WhatsApp Web an immediate fallback number they can dial from their handset; and keeping your button's CSS padding at least 44px tall satisfies touch-target ergonomics on mobile screens.
Privacy, consent, and public messaging safety
Publishing a click-to-chat link makes initiating contact effortless, which means both your team's number and your pre-filled text become public internet artifacts:
- Never embed confidential data in pre-filled URLs: Anyone who views your HTML source, inspects browser history, or scans a public poster sees the exact query string. Never pre-fill passwords, one-time verification codes, national ID numbers, medical symptoms, home delivery coordinates, or payment card details inside the
?text=parameter. - Obtain line-owner consent and separate work from personal SIMs: Publishing a staff member's personal mobile number on a high-traffic website exposes them to late-night messages and automated scrapers. Register a dedicated business SIM or eSIM on the WhatsApp Business app with configured quiet hours and an automated after-hours reply.
- Respect WhatsApp Business Messaging Policy: When a customer messages you first via a click-to-chat link, they open a user-initiated service conversation. Do not harvest those numbers into unsolicited bulk promotional broadcasts unless the customer explicitly opts in to marketing updates, as high block-and-report rates can get a business number restricted by WhatsApp.
Troubleshooting broken WhatsApp links and un-scannable QR codes
If your link or printed barcode misbehaves during testing, match the symptom to the root cause below:
| Observed issue | Root cause | Exact fix |
|---|---|---|
| WhatsApp displays "Phone number shared via url is invalid" | Retained trunk 0, doubled country code, missing digit, or number not activated on WhatsApp. | Verify expected digit count in Section 3, remove duplicate country digits, and confirm the SIM has an active WhatsApp account. |
| Pre-filled message cuts off mid-sentence | Link was edited manually after copying, introducing a raw # or & character. | Type the full greeting inside the generator's Pre-filled message box so encodeURIComponent encodes reserved symbols. |
| Generator says "The link is too long for the built-in QR encoder" | Total encoded URL exceeds 124 UTF-8 bytes (Version 7 ceiling), often due to many spaces (%20) or emojis (12 encoded bytes each). | Trim the greeting to ~40–65 plain ASCII characters for crisp print scanning, or paste the copied URL into the full QR Code Generator. |
| Desktop click stops on a WhatsApp Web login screen | The visitor has neither the WhatsApp Desktop app installed nor an active session in that browser. | Expected desktop security behavior; display your formatted phone number next to website buttons so desktop users can also scan from mobile. |
| Link inside Instagram or TikTok bio fails to open app | Some in-app webviews block external app handoff redirects on older OS versions. | Always use the official https://wa.me/ link (never whatsapp://), which serves WhatsApp's official "Continue to Chat" fallback button. |
| Printed QR scans on screen but fails on paper | Printed smaller than 2 cm, cropped white quiet zone, inverted colors, or glossy glare. | Re-export the uncropped PNG with its 4-module white border, print black-on-white at 10:1 distance scale, and use matte stock. |
Where this tool stops and when to use dynamic redirects
This generator constructs standards-compliant wa.me URLs and static ISO/IEC 18004 QR codes locally from the digits and greeting you supply. Because it operates entirely offline inside your browser without calling Meta or telecom lookup APIs, it cannot verify whether a phone number is currently registered on WhatsApp, whether the SIM card is switched on, or whether the number belongs to the business you intend. Always click Click to chat and send one real test message from a second phone before publishing a link or approving a print run.
Likewise, the PNG barcode downloaded here encodes your wa.me URL directly into the black-and-white modules (a static QR code). It never expires and never depends on a paid QR subscription service staying solvent — which is ideal for reliability — but its destination number cannot be edited after printing unless you route the QR through a redirect URL on your own web domain. Legal compliance with local telecommunications, consumer privacy, and WhatsApp Business policies remains the responsibility of the person or organization operating the destination inbox.
Sources and technical specifications
- WhatsApp Help Center. How to use click to chat (official wa.me URI format). faq.whatsapp.com
- Meta / WhatsApp Business. WhatsApp Business Messaging Policy & Opt-In Requirements. business.whatsapp.com/policy
- International Telecommunication Union (ITU-T). Recommendation E.164 — The international public telecommunication numbering plan. itu.int/rec/T-REC-E.164
- International Organization for Standardization. ISO/IEC 18004 — Information technology: Automatic identification and data capture techniques — QR Code bar code symbology specification. iso.org/standard/62021.html
- Berners-Lee, T., Fielding, R., & Masinter, L. (2005). IETF RFC 3986 — Uniform Resource Identifier (URI): Generic Syntax and Percent-Encoding. rfc-editor.org/rfc/rfc3986
- WHATWG. HTML Living Standard — The 2D canvas element and PNG serialization. html.spec.whatwg.org
- W3C (2023). Web Content Accessibility Guidelines (WCAG) 2.2 — Link Purpose (2.4.4) and Target Size Minimum (2.5.8). w3.org/TR/WCAG22