WhatsApp Chat Button & Widget Generator

Create a click-to-chat link, a floating WhatsApp button or popup widget and a QR code for your website in seconds. Copy the HTML, paste it into your page and start getting messages.

1. Your WhatsApp details

Visitors see this text ready to send when the chat opens.

2. Choose your widget

0 means only open on click.

3. Live preview

4. Copy your code

Paste the HTML code just before the closing </body> tag of your page. It works on any website builder that accepts custom HTML.

Step by step

How to use the WhatsApp Chat Button & Widget Generator

Six quick steps from your phone number to a working chat button on your website.

  1. Enter your number.Pick your country code and type your WhatsApp number. Spaces, plus signs and leading zeros are cleaned up for you.
  2. Write the first message.Add the text that appears ready to send when a visitor taps your button, such as a greeting or a product question.
  3. Style the widget.Choose a floating popup, a floating button or an inline button, then set the label, color, size and corner.
  4. Check the live preview.The phone preview shows exactly how the widget will look on a small screen.
  5. Copy the code.Copy the chat link, the HTML snippet or download the QR code.
  6. Add it to your site.Paste the snippet before the closing body tag, publish and send yourself a test message.

Features

Everything you need for a WhatsApp chat button

A complete set of ways to let visitors reach you on WhatsApp, with no plugin required.

Popup chat widget

A floating button that opens a greeting card with a Start chat button, similar to the website chat widgets that business sites use.

Click-to-chat links

Generates a clean wa.me link with your number and an optional pre-filled message, correctly URL-encoded.

Mobile-first output

The widget is responsive, keeps a 44 px or larger tap target and works on every screen size.

Custom colors and size

Match your brand with any button color. Text color switches between white and dark automatically for contrast.

QR code download

Create a printable QR code that opens your chat when scanned, ideal for flyers, shop windows and packaging.

Private and free

Everything runs in your browser. Your number and message are never uploaded or stored.

About this tool

Turn website visitors into WhatsApp conversations

A WhatsApp chat button turns a website visit into a conversation. Visitors tap once, WhatsApp opens with your message ready, and you reply from the app you already use.

Many customers prefer messaging to filling in a form or waiting on hold. A chat button lowers the effort, so more people ask their question. The generator writes the link, the HTML and the style for you, so you do not need a plugin or a paid service.

  • No account, signup or branding on your site
  • Pure HTML, CSS and a few lines of JavaScript
  • Opens the WhatsApp app on phones and WhatsApp Web on desktop
  • Works with WhatsApp and WhatsApp Business numbers
Phone showing a website with a floating green chat button and a popup greeting card
A floating WhatsApp popup widget as it appears on a phone.

Use cases

Who uses a WhatsApp chat button

Anyone who wants customers, clients or members to reach them with one tap.

Small businesses

Add a floating button to your shop, salon or restaurant page so customers can ask about prices, bookings and opening hours.

Online stores

Let shoppers message you about sizes, delivery and stock straight from a product page.

Freelancers and agencies

Put a chat link in your portfolio, email signature and proposals to get faster replies.

Events and classes

Use a QR code on posters and tickets so attendees can reach the organizer instantly.

Real estate and services

Pre-fill the message with the listing name so you know which property or service the visitor means.

Support and communities

Link to a help number from your app, newsletter or social profile.

Reference

WhatsApp link and number format

A wa.me link is simple, but the number format trips up many people. Here is how it works.

PartRuleExample
NumberCountry code plus number, digits only923001234567
Leading zeroDrop it after adding the country code03001234567 becomes 3001234567
Plus signNot used in wa.me links+92 300 becomes 92300
MessageAdd ?text= and URL-encode itHello%20there
LengthUp to 15 digits in totalInternational E.164 numbers

Which widget type should you pick?

TypeBest forNotes
Floating + popupBusiness sites and storesFriendly greeting, can auto-open after a delay
Floating buttonBlogs and simple pagesOne tap straight to WhatsApp
Inline buttonContact pages and landing pagesSits inside your content, nothing floats

Tips

Tips for a button that gets more chats

  • Use the number you actually monitor. Test the link from a second phone before you publish.
  • Keep the pre-filled message short and specific, for example the product name, so you can reply with context.
  • Do not auto-open the popup instantly. A delay of 10 to 20 seconds is less intrusive and works better on mobile.
  • Put the button on the side that does not cover your cookie banner or other floating buttons.
  • Mention your reply hours near the button so visitors know when to expect an answer.
  • Always follow your local rules for contacting people. Only message those who start a chat with you.

FAQ

Frequently asked questions

Enter your number with country code and an optional message. The tool builds a wa.me link in the format https://wa.me/number?text=message that opens a chat with you.

Use the country code and digits only. Remove the plus sign, spaces and any leading zero after the country code. The tool does this automatically when you pick a country.

Yes. Copy the generated HTML snippet and paste it before the closing body tag of your page. No plugin or account is needed.

Yes. A wa.me link opens a chat with any number registered on WhatsApp or WhatsApp Business.

On desktop the link opens WhatsApp Web or the desktop app if it is available, and on phones it opens the app directly.

No. The tool runs in your browser and nothing you type is sent to a server. The number is only in the code you copy.