WhatsApp on your site? Button generator

Pick the style, colour and message of your WhatsApp chat button, then copy its HTML, free and with no sign-up.

Free, no sign-up

Start with the country code
It is typed into the chat, ready to send, when someone clicks the button
yourwebsite.com

Enter a phone number to see the preview

Live preview

How does it work? Three steps to your site

  1. Set it up

    Enter your number, then choose the style, colour and pre-filled message.

  2. Check the preview

    See the button on a sample web page as you change each setting.

  3. Copy and paste

    Copy the HTML and paste it into your site, just before the closing </body> tag.

Why a WhatsApp button? Write in one tap

  • One tap to a chat

    Visitors start a chat with you in one tap. No form to fill in, no email to write.

  • Answer while they decide

    A question reaches you while the visitor is still on your page, so you can answer it there and then.

  • Works on any device

    On a phone it opens the WhatsApp app. On a computer, WhatsApp Web or the desktop app.

  • No plugin, no fee

    You get HTML with inline styles. No plugins, no external files, no monthly fee.

Where do you paste it? Any HTML site

Copy the code, then follow the steps for your platform.

WordPress1/6

WordPress

Go to Appearance > Widgets, add a Custom HTML block and paste the code. Or paste it in your theme’s footer.php, before </body>.

Questions about the button generator

What is a WhatsApp button?

A button on your website that opens a WhatsApp chat with your business. A click opens WhatsApp with your number and, if you set one, a pre-filled message. The visitor does not need to save your number first.

How do I add a WhatsApp button to my website?

Set the style, colour and message in this generator, copy the HTML and paste it just before the closing </body> tag of your site. No JavaScript framework or server needed.

Can I customize the button style and colours?

Yes. There are 5 styles: floating pill, icon only, inline button, with label and fixed banner. Pick one of 6 colour presets or any other colour, then set the icon size, border radius, shadow and position. The preview changes as you go.

Does it work with WordPress, Shopify and Wix?

Yes. The code is HTML with inline styles, so it works on any platform that lets you add your own HTML: WordPress, Shopify, Wix, Squarespace, Webflow, Next.js or a plain HTML site. No plugin needed.

Is the WhatsApp button free to use?

Yes. The generator needs no sign-up, and the code has no dependencies, no monthly fee and no need to credit WhatsTeam. Use it on as many websites as you like.

Does the button affect my website loading speed?

Very little. The code is a few kilobytes of HTML with inline styles and uses the system font. It loads no external scripts, fonts or libraries. The greeting bubble adds a few lines of JavaScript.

Can I add a greeting bubble or pulse animation?

Yes, on the floating styles. In the Advanced tab, turn on the pulse animation, a soft glow, or add a greeting bubble with your own message that appears after the delay you choose.

How can I track WhatsApp button clicks?

The button is a standard wa.me link. In Google Tag Manager, add a link click trigger for URLs that contain wa.me. With Google Analytics 4 alone, call gtag('event', 'whatsapp_click') in the link’s onclick.

What is the difference between a WhatsApp button and a live chat widget?

The button takes visitors to WhatsApp. A live chat widget runs inside your website. The button needs no software, works on any device, and the conversation stays in WhatsApp after the visitor leaves your site.

Need another tool? These are free too

See all free tools

Your team on WhatsApp? On one number

From $29 a month. No card needed, cancel anytime.

Free WhatsApp button generator for your website | WhatsTeam