Skip to main content

Free WordPress Live Chat Plugin: Visitors Chat Without an Account

· 16 min read
Creator of Better Messages

Better Messages is a free WordPress live chat plugin: a visitor clicks a Live Chat button, types a name and writes to the person you choose, with no account to create. The free version delivers messages by polling every few seconds, and the WebSocket version delivers them instantly and adds calls, with every conversation kept in your own WordPress database.

WordPress live chat plugin: a chat bubble on a WordPress page, with a visitor on one side and the person answering on the other

Live chat on a WordPress site means one of two things: visitors writing to your team from a page, or members writing to each other in real time. Better Messages does both from one plugin and one inbox.

It is not a help desk. It has no agent queues or routing between agents, so a support team that needs those should choose a tool built for support. For the wider choice, see how to choose a WordPress chat plugin.

How to add live chat to WordPress#

  1. Install Better Messages from WordPress.org and activate it. Better Messages → Settings opens on Get started on a new site, and the tab stays in the side menu on any other.
  2. On the first card, Members message each other, press Create the Messages page. A site where messages show in member profiles needs no page, so the card is done already.
  3. On the Visitors chat with you card, press Turn on guest chat. If messages show in member profiles, the card also offers Create the guest messages page, a public page for the chats of visitors.
  4. Pick the member who answers. The card starts with the admin who opened it.
  5. Copy the ready shortcode of a live chat button and paste it into any page, post or widget.

Visitors can now write to that member, and their chats arrive in the inbox of that member among the other conversations. The same button can be written by hand. This one gives each visitor their own support conversation with user 1:

[better_messages_live_chat_button user_id="1" unique_tag="support" text="Contact Support" class="bm-lc-button-styled"]

The Live Chat button#

The button goes on any page, post or custom post type, and its user_id decides who answers:

user_idWho answers
post_author, or left outThe author of the post the button is on
postmeta:KEYA user stored in a custom field, such as a vendor, an agent or an owner
A positive numberOne fixed user, as a site-wide support inbox
A negative numberAn AI chat bot

With unique_tag="auto" each visitor gets one conversation per post, and with object_id="auto" the post stays at the top of the conversation as a banner, with its title, thumbnail and link. That suits sites where every page has its own person:

  • Real estate: a buyer clicks the button on a property and writes to its agent.
  • Coaching and freelancers: a visitor writes to the coach from their profile.
  • Marketplaces: a buyer writes to the vendor from a product, and the chat lands in the inbox of that vendor.
  • Directories: a visitor writes to the owner of a listing.

You can build the button without writing the shortcode. Better Messages → Settings → Shortcodes has a visual Shortcode Builder with a live preview and a real test chat, and the shortcode reference lists every attribute and example.

On the free version the button opens the conversation on your Messages page. On the WebSocket version, with mini chats on, it opens in a small window on the page the visitor is reading.

Seven styles of the Live Chat button on a vendor page, from a plain link to a pill-shaped button with an icon

Floating bubble and mini widgets#

Mini widgets keep chat within reach on every page, in the style you choose under Better Messages → Settings → Appearance → Mini widgets:

  • Floating Bubble: a round button in the corner that opens a panel, with its colors and icon yours to choose.
  • Classic Bar: a tab bar along the bottom of the screen.

The panel has tabs for conversations, friends, groups, courses, AI bots, chat rooms and users, which you can switch on or off by role. It is a way into the whole messenger rather than one chat with your team, so the Live Chat button is still what takes a visitor straight to a person. The Conversations tab on the mini bar and the popup chat windows need the WebSocket version.

The WordPress chat widget guide shows both styles and helps you choose.

The mini widget panel open in the corner of a page, with its tabs and a list of recent conversations

Live chat for visitors, with no account#

A visitor with a question before buying will rarely register to ask it. With guest chat on, a visitor who clicks a Live Chat button is asked for a display name and can then write, send files and use emoji and GIFs. Guest chat stays off until you turn it on, on the Get started card or at Better Messages → Settings → General.

A guest is known by their browser, and comes back to the same name and conversations on later visits from it. Clearing site data or opening the site on another device makes a new guest. A guest also leaves no email address, so they read your reply on the site, not in their inbox.

Guests appear in the inbox of whoever answers, marked as guests, beside members. In chat rooms, guest access is set room by room. The guest access docs have the rest of the options.

Live chat for members#

The other kind is members writing to each other in real time. It works on any WordPress site with no community plugin, as Better Messages has its own user search and messenger. It also integrates with BuddyPress, BuddyBoss, PeepSo, Ultimate Member, FluentCommunity, ProfileGrid, UsersWP and WP User Manager.

An integration adds message buttons to profiles, and on platforms with groups it can pair a group with a chat. On BuddyBoss, joining the group adds a member to its chat and leaving removes them. If your site is built around its members, the community chat guide goes further.

Group conversations and chat rooms#

Live chat is rarely one person talking to one person. The same messenger handles:

  • Group conversations: several people in one group chat, started from the new conversation screen.
  • Chat rooms: lasting public or private rooms placed on any page with [better_messages_chat_room id="123"], with guests allowed room by room. See how to add a chat room to your WordPress site.
  • Mass messaging: a broadcast from WP Admin where each recipient gets a private conversation, and replies go back to the sender alone.

There is no separate rooms plugin to install.

Polling or WebSocket: how messages arrive#

The free version polls: each browser asks your WordPress server for new messages, by default every 3 seconds in an open conversation and every 10 seconds on other pages. It runs on any hosting with nothing else to set up. A message takes 1 to 10 seconds to arrive, which suits a coach with a handful of clients or a small shop.

The WebSocket version keeps a connection open to WordPlus Cloud, which is included with the license, so there is no server of your own to run. Messages arrive in under 200 ms, the polling load leaves your server, and it adds typing indicators, online status, web push, calls, end-to-end encryption and AI translation.

Real-time messaging on WordPress shows the difference in practice, and the docs compare the two modes.

Voice and video calls inside the live chat#

On the WebSocket version, a chat can become a voice or video call from the same conversation. The other person hears it ring and the call opens on the page, so nobody leaves your site for a meeting link. Guests can take part too, unless you restrict them in the call settings.

Group calls work in group conversations and chat rooms. A site includes 32 people on video or 50 on audio at once, plus 5,000 credits every month for more. The WordPress video call post has the details.

AI chat bots in the live chat#

Connect OpenAI, Anthropic Claude or Google Gemini with your own API key, on either version, and a bot joins the chat as a regular participant, following the instructions you give it. A Live Chat button can open a conversation with it, so a visitor gets an answer at any hour:

[better_messages_live_chat_button user_id="-3" text="Chat with our AI"]

Use the negative id of your bot, from Better Messages → AI Chat Bots. A bot answers in its own conversations and when mentioned in a group. It does not step into a conversation with a person, or hand one over to a person. AI chat bots for WordPress covers the setup, and adding an AI chatbot to a WordPress site shows a bot on a public page from key to first answer.

Other AI features work beside the chat rather than as bots. Content moderation can flag or hold harmful messages, with an OpenAI key or, on the WebSocket version, with none. Message translation on the WebSocket version shows each reader the messages in their language, from 69. Voice messages can be transcribed as well.

History, search and privacy#

Every conversation is stored in your WordPress database, and people can search every conversation they are in. WordPress's own tools, Tools → Export Personal Data and Erase Personal Data, cover messages, guest messages included.

On the WebSocket version, message content is encrypted on your server before it reaches the relay, which cannot read it and stores none of it. End-to-end encryption can be switched on per conversation. See GDPR-compliant WordPress chat for the full picture.

Free or WebSocket for live chat#

FeatureFreeWebSocket
Live Chat button and Shortcode Builderyesyes
Floating bubble and mini widgetsyesyes
Conversations tab on the mini barnoyes
Popup chat windows on the pagenoyes
Private and group conversationsyesyes
Chat rooms, with guests if you allow themyesyes
Guest chat with no accountyesyes
File, image and video sharingyesyes
AI chat bots with your own API keyyesyes
Message deliverypolling, 1 to 10 secondsinstant, under 200 ms
Typing indicators and online statusnoyes
Voice and video callsnoyes
Group callsnoyes
Web push notificationsnoyes
End-to-end encryption per conversationnoyes
AI message translation across 69 languagesnoyes
Your own branded iOS and Android appsnoyes

The free version is enough for one or two chats at a time. Choose the WebSocket version once visitors expect instant answers, you want calls, or many people are active in a chat room, where polling gets heavy for your server. Pricing lists each plan, and your license goes in under Better Messages → Licence.

Frequently asked questions#

Is there a free live chat plugin for WordPress?#

Yes. Better Messages is free on WordPress.org, and the free version has the Live Chat button, guest chat, private and group conversations, chat rooms and AI chat bots with your own API key. It delivers messages by polling every few seconds.

Does the live chat work without a login?#

Yes, once Guest Chat is on. A visitor types a display name and starts writing. In chat rooms you allow guests room by room, so some rooms can stay members-only.

Can I have more than one support agent?#

Each Live Chat button names one person who answers, and different pages can name different people, such as the author of a post or the vendor of a listing. Better Messages has no shared agent queue, assignment or transfers between agents, so a team that needs those should choose a tool built for support.

Does it work on phones?#

Yes. On a phone the messenger opens full screen in the browser. The WebSocket version adds web push and your own branded iOS and Android apps.

Can the live chat run on WooCommerce product pages?#

Yes. The WooCommerce integration adds a contact button to product, cart, checkout and order pages, once you pick who receives the messages. On a marketplace with Dokan, WCFM, WC Vendors or MultiVendorX, the chat goes to the vendor rather than the store owner. See WooCommerce customer chat.

Does it need a community plugin?#

No. Better Messages runs on any WordPress site with its own user search and messenger. With BuddyPress, BuddyBoss, PeepSo, Ultimate Member, FluentCommunity and others, it also adds message buttons to profiles and, on platforms with groups, can pair a group with a chat.

Is the live chat GDPR compliant?#

It gives you what GDPR asks of a chat. Messages stay in your WordPress database, and the WordPress export and erasure tools cover them, guests included. On the WebSocket version the relay cannot read message content and stores none of it, and end-to-end encryption can be switched on per conversation.

Can I see who is online?#

On the WebSocket version, yes: online status and typing indicators update live. The free version has neither.

How is this different from a hosted live chat widget?#

A hosted widget adds a script to your site and keeps conversations on its own servers, with its own accounts and inbox. Better Messages runs inside WordPress, with the same user accounts, roles and theme, conversations in your database and a license per site. A hosted tool built for support is the better fit if you need agent queues and routing.

See also#

Install Better Messages from WordPress.org →