WhatsApp button generator

Add a “Chat on WhatsApp” button to your site. Copy and paste the code, and visitors reach you in one tap. No view limits, no branding.

WhatsApp number

With country code, for example +44 7700 900000

Preview

Code

Paste the code somewhere that appears on every page of your site, for example just before the </body> tag.

The text colour is set to black or white, whichever reads better on the button colour. The button uses WhatsApp's public wa.me link; when a visitor taps it, WhatsApp opens with the message ready.

This tool is made by Sun Works.Work with the person who built this site

About WhatsApp button generator

What is a WhatsApp button for?

Visitors can write to you in one tap without saving your number. Because asking a question becomes easier, enquiries rise, especially on mobile. The button opens WhatsApp's official wa.me link, with no service in between.

How to enter the number

The number is written with the country code and without a leading zero. For Germany it starts with 49, for the United Kingdom with 44. Spaces, brackets and the plus sign are not used in the link; the tool removes them.

Why add a prefilled message?

A prefilled message puts a ready sentence into the chat window. The visitor does not have to think about what to write, and you can tell which page the message came from. On a product page, a sentence with the product name works well.

How to add the button to a site

Copy the code and paste it into the HTML of the page. In WordPress the Custom HTML block works, in Shopify the custom code section of the theme editor. The code is only HTML and CSS and does not slow the page down.

Related articles

Frequently asked questions

How do I add it to WordPress?

The safe way is a “code snippets” plugin: paste it into its footer area. To add it to a single page in the block editor, use a Custom HTML block.

How do I add it to Shopify?

Go to Online Store, Themes, Edit code, open theme.liquid and paste the code just before the </body> tag.

Do I need WhatsApp Business?

No. It works with regular WhatsApp and WhatsApp Business alike. The number only needs to be registered on WhatsApp.

Can I see how many people click the button?

The code does not count anything on its own. If you use a tool like Google Analytics, you can see clicks to wa.me as outbound link clicks.

Come, let's build what you have in mind.

Whether it's an idea for a new website or support for your current one, write to us briefly and we'll decide together how we can help.