Add a WhatsApp Chat Button to Your Website Without a Plugin
How floating chat buttons work, the right link formats for WhatsApp, Telegram, Viber and Messenger, office hours and adding one with plain code.

For many small businesses, customers would rather send a quick message than fill in a contact form or wait on the phone. A floating chat button in the corner of the website opens WhatsApp, Telegram, Messenger or another app with your business already selected, so a question takes seconds. It is one of the simplest ways to turn visitors into conversations.
How the button works
The button is just a link. Each messaging app has a public link format that opens a chat with a given number or username. WhatsApp uses wa.me followed by the full international phone number in digits. Telegram and Messenger use your public username. Viber uses a special link that opens the Viber app with your number. Phone, SMS and email links work in the same way using the tel, sms and mailto formats. Some apps also accept a prefilled message, so the chat starts with a sentence such as I have a question about my order.
Because it is only a link, a chat button does not need a heavy third-party widget. Many ready-made widgets load scripts from another company's server, add tracking and slow the page down. A small block of your own HTML, CSS and JavaScript does the same job.
Getting the number right
The most common mistake is the phone number format. WhatsApp links need the country code and no plus sign, spaces, dashes or leading zero. A Bangladeshi mobile written locally as 01711-000000 becomes 8801711000000 in the link. A UK number written as 07700 900123 becomes 447700900123. If the format is wrong, the link opens a chat with nobody, or worse, with someone else.
One button or a menu
If you use one app, a single button that opens it directly is the clearest. If customers use different apps, a button that opens a small menu of channels lets them choose. Keep the menu short, three or four options at most, and order them by what your customers actually use.
Office hours and expectations
A chat button sets an expectation of a quick reply. If nobody answers at night, customers are disappointed. Office hours solve this: outside the hours you set, the button can disappear or show a short note saying when you will reply. Use the time zone of your business, not your visitors', so the hours are always correct.
A greeting bubble that appears after a few seconds can invite questions, but use it gently. Let visitors close it, and do not show it again on every page they open.
Building one
The Floating Chat Button Builder handles all of this. Add your channels and check each link with the test button, choose the side, size and colour, write a greeting, set office hours and preview the result at phone and desktop size. When it looks right, copy the snippet and paste it just before the closing body tag of your site, or into the custom HTML area of WordPress, Shopify, Wix or any other site builder. It loads nothing from other servers.
Make it accessible
A chat button should be easy to tap and easy to use with a keyboard or screen reader. That means a touch target of at least 44 pixels, a clear accessible name such as Chat with us, a menu that closes with the Escape key, and enough contrast between the icon and the background. It should also stay clear of other corner elements such as cookie banners and back-to-top buttons, which is what the offset settings are for.
Measure and adjust
Watch how many conversations the button starts and which channels people choose. If one channel is never used, remove it. If messages arrive outside your hours, consider a short automatic reply in the messaging app itself. A chat button is small, but handled well it can become one of the most useful parts of a small business website.



&c=%23991b1b&k=business)