- Home
- Tools
- WhatsApp Link Generator
- WhatsApp Button for Website
WhatsApp button for your website: one snippet, no plugin
Add a chat button to your website in a minute. Choose a floating corner button or one inside the page, set the size, the colour and the text, and copy a single piece of HTML. It has its style and its icon written inside, so it loads nothing from outside, sets no cookies and slows nothing down. Works on plain HTML, WordPress, Shopify, Wix and more.
- Nothing uploaded
- QR code
- Smart links
- Urdu and English
- Free
Loading the WhatsApp link generator...
Normal links, QR codes, bulk lists and website buttons are made on your device and are not uploaded to FileXL. Only a smart link, which you choose to create, is stored on FileXL.
QR codes by Nayuki (MIT). Rules and limits checked November 2026. FileXL is not affiliated with WhatsApp or Meta. WhatsApp is a trademark of its owner.
How was the WhatsApp link generator?
One tap. That’s all it takes.
Thank you! 🎉
That means a lot to a small team. Would you share it on Trustpilot? It takes about 10 seconds and helps other people find a safe way to send files.
Thanks for being honest
What could we do better? Tap what fits, or write a line. Both are optional.
Prefer to say it publicly? Review us on Trustpilot
Thank you
We read every note and use it to make FileXL better.
Want it to count publicly too? Review us on Trustpilot
- 0 bytesuploaded for normal links
- 31ready messages
- 61countries
- 3languages
By FileXL Team | Last reviewed | [email protected]
How do I add a WhatsApp button to my website?
Enter your number at the top, choose the message on the Link and QR tab, then open Website button, pick floating or inline and a colour, and press Copy code. Paste it just before the closing body tag of your page, or in a custom HTML block in WordPress, Shopify, Wix or Squarespace. The button opens a chat with you, with your message typed in. No plugin and no sign-up are needed.
How it works
How it works
Three steps, about a minute.
Enter your number and message
Type your number at the top and choose the first message on the Link and QR tab. The button uses the same link. Then open the Website button tab.
Choose how the button looks
Pick a floating corner button or one inside the page, the size, the colour, and the text. You can show only the round icon, and show only the icon on phones to save space. The preview updates as you click.
Copy the code and paste it
Press Copy code and paste it before the closing body tag of your page, or into a custom HTML block. Open your page and click the button to check that the right chat opens.
Where to paste it
Where to paste the code
The code is plain HTML, so every site builder that lets you add custom HTML can use it.
- Plain HTML or PHP website: paste it just before the closing body tag.
- WordPress: add a Custom HTML block in a footer widget area, or use a plugin that adds code to the footer of every page.
- Shopify: Online Store, Themes, Edit code, open theme.liquid and paste before the closing body tag.
- Wix, Squarespace and Weebly: use an Embed or Code block and choose HTML.
- Blogger: add an HTML/JavaScript gadget in the layout.
- Want to change the number later without editing your website? Make a smart link first, then tick Use my smart link in the button settings.
Who uses it
Made for small businesses and freelancers
Anyone who gets customers through WhatsApp can save time with a link that opens the right chat with the right first message.
Shops and online sellers
Put a QR code on the counter and a link in your Instagram bio. Customers ask about a product with one tap, and the message already names it.
Print shops and press
A rate request link with the size and quantity filled in, a link for sending a design file, and a message to tell a customer the job is ready.
Freelancers and agencies
A hire-me link with budget and date blanks in your portfolio, proposal, email signature and invoice.
Photographers and studios
A booking link for each shoot type, and a counter sign with a QR code for walk-in customers.
Tutors and academies
Enrolment and free demo class links for flyers and class posters, with the course filled in.
Restaurants and home kitchens
A menu and table-booking QR code for the table, the box and the delivery bag.
Real estate agents
One link per property with the property name in the message, so you know which listing a call is about.
Repair and home services
A request link for a visit or an estimate, on your van, card and Google profile.
Offers and events
A smart link that ends on the sale day, or after the first 100 orders, with a friendly message afterwards.
Limits
What this tool cannot do
Read these before you rely on a link or print a QR code.
- It makes links. It does not send messages. A link opens WhatsApp with your message typed into the chat box, and the person still has to tap Send. Nobody receives anything until they do.
- It cannot check that a number has WhatsApp. The number is checked for length and for a usual mobile start for the country, so a typing mistake is caught, but only WhatsApp knows whether the number is registered. A landline cannot receive chats unless it was registered with WhatsApp Business.
- It opens one-to-one chats only. It does not make group invite links (those come from the group info screen inside WhatsApp) and it does not use the WhatsApp Business API, templates, broadcasts or chatbots.
- A normal QR code holds the number and message inside the picture. If you change your number later, an old printed QR code still opens the old number. To change it later, make a smart link and print that QR code instead.
- A smart link depends on FileXL. The address filexl.com/w/yourname must be online to open the chat. A normal wa.me link does not depend on us. For something you print in large numbers, decide which risk you prefer. We delete a smart link that nobody has clicked for two years.
- A smart link stores your number and message on FileXL, because the server has to open WhatsApp for it. It stores no IP addresses, no user agents and no cookies, only daily totals of clicks. Anyone who has the private manage key can change or delete the link, and we cannot recover a lost key.
- Click counts are clicks, not people. One person can click twice. Link-preview robots and search bots are not counted, but a robot that hides itself might be. Countries come from the network, are approximate, and a visitor using a VPN shows the VPN country. WhatsApp itself gives no click counts for its own links and QR codes.
- Country number rules are the common ones and can be incomplete. If the tool warns about a length or a start digit and you are sure the number is right, you can still use the link.
- Long messages make a dense QR code that is harder to scan. Keep it short, print it at least 3 cm wide, dark on a light background, and test it with a phone before you print a thousand copies.
- The website button is plain HTML with its style written inside. Some site builders remove inline SVG or style, so test it on your site. The round icon is a generic chat bubble drawn for this tool, not the WhatsApp logo.
- The A4 counter sign is a PNG made by your browser. Urdu text on it uses the fonts installed on your device, so look at it before you print.
- Smart links must not be used for spam, scams, harassment or messages to people who did not ask for them. Every smart link can be inspected by adding a plus sign to its address, and anyone can report it. Reported links are blocked.
- FileXL is not affiliated with, endorsed by or connected to WhatsApp or Meta. WhatsApp is a trademark of its owner.
Questions
WhatsApp Button for Website: frequently asked questions
Does the website button slow down my site or track my visitors?
No. It is one small piece of HTML with its style and its icon written inside. It loads nothing from FileXL and sets no cookies. When a visitor clicks it, WhatsApp opens. If you want click counts or the ability to change the number later, use your smart link address in the button.
What is a smart link and why would I use one?
A smart link is a short address on filexl.com, such as filexl.com/w/ali-prints, that opens your WhatsApp chat. Because the address stays the same, you can change the number or the message later, pause it, set it to end on a date or after a number of clicks, and see how many people used it. The big benefit is for printed QR codes: edit the smart link and the same printed code opens the new chat.
What is a WhatsApp link?
A WhatsApp link, also called a click-to-chat or wa.me link, is a normal web address that opens a chat with a phone number in WhatsApp. It looks like https://wa.me/923001234567, and it can carry a message that is already typed into the chat box, like https://wa.me/923001234567?text=Hello. Anyone who taps it on a phone with WhatsApp, or on a computer with WhatsApp Web or the desktop app, lands in a chat with you without saving your number first.
How do I write the number in a WhatsApp link?
Use the full international number with digits only: the country code, then the number without the first zero. No plus sign, no zeros in front, no spaces, dashes or brackets. A Pakistan number 0300 1234567 becomes 923001234567, an Indian number 98765 43210 becomes 919876543210. You do not have to do this by hand here: choose the country, type the number the way you write it, and the tool cleans it. International numbers can have at most 15 digits.
Does the link send the message automatically?
No. The message is typed into the chat box and waits. The person must tap Send. This is how WhatsApp works for every click-to-chat link, and it is also a protection against spam.
Is the WhatsApp link generator free?
Yes. Normal links, QR codes, the counter sign, the bulk tool, the website button and the link page are free, with no sign-up and no watermark. Smart links are also free.
Is this tool made by WhatsApp or Meta?
No. FileXL is an independent file-sharing service and is not affiliated with WhatsApp or Meta. The links it makes use WhatsApp public click-to-chat address format.
Can I use my own colours and text?
Yes. Choose from six colours and type any button text, including Urdu. The text colour switches between white and dark so it stays readable on light and dark colours.
Sources
Sources and further reading
Sources marked as third-party are not official. Read the original pages for the full detail.
- Meta for Developers: QR codes and short links (WhatsApp Business Platform)Official Meta documentation. Explains that customers can scan a QR code or open a short link such as wa.me/message/CODE to start a chat, that a QR code can carry a prefilled message of up to 140 characters, and that analytics are not available for these QR codes and short links.
- Sinch: WhatsApp link generator guide (third-party)Third-party guide by a messaging company, not an official page. Shows the wa.me link built from the number in international format, a link with a URL-encoded prefilled message, and notes that api.whatsapp.com/send links are the older form that still works.
- Freshworks: how to create a WhatsApp click-to-chat link (third-party)Third-party guide. Shows the api.whatsapp.com/send link form with phone and text parameters, and says the WhatsApp Business app can make a short link under Settings, Business tools, Short link.
- ITU-T Recommendation E.164: The international public telecommunication numbering planThe international standard behind country codes. It limits an international number to 15 digits including the country code, which is why this tool accepts 8 to 15 digits.
- Nayuki QR Code generator library (MIT licence)The library used to draw the QR codes inside your browser.
The QR codes use the Nayuki library (MIT). FileXL is not affiliated with WhatsApp, Meta or any company named here. WhatsApp is a trademark of its owner. Meta can change how links, QR codes and short links work at any time, so check the official pages above for the latest rules.
Keep reading
Related guides
- WhatsApp Link GeneratorThe full WhatsApp link generator.
- WhatsApp Short Link with ExpiryUse a smart link in the button to change the number later.
- WhatsApp Link with MessageWrite the first message the button opens.
Works well with
Other free FileXL tools
- Invoice, Quotation and Receipt MakerSend your customer an invoice or receipt with the Invoice, Quotation and Receipt Maker.
- Greeting Card MakerMake a greeting card for Eid, Diwali or a sale day with the Greeting Card Maker.
- Image CompressorShrink product photos before you send them in chat with the Image Compressor.
- QR Code GeneratorWant a logo, a frame or a print sheet on your QR code? Style it in the QR Code Generator.
About this tool
Made and checked by the FileXL Team
This tool is built and maintained by the FileXL Team, the people behind the FileXL file sharing service. We test the links and QR codes it makes on real phones, and we review this page when the tool or the way WhatsApp links work changes. Last reviewed November 2026. Read more on the team page. What the pages say about WhatsApp comes from the sources listed above; third-party pages are labelled as such. FileXL is not WhatsApp and cannot change how WhatsApp behaves.
- Questions, bugs or ideas: [email protected]
- Author: FileXL Team
Help us improve it
Something not working, or a country missing?
This tool is built from what small businesses, freelancers and shop owners ask for. Tell us which country, message or place is missing, what a button should say, or what you would like a smart link to do. It takes a minute and you do not need an account. Please do not send phone numbers or customer details; a short description is enough.
Prefer email? Write to [email protected].
Need to send a price list, a catalogue or large files?
FileXL sends large files free, with no sign-up. Upload your files, share the short code, and your customer downloads them from the Receive page without creating an account. Good for photos, designs and catalogues that are too big for chat.
Send files with FileXL I have a codeMore from FileXL
- All free tools
- AI Background Remover
- Thumbnail Maker
- CV Maker and ATS Checker
- Job Application Kit
- Invoice, Quotation and Receipt Maker
- Video to Reels and Shorts Maker
- Advanced Video to Reels Maker
- Advanced Video Editor
- Free Online Video Editor
- PDF to Word Converter
- Word to PDF Converter
- Graphical Abstract Maker
- HEIC to JPG Converter
- JFIF to JPG and PNG Converter
- WebP to PNG Converter
- PDF Compressor
- Merge PDF
- Urdu OCR
- Passport Photo Maker
- CNIC Copy Maker
- Document Scanner
- Greeting Card Maker
- Zakat Calculator
- Image Compressor
- JPG to PDF
- Bank Statement to Excel
- Bank Statement Analyzer
- Photo Resizer
- Website Grader and SEO Quick-Wins Finder
- Free AEO Checker
- QR Code Generator
- Send large files free
- Receive a file with a code
- FileXL blog