Tick the permissions a bot needs to get its permission integer and a ready-to-use invite link, or paste an integer to see what it allows.
8 permissions selected. Paste an integer to see which permissions it contains.
Bot invite link
https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=274878286912&integration_type=0&scope=bot%20applications.commandsAdd your application ID to get a working link.
How to use the permissions calculator
Choose permissions
Tick what your bot needs, or start from a preset and adjust it. Permissions marked 2FA may need the bot owner to have two-factor authentication on.
Copy the integer
The number at the top updates as you tick boxes. Paste a number there instead to decode it.
Add your application ID
Copy it from your app's General Information page in the Discord Developer Portal.
Copy the invite link
Choose Server to add a bot with these permissions, or User for a user-installed app, then copy the link.
How Discord permission integers work
Discord stores permissions as bit flags. Each permission has a fixed position, and the permission integer is the sum of 2^position for every permission included. For example:
| Permission | Position | Value |
|---|---|---|
| Administrator | 3 | 8 |
| Manage Channels | 4 | 16 |
| View Channels | 10 | 1,024 |
| Send Messages | 11 | 2,048 |
| Embed Links | 14 | 16,384 |
So View Channels plus Send Messages is 1024 + 2048 = 3072. Newer permissions sit above position 31, which pushes the integer past what some languages store in a normal number, so Discord's API sends it as a string. This calculator uses exact 64-bit math, and its flag list follows Discord's developer documentation.
Ask for as little as possible
A bot only needs the permissions for what it does. Fewer permissions mean less damage if a token leaks, and server owners are more likely to accept the invite. Channel overwrites can still allow or deny permissions per channel; see Discord permissions explained.
Frequently asked questions
What is a Discord permissions integer?
Each Discord permission is one bit in a number. Adding up the bits for the permissions you choose gives a single integer, such as 8 for Administrator or 2048 for Send Messages. Bot invite links and the API use this number.
How do I decode a permissions integer?
Paste it into the Permissions integer box and press Enter. Every permission it contains gets ticked.
Should my bot ask for Administrator?
Usually not. Administrator grants every permission and ignores channel overwrites, so a compromised bot could do anything in the server. Ask for the specific permissions your bot uses instead.
Do I need the applications.commands scope?
Discord's docs say applications.commands is included by default with the bot scope. Including both in the link is harmless and makes the intent clear.
What does the 2FA label mean?
In servers that require two-factor authentication for moderation, those permissions only work for a bot if the bot owner's Discord account has 2FA enabled.
What's the difference between server and user install?
A server install adds the bot to a server with the permissions you choose. A user install adds the app to a person's account so they can use its commands anywhere, without a bot member or permissions.
Related tools and guides
- How to make a Discord bot invite linkScopes, permissions and least-privilege invites explained.
- Discord permissions explainedRole hierarchy, overwrites and how permissions combine.
- Discord ID to dateDecode any Discord ID into its creation date.
- Better Tickets command permissionsLimit any command by role, channel or permission.