How to make a WhatsApp QR code with a pre-filled message
A WhatsApp QR code opens a chat with your number when someone scans it, optionally with a message already typed, such as “I would like to book a table”. It works for personal and WhatsApp Business numbers and needs no account or API.
Updated 2026-11-29
What the code contains
The code holds a WhatsApp click-to-chat link: https://wa.me/966501234567, or with a message https://wa.me/966501234567?text=… where the message is URL-encoded. Scanning opens WhatsApp with the chat and the message ready; the person still presses Send, so nothing is sent automatically.
Write the number in international format
wa.me needs the country code followed by the number, as digits only — no +, no 00 and no leading 0 of the local number:
- Saudi Arabia: 050 123 4567 → 966501234567
- UAE: 050 123 4567 → 971501234567
- United Kingdom: 07700 900123 → 447700900123
- United States / Canada: (555) 010-0123 → 15550100123
Arabic messages make the code denser
In a link, every Arabic letter is percent-encoded as six characters (م becomes %D9%85), so an Arabic message makes the content much longer than an English one of the same length. A denser code needs to be printed larger to scan reliably.
Measured with the same QR library the generator uses, at error-correction level M: the number alone is 26 characters (25 × 25 modules); with the English message “Hello, I would like to book a table for two” it is 95 characters (41 × 41); with the Arabic message “مرحبا، أريد حجز طاولة لشخصين” it is 188 characters (49 × 49), and 65 × 65 at level H. Keep the message short, and print Arabic-message codes a little larger.
Step by step with the free generator
The generator removes spaces, + and a leading 00, and accepts Arabic-Indic digits (٠٥٠…); it cannot know your country code, so always include it.
- Open the QR Code Generator and choose WhatsApp.
- Enter the number with the country code.
- Optionally type the message the customer should send.
- Download the PNG, scan it with a phone that has WhatsApp and check that the right chat and message open.