Skip to main content

Free WhatsApp widget for your website

Add a floating WhatsApp button to your website so visitors can start a chat with your business. Choose how it looks, preview it and copy the code, or copy a plain chat link instead. No Oakready account needed.

Use your existing WhatsApp number. No account needed.

Florist arranging cream flowers by the shop window
Fictional florist website with a floating WhatsApp button

Customise your WhatsApp button

Enter the public business number you want visitors to message.

Contact details

Use your local number or paste the full international number. Your number will be visible in the embed code and chat link.

Visitors can edit this in WhatsApp before sending.

Button appearance

Opening hours

Live button preview

Enter a WhatsApp number to test the chat link.

Add it to your site

Enter your WhatsApp number to create your code and link.

See installation steps for your website platform

Compare WhatsApp website icons

Bicycle mechanic working on a wheel at the repair bench
WhatsApp button on a fictional bike shop website

The wider button pairs the WhatsApp icon with a label like “Chat on WhatsApp”. Choose it when you want visitors to see at a glance how to get in touch.

How to add a WhatsApp button to your website

  1. Enter your WhatsApp number

    Use the public number you want customers to message, including its country code.

  2. Choose how it looks

    Pick an icon or a labelled button, choose a corner and set opening hours if you need them.

  3. Copy the code into your site

    Use the guide for your website platform. Open your published site on a phone and test the button.

Choose your website platform

WordPress
  1. Install and activate the WPCode plugin if your site supports plugins.
  2. Open Code Snippets → Header & Footer. Paste your embed code into Footer, then save and test on your published site.

If your site does not allow custom code, add a Buttons block and give it your chat link.

WordPress help guide (opens in a new tab)
Shopify
  1. In Online Store → Themes, duplicate your theme to keep a backup. Open the three-dot menu next to the theme you’re editing and choose Edit code.
  2. Open Layout → theme.liquid. Paste your embed code just before </body>, save, and check your storefront preview.

The button appears on storefront pages that use this theme layout. If you’re editing an unpublished theme, publish it when you’re ready.

Shopify help guide (opens in a new tab)
Wix
  1. In your site dashboard, open Settings. Under Development & integrations, choose Custom Code, then Add Custom Code.
  2. Paste your embed code. Choose All pages and load the code on each page a visitor opens. Select Body - end, apply, and test on the published site.

Custom Code needs a published site with a connected domain. You can also add the chat link to an ordinary Wix button.

Wix help guide (opens in a new tab)
Squarespace
  1. Find Code Injection in your site’s settings and paste your embed code in Footer.
  2. Save, then open your published site to test the button.

Footer Code Injection needs a plan that supports custom code. A normal Squarespace button can use the chat link.

Squarespace help guide (opens in a new tab)
Webflow
  1. Open Site settings → Custom code and paste your embed code into Footer code.
  2. Save changes, publish the site, and test the button on the published page.

Custom code needs an eligible Workspace plan or an active Site plan.

Webflow help guide (opens in a new tab)
Another platform or plain HTML
  1. Paste your embed code just before </body> in the template your pages use, or in your site’s footer code box.
  2. Publish and test from a phone and a desktop browser.

If your website blocks scripts, paste the chat link into an ordinary button.

Reviews of Oakready's website services

Oakready builds websites for small businesses. These Trustpilot excerpts are about that work, not this WhatsApp widget.

We just needed a simple website that loaded quickly and looked great.

KateRead the full review on Trustpilot

Amazing quality webiste and fast service, perfect for someone like myself who wanted a website upgrade. Would definitely recommend.

PaulRead the full review on Trustpilot

Questions about the WhatsApp widget

Is the WhatsApp widget free?

Yes. You can customise the button and copy the code or chat link for free without creating an Oakready account.

Can I use my existing WhatsApp number?

Yes. Enter the public number you want customers to reach, including its country code. Use a number that already receives messages in WhatsApp or WhatsApp Business.

Where do I read and reply to messages?

The button opens a WhatsApp chat with the number you chose. You read and reply in WhatsApp or WhatsApp Business. It does not add a chatbot or an inbox to your website. Visitors can edit a pre-filled message before sending it.

What happens to the number I enter?

The embed code is generated in your browser. Your number is part of that code, so anyone can see it once the code is on your site.

Can I hide the button outside opening hours?

Yes. Choose your open days, times and business time zone. The schedule controls when the floating button appears on your site.

Can I use this as a WhatsApp link generator?

Yes. Enter your WhatsApp number, add a pre-filled message if you want one and choose Copy chat link. You get a standard wa.me link to use on a button in your website editor. Opening hours apply only to the floating button, so the link works at any time.

What if my website editor blocks scripts?

Copy the chat link and use it as the destination of an ordinary button in your editor. The link opens the same WhatsApp chat and works at any time.

Can I change the number or style later?

Yes. Enter your settings here again, copy the new embed code and replace the previous code on your website. If you use the chat link, copy it again after changing the number or message.

Create your WhatsApp button
Chat with us on WhatsApp (opens in a new tab)