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 want | What to use | What the visitor gets |
|---|---|---|
| Show your server and invite people | Discord's server widget | Online count, voice channels, an invite |
| Show a channel's messages live | A third-party channel embed | A public view of the channels you connect |
| Let visitors ask your team for help | A support chat that opens a ticket | A private conversation with your staff |
| Be found on Google | Discord's Server Web Page | A 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.
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
Turn the widget on
Until it is on, the box has nothing to show
Choose an invite channel
Optional. Without one, the widget has no invite to offer visitors
Copy your server ID
Turn on Developer Mode in User Settings, under Advanced, then right-click your server and copy its ID
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.
- Visitor picks a topic
- Answers your questions
- First message opens a ticket
- AI or staff reply
- 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.
Sources and further reading
Keep reading
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.
Keep reading.
All articlesHow to Track Discord Staff Activity Without Unfair Numbers
Track Discord staff fairly: use the Audit Log for moderation and ticket results for support. Message counts and online time reward the wrong work.
8 min read
AI Reply Drafts for Discord Tickets: The AI Writes, Staff Send
AI reply drafts let staff read, edit and send what the AI writes for a Discord ticket. When a draft beats an automatic answer and how to review one well.
8 min read
How to Translate Messages on Discord (PC, Phone and Auto)
Discord documents no built-in translate button. How to translate messages on PC and phone, automatically with a bot, and which tools to stay away from.
8 min read
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.