WhatsApp button generator

A floating WhatsApp button for your website. Fill in your number and a first message, pick a side and a colour, and copy the code. Visitors tap it and WhatsApp opens with your message ready to send.

Plain HTML and CSS, about 2 KB. No script, nothing loaded from us. Free, no sign-up.

Where to paste it

Anywhere your site lets you add code to every page, as close to the end of the page as it allows. The button positions itself, so it doesn't matter what's around it.

Our install guides show the exact screens for 18 platforms. They're written for Pidge, but the place to paste is the same.

The button is a plain link to WhatsApp's click-to-chat address: https://wa.me/, then your number in full international format, then the message. The number has no plus sign, no leading zeros, no spaces and no brackets, so +47 912 34 567 becomes 4791234567. The generator does that for you, and encodes the message so spaces and emoji survive.

On a phone the link opens the WhatsApp app. On a computer it opens WhatsApp Desktop if it's installed, or a WhatsApp page that offers WhatsApp Web. The visitor needs a WhatsApp account either way, and the message only goes once they tap send.

A WhatsApp button or live chat?

A WhatsApp button is the quickest way to be reachable if your customers already live in WhatsApp and you're happy answering from your phone. It costs nothing and takes a minute.

What to weigh before you add one:

Live chat keeps the conversation on your site. With Pidge the visitor writes in a small window on the page, you see which page they're on, and you answer from a shared inbox or your phone. If they've left by the time you reply, the answer goes to them by email. The widget loads 4.9 KB, and it's free for one website. Some sites run both: live chat for questions about the page, and WhatsApp for customers who prefer it.

WhatsApp is a trademark of WhatsApp LLC. This generator isn't made or endorsed by WhatsApp.

Want the chat on your own page?

Try Pidge free

The free plan covers one website and two people replying. No card needed.