Discord embed generator

Build a Discord embed and see it the way your members will. When it looks right, copy the JSON for a webhook or a bot, or ready-made discord.js code. This page saves nothing and never sends your message anywhere. Pictures are loaded from the address you type.

Message

0 / 2000

0 / 80

Name and avatar only apply when you send the JSON with a webhook. A bot always posts under its own name.

Embeds

1 / 10
Embed 1
21 / 256

74 / 4096

Author

0 / 256

Fields

3 / 25
Field 1
5 / 256

15 / 1024

Field 2
5 / 256

18 / 1024

Field 3
4 / 256

11 / 1024

Footer

17 / 2048

Copy your embed

Characters across all embeds: 170 / 6000

Your message as JSON. Send it as the body of a webhook request, or use it when your own bot creates a message.

Webhook JSON
{
  "embeds": [
    {
      "title": "Welcome to the server",
      "description": "Read the **rules**, pick your roles and say hello. *Be kind* and have fun.",
      "color": 5793266,
      "footer": {
        "text": "Glad you are here"
      },
      "fields": [
        {
          "name": "Rules",
          "value": "Read them first",
          "inline": true
        },
        {
          "name": "Roles",
          "value": "Pick what you like",
          "inline": true
        },
        {
          "name": "Chat",
          "value": "Come say hi",
          "inline": true
        }
      ]
    }
  ]
}

How to make a Discord embed

  1. Fill in your embed

    Give it a title, a description and a color. Add an author, fields, pictures and a footer if you want them. A field can sit next to other fields or take a full row. One message holds up to 10 embeds.

  2. Check the preview

    The preview draws the color bar, author, title, text, fields, pictures and footer like Discord does. Each counter turns amber when you get close to a Discord limit and red when you are over it.

  3. Copy the JSON or the code

    Copy the webhook JSON and send it with a webhook or your own bot. Or copy the discord.js code into your project. Already have embed JSON? Paste it in and edit it here.

Common questions

How do I send an embed with a webhook?
In Discord, open Server Settings, go to Integrations, then Webhooks. Create a webhook, pick the channel and copy the webhook URL. Build your embed here and copy the JSON from the Webhook JSON tab. Then send it to the webhook URL as a POST request with the header Content-Type: application/json and the JSON as the body. Keep the URL secret, because anyone who has it can post in that channel. This page never asks for your webhook URL and does not send the message for you.
How do I send an embed with a bot?
If your bot uses discord.js, copy the code from the discord.js tab into a command or an event handler. It sends the embed with channel.send. Other libraries have their own embed class with the same parts. You can also send the JSON as the body when your bot creates a message through Discord's API, because content and embeds have the same names there. The webhook name and picture only work with webhooks.
What are the Discord embed limits?
A title holds up to 256 characters, a description 4096, a field name 256, a field value 1024, the footer text 2048 and the author name 256. One embed has up to 25 fields. All of these texts in all embeds of one message together must stay within 6000 characters, and one message holds up to 10 embeds. Spaces at the start and end do not count. This tool counts for you and shows what is too long.
Why is the embed color a number in the JSON?
Discord's API takes the color as a whole number, not as a hex code. The hex code #5865F2 is the number 5793266. Pick a color here and the JSON already contains the right number. To convert one yourself, read the six characters after the # as a base 16 number.
Why is my embed not showing up?
An embed with nothing in it is not shown, and a color alone is not enough. Check that every field has both a name and a value, that every link and picture address starts with http:// or https://, and that all embeds together stay within 6000 characters. If Discord answers with Bad Request, that often means a limit is broken or a value is not valid. If a bot sends the embed, also give it the Embed Links permission in that channel.
Can a Discord embed have buttons?
Not inside the embed. Buttons belong to the message, and one message can carry an embed and buttons together. A link button just opens an address. Every other button needs a bot that reacts to the click. The message builder on this site helps you put a message with buttons together.

Next step: Server Management

Let your bot send the embed for you

With SCNX you write the message and its embeds in the dashboard and your own bot sends them. Once at the time you pick, or again every day, week or month.

See what your bot can send