Skip to content
ONLINE 101010 TECH 010101 TIPS
  • News
  • How-To
  • Social
  • Streaming
  • Gaming
  • Reviews
  • News
  • How-To
  • Social
  • Streaming
  • Gaming
  • Reviews
  1. Home/
  2. Social Media/
  3. How to Add a Discord Widget to Your Website

How to Add a Discord Widget to Your Website

Ben Stockton
June 2, 2021
6 min read
 - 1-Discord-Widget-Featured

The Discord platform is perfect for creating a community together online, but it requires your members to open Discord itself to use the platform—or does it? Thanks to Discord widgets, you can embed Discord into your own site, allowing users to see who’s online on your Discord server, post messages directly, and more.

There are a few ways you can add a Discord server widget to your site. The easiest way is to use Discord’s own widget system, but this is quite basic. If you need something more advanced, you may need to look at a third-party alternative like WidgetBot. Here’s what you’ll need to know to add a Discord widget to your website.

What Is a Discord Widget and How Can It Be Used?

A Discord widget is an embedded version of the Discord client that you can integrate into pages on a website. Depending on the type of widget you use, this can show your members and channel list, provide a quick invite link to new users, and allow users to chat directly without visiting the Discord website or using the client.

The built-in widget is an advertisement tool for your server, allowing you to show off your members and gain new ones through your site. However, it doesn’t allow you to send messages or interact with the server, other than joining it using the integrated invite link.

 - 2-Discord-Widget-Example

If you want to use a more advanced widget, you can use a third-party alternative called WidgetBot. WidgetBot looks almost exactly like the Discord client, allowing users to sign in, send messages, switch between channels, and use everything that Discord has to offer—all within an embedded widget on your site.

While the setup process for WidgetBot is a little more complex, it offers a more functional alternative to users than Discord’s own widget system. Both types of widgets allow server owners to quickly advertise their server to new users, however, making it a better alternative than Slack, which offers no similar marketing features.

Embedding a Standard Discord Server Widget

There are two stages to adding a standard Discord server widget to your website. You’ll first need to enable the widget, then copy the auto-generated HTML code from Discord’s server settings to embed it into your website.

  1. To start, open the Discord website or desktop client and sign in, then select your server from the server icons on the left. Select your server name at the top of the channel list, then select Server Settings from the drop-down menu.
 - 3-Discord-Server-Settings-Menu-Option
  1. In the Discord settings menu, select Widget. To enable the widget on your server, select the Enable Server Widget slider, placing it in the On position (in green).
 - 4-Enable-Discord-Server-Widget
  1. With the server widget activated for your server, you can now copy the necessary HTML code to embed it into your website. Scroll down to the bottom of the Widget menu, then select Copy in the Premade Widget code box.
 - 5-Copy-Discord-Widget-Code

Once you’ve copied the code snippet containing the premade Discord widget, you can then integrate it into your website code. The widget will allow users to view the active member list and sign up to your server. If you need a more advanced widget, however, you’ll need to use WidgetBot.

Creating Custom Discord Widgets Using WidgetBot

Discord’s widget is a great way to add a more advanced invitation link to your server, but other than showing off your members list, it doesn’t offer much else. If you want to integrate a (near) fully functional version of the Discord client into your website, you can use WidgetBot to do it.

WidgetBot is a fully embedded version of Discord that you can tailor to your needs. Size, functionality, channel support, guest memberships, and more—all can be used in a WidgetBot widget on your site to bring in new users and chat with them directly without needing to visit the Discord website or use the client app.

Some features, such as read-only channels and custom widget themes, require a paid membership. However, the core features (including sending messages and joining the server directly) are supported for free.

Adding WidgetBot to Your Server

To begin, you’ll need to add WidgetBot itself to your server. WidgetBot works by adding the WidgetBot bot to your server, so you’ll need to do that first.

  1. Open the WidgetBot invitation link and sign in to Discord to proceed. You’ll need to select your server from the list, then select Continue to proceed.
 - 6-Invite-WidgetBot
  1. At the next stage, you’ll be asked which permissions you want to grant WidgetBot. Leave all of the checkboxes enabled, then select Authorize to proceed. Return to your server once this process is complete.
 - 7-Authorize-WidgetBot

Embedding WidgetBot on Your Website

Once WidgetBot is running on your server, you can then proceed to add a WidgetBot widget to your website. There are several types of widget you can use, but the simplest way to add a basic widget is to use the ??crate command on your server.

This generates an HTML code snippet that you can easily embed into your web pages, creating a Discord chat icon in the bottom-right corner. Once pressed, this opens a small (and fully functional) Discord client for your web users.

  1. To begin, open the Discord website or client and select your server from the list on the left. In a suitably private channel on your server containing the WidgetBot bot, type ??crate into the message box, then send the message.
 - 8-Send-Crate-Message-Discord
  1. Sending ??crate in your server will cause the bot to automatically generate a HTML code snippet that you can embed. Select the code from the message, then right-click > Copy or select Ctrl + C on your keyboard.
 - 9-Copy-Crate-Code-Discord
  1. With the code copied to your clipboard, paste the code into your website HTML and publish. The code itself will create a Discord icon in the bottom-right—select this to view and interact with the widget, including posting messages to your server directly.
 - 10-Discord-WidgetBot-Widget-Exampl

If you’d prefer to use a different type of WidgetBot widget, you can learn more about each type of widget, including how to create and embed them into your website, by visiting the WidgetBot documentation website.

Making Use of Discord Widgets

A Discord server widget is a good way to advertise your community to new visitors to your website, giving you another way to increase membership. Once you’ve built up your server, you can then think about how to use Discord effectively. You can start by adding bots to your server to increase functionality, from music bots to moderation.

If you’re having trouble with Discord, however, there are solutions. For instance, errors like a Discord fatal Javascript error can usually be fixed by reinstalling the app, while Discord connection issues could point to a problem with your DNS settings. There are a number of Discord alternatives you can try, too, if you still have issues.

Tags: Discord
Share
Written by

Ben Stockton

Ben Stockton is a freelance technology writer based in the United Kingdom. In a past life, Ben was a college lecturer in the UK, training teens and adults. Since leaving the classroom, Ben has taken his teaching experience and applied it to writing tech how-to guides and tutorials, specialising in Linux, Windows, and Android. He has a degree in History and a postgraduate qualification in Computing. <a href='https://www.online-tech-tips.com/author/bstockton/'>Read Ben's Full Bio</a>

View Ben's Profile

Recent Posts

  •  - featured
    The 8 Best Free Anime Apps and Sites for iPhone and Android in 2026Mar 30, 2026
  • Gmail Not Loading in Chrome? Here's How to Fix It (2026) - Gmail Not Loading in Chrome? Here's How to Fix It (2026)
    Gmail Not Loading in Chrome? Here’s How to Fix It (2026)Mar 28, 2026
  • How to Fix Chrome Extensions Not Working After Update: The Extension Emergency Kit - How to Fix Chrome Extensions Not Working After Update: The Extension Emergency Kit
    How to Fix Chrome Extensions Not Working After Update: The Extension Emergency KitMar 27, 2026
  • Steam front page on desktop computer - steam
    How to Fix “Something Went Wrong While Displaying This Content” Error in SteamMar 27, 2026

Search

Categories

  • Gaming (346)
  • How-To (1,118)
  • News (44)
  • Reviews (437)
  • Social Media (462)
  • Streaming (174)
  • Uncategorized (4)

Popular Tags

Adobe AI Alexa Amazon Android Buying Guides ChatGPT Chrome Discord Explainers Facebook FireTV Gadget Reviews Gmail Google Google Docs Google Maps Google Sheets Home Networking Hulu Instagram Internet LinkedIn Minecraft Netflix Nintendo Switch PlayStation Premiere Reddit Remote Work Roblox Roku Roundups Smart Home Snapchat Software Reviews Spotify Steam TikTok Twitch VR WhatsApp Windows X (Twitter) YouTube

Our Publishing Family

Online Tech Tips is part of the AK Internet Consulting publishing family.

  • HELP DESK GEEK
  • THE BACK ROOM TECH
  • SWITCHING TO MAC
  • XBOX ADVISOR

Daily Email Newsletter

Connect With Us

About Online Tech Tips

Online Tech Tips has published easy-to-follow technology tutorials, honest reviews, and practical how-to guides since 2007 — helping millions of readers solve tech problems and get more from their devices.

Learn More →

© 2007-2026 Online Tech Tips.com, LLC.
All Rights Reserved.

  • Home
  • About Us
  • Editorial Standards
  • Contact Us
  • Terms of Use
  • Privacy Policy
Online