WhatsApp QR code generator

People scan and a WhatsApp chat with you opens, with your first message already typed if you want one.

Start with the country code: +1 for the US, +44 for the UK, +92 for Pakistan.

Your code appears here

By QRotto · Updated · 7 min read

A WhatsApp code opens a chat with you, already addressed, so a customer can ask a question without saving your number first. It is a single link, the wa.me link WhatsApp itself documents, and the code holds it directly. Nothing goes through our servers and the code never expires.

The format is simple:

https://wa.me/15551234567

That is the whole thing. The number is written in full international format with no plus sign, no spaces, no dashes and no brackets. This is where almost everyone goes wrong, so it is worth being precise:

Your numberWrongCorrect
US (555) 123 4567wa.me/+1 (555) 123-4567wa.me/15551234567
UK 07700 900123wa.me/07700900123wa.me/447700900123
Pakistan 0300 1234567wa.me/03001234567wa.me/923001234567

Notice the UK and Pakistan rows: the leading zero is dropped and replaced by the country code. Leaving the zero in is the single most common reason a wa.me link opens WhatsApp and then says the number is invalid.

Adding a prefilled message

You can put words in the chat box before the person has typed anything, by adding ?text= to the link:

https://wa.me/15551234567?text=Hi%2C%20I%20saw%20your%20card

The message has to be URL encoded, which means spaces become %20 and commas become %2C. Our URL QR code generator handles the encoding for you, so you can paste the readable version and it will work.

The prefilled text is a default, not a lock. The sender sees it in the box and can edit or delete it before sending.

Making the code

Type your number with the country code in the box above, add a first message if you want one, and the code is drawn as you type. The line under the number shows the exact link inside the code.

  1. Open that link on a computer first. A correct link opens WhatsApp with your chat; a wrong one opens WhatsApp and reports an invalid number.
  2. Scan the code with a phone that is not yours, so it does not open a chat with yourself.
  3. Then print. Make a printable sign under the code takes the code straight into the sign maker.

Test the link before you test the code. If the number is wrong, the QR code will be a perfect copy of a broken link.

How much the message length costs you

A longer prefilled message means more characters in the link, which means a denser code. We generated all three and decoded each one back:

LinkCharactersGrid
Number only2525 x 25
Short message3329 x 29
Longer message9341 x 41

All three scanned. But the 41 x 41 grid packs more modules into the same printed square, so it needs to be printed larger to stay reliable. If the code is going on something small, keep the prefilled message short or drop it entirely. The print sizing guide covers the maths.

Where this actually earns its place

Sorting incoming messages without any software

The prefilled message is a free routing system. Give each printed placement its own opening text:

After a month, the opening lines in your chat list tell you which printed material is actually producing enquiries. No analytics service, no dynamic code subscription.

Business account or personal?

A wa.me link works with both. WhatsApp Business adds things worth having if enquiries become regular: a business profile with opening hours, automated greeting and away messages, quick replies for common questions, and labels for organising chats. The link format does not change, so you can switch later without reprinting anything.

What can go wrong

"The phone number shared via url is invalid"

The number format is wrong. Nearly always a leading zero that should have been replaced by the country code, or a plus sign left in.

The code opens a browser page instead of WhatsApp

That happens when WhatsApp is not installed on the scanning device. The wa.me page offers to install it, which is the correct fallback.

The prefilled message shows as gibberish

Encoding problem. Special characters, accents and emoji need proper URL encoding. Generate the code from the readable text and let the tool encode it.

It works on my phone but not others

Test on a phone that does not have you saved as a contact and has never chatted with you. Your own device behaves differently.

A note on privacy

A printed wa.me code publishes your phone number to anyone who scans it, and the number is readable in the code's contents even without opening WhatsApp. That is fine for a business line. Think twice before printing a personal number on anything public, and consider a separate business number if enquiries grow.

Nothing you type into our generator reaches a server, the code is built in your browser, but that only protects the generation step. Once printed, the number is public.

Other codes worth having alongside

Businesses that print a WhatsApp code usually want one or two more: a vCard code so people can save your full details, a WiFi code if you have a premises, and a review code at the counter. If you prefer SMS to WhatsApp, the SMS generator does the same job through the built in messaging app.

Common questions

Do I need WhatsApp Business for a wa.me link?

No. A wa.me link works with a normal WhatsApp account. Business adds a profile, opening hours and automated replies, which become useful once enquiries are regular, and the link format does not change if you switch later.

Why does my wa.me link say the number is invalid?

The number format is wrong. Use full international format with no plus sign, no spaces and no leading zero. A UK 07700 900123 becomes 447700900123.

Can I use a WhatsApp QR code without giving out my number?

No. A printed wa.me code publishes the number to anyone who scans it, and the number is readable in the code contents even without opening WhatsApp. Use a separate business number if that matters.