WhatsApp button for your website
A floating WhatsApp chat button that knows your opening hours. Visitors see when you are open, in your time zone, and tap once to message you. Copy one snippet into your site.
Your button
Pick the country, then type the number the way you would dial it locally.
Typed in for the visitor when the chat opens.
Opening hours are checked in this zone, wherever your visitor is.
Opening hours
- to
- to
- to
- to
- to
- Closed
- Closed
Preview
Right now it is closed in UTC.
Code for your website
Paste it just before </body> on every page, or in your site builder's custom code box.
How to use it
- 1
Add your number
And a message to fill in for the visitor, if you like.
- 2
Set your hours
Pick your time zone and the hours you reply for each day.
- 3
Paste the code
Copy the snippet into your website, just before the closing body tag.
How it knows you are open
The button checks the time in your time zone, not the visitor's. A visitor in London looking at a shop in Mumbai sees the shop's real status. It checks again every minute while the page is open.
Hours that end after midnight work too: set Friday from 18:00 to 02:00 and the button stays open into Saturday morning.
When you are closed, the button can show a different line, like "Closed now, we reply in the morning", or hide completely. People who still message you will see your reply when you are back.
Where to paste the code
- WordPress: a plugin for header and footer code, or your theme's footer.php, just before
</body>. - Shopify: Online Store, then Themes, then Edit code, and theme.liquid before
</body>. - Wix, Squarespace and Webflow: the custom code setting for the whole site, in the footer or body end.
- Your own HTML: before
</body>on each page.
Questions
Something else? Ask us.
Is this WhatsApp button free?
Will it slow down my website?
Does it need a WhatsApp Business account?
Can people message me when I am closed?
How do I change my hours later?
Does it handle daylight saving time?
17 free WhatsApp tools, no signup.
All free toolsAnswer your WhatsApp from ChatGPT or Claude
WhatSync connects your WhatsApp to your AI apps. Ask who is waiting for a reply, draft answers, and send messages without switching apps.