Javascript SDK

Connect your users with 1-on-1 chat, group chat, or chatrooms using our real-time messaging infrastructure and pre-built UI.

Full featured

Everything you want in a messaging app, including out-of-the-box email, push, and SMS notifications.

Ship faster

Turn any <div> into a full-fledged messaging app. Up and running in 10 minutes.


Trusted by amazing companies around the world

talkjs customer logos

Boost user engagement, retention and conversion rate. Build a messaging experience that fits your use case.


Marketplaces

Let buyers and sellers discuss products on your platform, and drive more engagement and transactions.

Learn more

Education

Create a better learning environment for students and teachers with 1-on-1 chat and chat rooms.

Learn more

Social & communities

Integrate a modern messaging feature into your social network or online community to boost engagement.

Learn more


Healthcare

Help doctors and patients get in contact by providing a secure way for them to chat online.

Learn more

On-demand services

Connect customers with drivers, couriers, hosts or other service providers with in-app chat.

Learn more

Hiring & job platforms

Connect freelancers with customers, and recruiters with applicants with 1-on-1 chat.

Learn more


What our customers say

"The load on our customer service reduced drastically and our conversion rate increased by allowing our users to communicate with each other."

Sarah Bleiker, product manager at The Next Closet. Read our case study.

JavaScript SDK with a pre-built UI

Turn any <div> into a real-time inbox. Synchronize user data on the fly.


  • Launch faster

    TalkJS lets you add end-user chat with just a few lines of code. No backend code needed! The pre-built chat UI makes it possible to launch faster, simplify your stack and save up on development costs.

    Read the integration guide


  • Stay in control

    Our flexible chat API makes it easy to customize behavior, send system messages, or get notified on user actions.

    Explore the REST API

TalkJS code snippet

// Synchronize user data and set up
var currentUser = new Talk.User({
  id: 79302,                      // user id
  name: "George Looney",          // full name
  email: "[email protected]"      // for offline email fallback
});
var session = new Talk.Session({
  appId: "9352938974",            // your TalkJS account id
  me: currentUser                 // make George the active user
});

// All set! Let's turn a div into George Looney's messaging center
var inbox = session.createInbox();
inbox.mount(document.getElementById("chat-container"));

Chat UI that will seamlessly fit your website or app design

Tune the look and feel of the chat UI with TalkJS themes. By changing a few lines of CSS you can easily customize the chat design.

Adjust fonts, borders, colors, and other properties to customize the UI and make it fit your website or app design perfectly.

The UI is forward-compatible and responsive. It will keep working on future devices, new features, and future browsers.

Comes with all the essential messaging features

The TalkJS chat is fully featured. It provides the essential messaging features you will need to create an amazing experience for your users.

From emoji, message search, typing indicators, file sharing to push, SMS and email notifications, and a lot more.

TalkJS supports advanced features like email & sms fallback, word blacklists, location sharing and real-time message translations.

Explore features

talkjs chat frameworks react ruby nodejs java angular vuejs php python

Works with any framework or programming language

Most of your TalkJS code will live in the frontend, which means that it will work seamlessly with any language or framework. You can turn any <div> into a full-fledged messaging app and have it up and running in a couple of hours.

Getting started guide

Browse examples on Github

What our customers say

"We're so pleased to finally have a chat solution on our marketplace and it was incredibly easy to setup and looks and functions fantastic."

Shayne Kasai, engineer at Retreat Guru, Buyer-seller chat case study

Jan Hjørdie

Developer, Aldrig Alene

“It was lightweight, simple to implement, cost-effective and has great support. Aldrig Alene would definitely not be here today at that state we are now if we didn’t have TalkJS on our website.”

Messaging in healthcare case study >

Matias Anaya

Software Engineer, Kaddy

"What I can say is that we have ~1000 conversations happening through chat that would have happened off-platform or not happen at all otherwise."

B2B marketplace case study >

Eugenio Warglien

Co-founder, Audry

"Talkjs has been an integral part of our user experience since the beginning. Thanks to TalkJS, today Audry manages thousands of conversations and file-shares directly within the platform."

Connecting a podcasting community >

Todor Todorov

CEO, Frontline Dynamics

"We were considering building our own chat software but due to time and cost constrains abandoned the idea. TalkJS was easy to integrate. All features needed (like attachments etc) were available."

Enabling collaboration in the air freight industry >

Preetham Siddalingaswamy

Founder, AirCarry

"Simplicity, simple to implement and pricing (it was little more expensive than the others) but during initial times we were hard pressed on time to implement and go live."

Connecting shoppers around the world >

Alexander Seidmann

CEO, Red Thread

"The creators and students both love the chat feature and the E-Mail integration that allows them to just answer directly from their mail client."

Student-teacher chat case study >

Ready to get started?

Whether you're building a marketplace, on-demand business, e‑commerce, crowdfunding, travel and events platform, TalkJS is the chat tool for you.