Home/ Templates/ JavaScript live chat

JavaScript Live Chat — One Script Tag, Any Site

Pure JavaScript live chat — no framework, no build step, no npm install. One script tag.

◈ WHAT IS KNOCKET

Knocket is a free JavaScript live chat widget — no plugin, no app, just one line of JavaScript. It's free forever with no ads, and includes a unified inbox for Live Chat, Telegram, and Email. Every visitor message pings your Telegram — quote-reply from your phone and it lands back on the visitor's page.

Start Free 100% free ✿
1 line of
<script> ✿
🔒 vanilla-js-app.io
index.html
app.js
styles.css
.env
1<!-- Paste before </body> -->2<script src="https://knocket.io/w.js"3 data-handle="you">4</script>56// That's it. No framework needed.7window.Knocket.on("open", () => 8 analytics.track("chat_opened")9)
$ curl knocket.io/w.js
$ ✓ 4.2kb gzipped · 0 dependencies

Why people search for a javascript live chat

Best for: Vanilla JS developers, legacy sites, quick prototypes, non-framework projects.

Knocket vs Intercom vs Crisp

Feature Knocket Intercom Crisp
Free forever
No ads on your page
Unified inbox (Live Chat, Telegram, and Email)
Telegram push notifications
Shareable contact page
One-line install / no code
Knocket is 100% free with no ads, and no watermarks. Intercom charges per seat or gates key features behind paid plans, while Crisp is limited to basic functionality without a unified multi-channel inbox. Knocket includes live chat, a shareable contact page, and a unified inbox for Live Chat, Telegram, and Email — all free.

Frequently asked questions

What is a free javascript live chat?

Knocket is a free javascript live chat — a lightweight contact layer for indie developers, small teams, and anyone who needs to add a chat button or contact page without enterprise complexity. Visitors message you in real time; you reply from the Knocket inbox or directly from Telegram.

How do I add a JavaScript chat widget to my site?

Paste one <script> tag before </body> on any HTML page. No npm, no build step, no framework required. The widget loads asynchronously and adds a floating chat bubble to your page.

Is Knocket really free, or are there hidden fees?

Yes. Knocket is 100% free forever — no hidden fees, no ads on your site, and no watermarks. It's a strong alternative to Intercom (which charges per seat) and Crisp (which gates key features behind paid plans). You get live chat, a shareable contact page, and a unified inbox for Live Chat, Telegram, and Email — all free.

Can I customize the appearance to match my brand?

Yes. From the Knocket console you can customize the theme color, welcome message, language, offline message, social media links, and meeting booking link. The widget adapts to both desktop and mobile automatically. For Contact Page you can also set the card background, text color, dark/light mode, border style, avatar, and bio.

How do I get notified when visitors send messages?

Knocket sends instant Telegram push notifications and email notifications whenever a visitor sends a message. The full message content appears in the Telegram notification — just quote-reply in Telegram and your response is delivered back to the visitor in real time. No dashboard to open, no tab to switch.

Related templates

Get your JavaScript live chat.

60 seconds. No card. Free forever.

Start Free