Live chat HTML code for any website

Built your site by hand, with a static generator or with a designer’s template? If it is HTML in a browser, one line before the closing body tag gives it a working live chat.

Free plan forever · No card required

Why XACUBE here

Works with no backend at all

Messages, images and history live on XACUBE, so a purely static site, even one on the cheapest hosting, gets a full chat.

Only on your own domains

The chat loads only on the domains you allow, so if someone copies your page’s code to another site, your chat does not come with it.

Change it without touching the code

Colour, greeting, position and the pre-chat form are all set in your panel. The line in your HTML never has to change.

Live in three steps

  1. 1Create a free XACUBE account, add your domain and copy your code.
  2. 2Paste it just before </body> on every page, or once in the footer file they share.
  3. 3Upload the changed files to your host. The chat button appears on each page.
Full install guide

What you get

One shared inbox

Every conversation from every website in one place. Assign, resolve and reopen, and share a link to any chat.

Pre-chat form

Ask for name, email or phone before the chat starts, as optional or required. A required field cannot be skipped.

Made for phones

On a phone the chat opens full screen, so typing and reading are as easy as in a messaging app.

Auto-reply

When nobody can answer straight away, the visitor is told their message arrived. Sent once, then quiet until your team replies.

RTL and LTR support

The chat follows your page’s language, with right-to-left and left-to-right languages both laid out properly.

Questions and answers

Is the live chat HTML code really free?

Yes. Copying the code costs nothing, and the free plan covers one agent with unlimited conversations and websites. Only conversations idle for 7 days are deleted.

Do I need a server or database for the chat?

No. Your site only serves the line of code. Everything else, from storing messages to sending alerts, is done by XACUBE.

Does it work on GitHub Pages, Netlify or Cloudflare Pages?

Yes, on any host that serves your HTML. Add the exact domain the site is served from in the website’s Domains tab.

Can I hide the chat on some pages?

Leave the line off those pages, or call XACUBE.hide() from your own script and XACUBE.show() to bring it back.

Can I ask for a phone number before the chat starts?

Yes. Turn on the pre-chat form and make name, email or phone optional or required. A required field cannot be skipped.

Add live chat to your website today

Create a free account, add your site and answer your first visitor in a few minutes.

Start free

Free plan forever · No card required