Skip to main content
TheDiscordList

Discord permissions calculator

Tick what a bot or role may do and get the permissions number Discord expects, plus a bot invite link built from it. Paste a number to see which permissions it turns on.

Runs in your browser. No bot token, no Discord login, and the numbers and client ID you enter never leave this page.

Permissions

9 of 52 selected

Sensitive marks permissions that let a bot change members, roles or settings. It turns red when ticked. Bot pages on TheDiscordList mark the same ones.

General server
Membership
Text channels
Voice channels
Events
Advanced
9 selected277025770560

Result

0x408005cc40

Paste a number from an invite link or the Developer Portal and the boxes follow it. Hex starting with 0x works too.

What people see before they add it

The invite asks for 9 permissions, none of them sensitive.

Bot invite link

This is the public application ID, the Application ID on your app's General Information page. The tool never needs the bot token, so do not paste it.

Scopes
https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=277025770560&scope=bot+applications.commands

Enter a valid client ID and keep a scope ticked to get a link you can copy.

Build a bot invite link

  1. Copy your client ID

    Open your application in the Discord Developer Portal and copy the Application ID from General Information. It is public. The bot token on the Bot page is the secret one, and you never need it here.

  2. Tick only what the bot uses

    Start from Basic bot and add one permission at a time. Anything marked Sensitive deserves a reason you could explain to a server owner.

  3. Keep the scopes you need

    Use bot to add the bot user and applications.commands if it has slash commands. The permissions number only applies with bot.

  4. Copy the link and add the bot

    Open it as someone with Manage Server in the target server. Discord shows what is asked and lets the owner untick any permission before adding.

What the number is made of

Each permission is one bit, and its value is 2 to the power of its bit number. The integer is the values of every ticked permission added together: View Channels (1024), Send Messages (2048) and Embed Links (16384) make 19456. Discord's API sends the number as a string, because the higher bits are close to the 253 limit of exact whole numbers in JavaScript. This tool uses BigInt for the same reason.

Permission bits and values
PermissionAPI nameBitValue
Kick MembersKICK_MEMBERS12
Ban MembersBAN_MEMBERS24
AdministratorADMINISTRATOR38
Manage ChannelsMANAGE_CHANNELS416
Manage ServerMANAGE_GUILD532
View ChannelsVIEW_CHANNEL101024
Send MessagesSEND_MESSAGES112048
Manage MessagesMANAGE_MESSAGES138192
Embed LinksEMBED_LINKS1416384
Mention EveryoneMENTION_EVERYONE17131072
Manage RolesMANAGE_ROLES28268435456
Manage WebhooksMANAGE_WEBHOOKS29536870912
Timeout MembersMODERATE_MEMBERS401099511627776

Permissions questions

It is one number that holds a whole set of permissions. Discord gives every permission its own bit, and the integer is the chosen bits added together. The same number appears in bot invite links as permissions=, in role objects from the API and in the Developer Portal, so it always means the same set.

Show people what your bot asks for

Every bot page on TheDiscordList lists the permissions the invite asks for, with the sensitive ones marked, so people can decide before they add it. Listing your bot is free.