Skip to content
Black FridayBlack FridayUp to 50% offUp to 50% offUp to 50% off Premium, Pro and token packs3d 4h leftEnds in 3d 04h 08mSee prices

BlogGuides

Embed Discord Chat on a Website: Widget, Channel or Ticket

Discord's own widget shows who is online but has no chat. How to embed a server, a live channel or a private support chat on your website, and which to pick.

Dani, Founder, AI Ticket Bot

7 min read

Discord gives you no embed code for a text channel, so "a Discord chat on my website" can mean three different things, and each suits a different job.

Can you embed a Discord chat on your website?

Yes, but not with Discord's own widget, because that widget does not show messages. What you can do depends on what you want visitors to get:

What you wantWhat to useWhat the visitor gets
Show your server and invite peopleDiscord's server widgetOnline count, voice channels, an invite
Show a channel's messages liveA third-party channel embedA public view of the channels you connect
Let visitors ask your team for helpA support chat that opens a ticketA private conversation with your staff
Be found on GoogleDiscord's Server Web PageA public page hosted by Discord

The last row is new, and it applies even if you never touch your own site.

What is a Discord widget?

A Discord widget is a small box or image that shows your server on another website: its name, how many members are online and its open voice channels. It is a shop window, not a chat. Nobody can read a message in it or send one.

What the server widget shows

Server name
Yes
Members online
A count, plus a list of names (Discord caps the list at 100)
Voice and stage channels
Only those everyone can access
An invite
Only if you choose an invite channel
Text channels
No
Messages
No, and there is no box to type in

Discord also offers the widget as a plain image in five styles, from a small shield to a large banner. One banner has "Chat Now" printed on it, which confuses people: it is still a picture.

Do not mix it up with Profile Widgets, which are sections on a person's own Discord profile and have nothing to do with your website.

How do you add the Discord server widget to your website?

Turn the widget on in your server's settings, then paste a short piece of code into your page. You need the Manage Server permission.

  1. Open Server Settings

    Find the Widget page in your server's settings. Discord's help centre does not document this screen, so its place in the menu may change

  2. Turn the widget on

    Until it is on, the box has nothing to show

  3. Choose an invite channel

    Optional. Without one, the widget has no invite to offer visitors

  4. Copy your server ID

    Turn on Developer Mode in User Settings, under Advanced, then right-click your server and copy its ID

  5. Paste the code into your page

    Use the snippet below and swap in your ID

<iframe
  src="https://discord.com/widget?id=YOUR_SERVER_ID&theme=dark"
  width="350" height="500" title="Our Discord server"></iframe>

If the box says 0 members online, check that the widget is on and the ID is right.

How do you embed a live Discord channel on a website?

You need a third-party tool, because Discord's widget cannot show a text channel. These tools add their own bot to your server, read the channels you choose and display them in a frame on your site. Some also let visitors post from your site as guests.

It suits a public community feed, such as a game's announcements or a live event.

Before you connect one

  • Which channels its bot can read, and give it only those
  • Whether visitors can post without an account, and who moderates them
  • What it stores about your members and your visitors
  • What your page shows if the tool goes down or changes its price
  • Whether your members know their messages now appear outside Discord

The last one matters most. People write in a server for the people in it, so tell them before their words go on a public page, and never embed a channel where members share personal details or payment problems.

Does Discord already put your server's chat on the web?

It can, if your server is Discoverable, but on Discord's own page rather than yours. Since November 16, 2026, every Discoverable server has a public Server Web Page that anyone can read without a Discord account. It can show automated summaries of public channels and, from mid-December 2026, members' answers in their own words, without names or avatars. Private and role-restricted channels are not included.

Both are on by default, so if you run a Discoverable server, check them in Server Settings, Community, Web Presence. Discord Server Web Pages covers what to turn off and what members control.

How do visitors reach your Discord staff from your website?

Use a website chat that turns each conversation into a private Discord ticket. This is a different tool from an embed. The visitor does not join your community or read anyone else's messages. They ask a question and your team answers it, in the place your team already works.

Support chat

  • One visitor talks to your staff
  • The conversation is private
  • Each question is tracked until it closes
  • A saved transcript when it ends

Public channel embed

  • Everyone on the page reads one channel
  • Messages are visible to all
  • Questions scroll away as the channel moves
  • No record of a single conversation

If most people arriving at your site have a question about an order, an account or a bug, this is the one you want. A Discord ticket bot with a website chat gives you that without a second inbox for staff to watch.

How does AI Ticket Bot's website chat work?

A visitor's first message opens a real Discord ticket, and your staff answer it from Discord while the visitor reads along on your site. It is on Premium and up.

  1. Visitor picks a topic
  2. Answers your questions
  3. First message opens a ticket
  4. AI or staff reply
  5. Rating and transcript

You choose which of your ticket panels appear on the website, so a web chat follows the same rules as any other ticket from that panel: its staff roles, working hours and limits.

  • The AI can answer first. It follows that category's AI setting. With the AI off, the ticket goes to your staff.
  • Visitors do not need a Discord account. They can stay anonymous after a quick security check, sign in with Discord to see their chats on any device, or be signed in by your website's own login. You can also require sign-in for a panel.
  • Language is covered. With ticket translation on, the visitor reads staff replies in their own language, with the original one tap away.
  • Staff keep control. They reply from Discord as usual, and can block a visitor who misuses the chat.
  • It only runs where you allow it. You paste one line of code from the dashboard's Website chat page, and it works only on the domains you list.

When the chat ends, the visitor can rate it and open its transcript. For the setup itself, see our website chat guide.

Which one should you choose?

Use the simplest one that does the job, and remember you can combine them. A server widget and a support chat can sit on the same page: one invites people in, the other helps the ones with a question.

A website chat fits when

  • Visitors need an answer from your team
  • Each conversation should be private and saved
  • Some visitors have no Discord account
  • Your staff already work in Discord

Use something else when

  • You want a public live feed of your community: use a channel embed
  • You only want to show your member count: the free server widget is enough
  • You are on the free plan: website chat starts at Premium
  • You need email, SMS or phone support: it does none of those

Our chat does not show visitors your channels, your member list or your community's conversation, and it does not moderate your server. An anonymous visitor's chat also stays in the browser they started it in: to pick it up on another device, they need to sign in.

Frequently asked questions

Not with Discord's own widget. It shows your server name, online members and voice channels, but no messages and no way to type. To show a live text channel you need a third-party embed tool with a bot in your server. To let visitors talk to your staff privately, use a website chat that opens a support ticket.

It is a small box or image from Discord that shows your server on another website: the name, how many members are online, the voice and stage channels everyone can access, and an invite if you chose an invite channel. It is not a chat and shows no text channels or messages. Profile Widgets are something else: sections on a person's own Discord profile.

With the Manage Server permission, open your server's settings, find the Widget page and turn it on. Choose an invite channel if you want visitors to get an invite. Copy your server ID, then paste Discord's widget frame into your page's HTML with that ID. If it shows 0 members online, check that the widget is on and the ID is right.

No. The server widget is read only and has no message box. Visitors can see who is online and use the invite if you set one, then they have to join the server in Discord to talk. If you want visitors to write from your site, you need a third-party channel embed or a website support chat.

Discord has no embed code for a text channel, so you need a third-party tool. It adds a bot to your server, reads the channels you choose and shows them in a frame on your page. Give it access only to those channels, check what it stores, and tell your members first, because their messages will be visible to anyone on that page.

Yes, with a website chat that opens a ticket. On AI Ticket Bot, on Premium and up, a visitor's first message opens a real Discord ticket. The AI can answer first, your staff reply from Discord, and the visitor reads it live on your site with no Discord account needed. Each conversation stays private and ends with a transcript.

See it on your own server.

Add the bot free, teach it a few of your most common answers, and watch it clear the repeat tickets on its own.

Free plan, no card. Premium is free for 14 days once your tickets are live.