Discord Bot Permissions Calculator
Visual Discord permission bit-mask builder. Toggle all 41 permissions (Administrator, Kick, Ban, Manage Messages, Use Slash Commands, Connect, Speak, etc.) and copy the decimal integer for your Developer Portal OAuth URL, bot invite link, or role config.
Paste into Discord Developer Portal → OAuth2 → Permissions, or pass as the permissions field when creating a role via API.
Paste any existing Discord permissions integer to decode it.
General
Membership
Text
Voice
Stage
Channel Management
Build the right Discord permissions integer, every time
Discord packs every permission into a single 64-bit integer bit-mask. Need just 'Send Messages + Embed Links + Attach Files + Read Message History'? That's 116736. Need a full moderator (Kick + Ban + Manage Messages + Timeout)? That's 1099511627782. Getting this wrong means your bot either can't do its job or has way more access than you intended.
The calculator groups all 41 standard permissions by category (General, Membership, Text, Voice, Stage, Channel Management) with clear descriptions so you pick only what you actually need. The decimal integer updates live as you toggle. Paste it into Discord Developer Portal → OAuth2 → Permissions, into your bot's invite URL (`&permissions=...`), or pass it as the `permissions` field when creating/editing a role via the REST API.
You can also paste an existing permissions integer (like `8` for Administrator, or `274877906944` for 'Use Application Commands') and the tool decodes it — highlights every bit that's set. Useful when auditing what permission an existing role actually has, or debugging why your bot returns 50013 Missing Permissions on a specific action.
Enter your bot's Client ID and the calculator generates a ready-to-paste OAuth2 invite URL with the `bot` and `applications.commands` scopes. Share it with server owners — when they click it, Discord prompts them to authorize with exactly the permissions you selected. If your bot does multiple things, request only the least-privilege permissions needed — server owners are increasingly wary of bots that ask for Administrator.
Discord Bot Permissions Calculator — FAQ
What's the Administrator permission in Discord?
Administrator (bit 3, value 8) bypasses EVERY other permission check on the server. A role with Administrator can do anything regardless of other permission toggles. Grant with extreme caution — compromised admin bots have destroyed entire servers. Prefer granular permissions over Administrator for anything except your own secondary account.
How do I use this permissions integer in my bot?
Three places: (1) OAuth2 invite URL — &permissions=... parameter, (2) creating a role via REST API — POST /guilds/{id}/roles with permissions field, (3) channel permission overwrites — PUT /channels/{id}/permissions/{overwrite_id} with allow/deny fields. The integer is the same format everywhere.
Why does my bot return 50013 Missing Permissions?
The bot's highest role is missing a required permission — OR a channel-level permission overwrite is denying what the guild-level role grants. Decode the role's permissions integer here to verify it's set, then check the specific channel's permission overwrites in Discord's channel settings.
What's the difference between a bot's OAuth permissions and a role's permissions?
OAuth permissions (in the invite URL) set the DEFAULT permissions of the bot's auto-created role on join. Once joined, server admins can edit that role OR create new roles and assign them to the bot. The OAuth integer is just the starting state — the bot's effective permissions are always the union of its role permissions.
Do I need permissions like MANAGE_ROLES for a slash-command-only bot?
No. For a slash-command bot you only need `applications.commands` scope plus permissions for what the command actually does (Send Messages to reply, Embed Links to send embeds, etc.). Over-requesting scares server owners.
You might also need
Timestamp Generator
Generate Discord's <t:…> timestamp markdown in every format — short/long date, short/long time, short/long full, relative. Live preview as Discord actually renders it.
Snowflake Decoder
Decode any Discord snowflake ID (user, message, channel, guild) to its exact timestamp, internal worker ID, process ID, and increment counter. Paste any ID, get the breakdown instantly.
Embed Builder
Visual builder for Discord embeds — title, description, fields, author, thumbnail, image, footer, color. Live Discord-accurate preview + copy-ready JSON payload + optional direct-to-webhook send.
Slash Command Builder
Build a Discord application command (slash, user-context, message-context) visually. All 11 option types, choices, autocomplete, min/max/length constraints, channel type filters. Copy-ready JSON + curl registration snippet.

Config Tool Built Into XGamingServer
Get managed Discord Bot hosting with this tool in your panel — configure, deploy, and play in minutes. No file uploads needed.