Discord · FREE ONLINE TOOL
Discord Permissions Calculator
Decode and build Discord permission bitfields visually. Toggle individual permissions, see the resulting integer, and understand what any permission number means. Free.
Loading tool...
How to use Discord Permissions Calculator
- Toggle checkboxes to enable/disable individual permissions
- The bitfield value updates live at the top
- Or paste an existing bitfield integer to decode it — checkboxes update automatically
- Click "Copy" to copy the final integer to clipboard
- Use "Clear All" to reset all permissions to zero
Examples & practical tips
- 3072 = View Channel (1024) + Send Messages (2048)
- 84992 = View Channel + Send Messages + Embed Links + Read Message History
- 1099511627776 = Moderate Members (timeout), bit 40
- 4294967296 = Request to Speak, bit 32
About Discord Permissions Calculator
Discord permissions are stored as a single integer called a bitfield, where each bit represents one permission. This tool lets you toggle permissions visually and see the resulting number — or paste an existing number to instantly decode which permissions it represents.
Why bitfields? Discord serializes a variable-length permission integer as a decimal string. This calculator uses BigInt to keep the complete value. Each permission corresponds to a power of 2 (a specific bit position). Combining permissions is done with bitwise OR; checking a permission is done with bitwise AND. This is efficient and language-agnostic.
Common use cases for this calculator: - Setting up bot role permissions in Discord developer portal - Debugging "Missing Permissions" errors in bots - Generating the permissions integer for a bot invite URL (?permissions=NUMBER) - Understanding what permissions a role has from API responses - Building custom role templates for large servers
Key permissions explained: - Administrator (8) — grants all permissions, bypasses channel overrides - Manage Server (32) — change server name, region, integrations - Manage Roles (268435456) — create, edit, delete roles below bot's highest role - Moderate Members (1099511627776) — timeout members - Use Application Commands (2147483648) — use slash commands
Paste a non-negative decimal integer from a Discord API response, bot configuration or invite URL. Known flags are shown individually, and unrecognized bits are preserved. This is a role-level bitfield, not a calculation of effective channel access.
When this comes in handy
- Generating permission integers for bot invite URLs
- Debugging missing permission errors in Discord bots
- Setting up role permissions for Discord servers
- Understanding API responses with permission fields
- Creating minimal-permission bot roles following least-privilege
- Documenting role permission sets for server administration
Frequently asked questions
What is a Discord permission bitfield?
A bitfield is a single integer where each bit represents one permission. Permission flags are powers of 2 (1, 2, 4, 8, 16...). To combine permissions, add or OR the values together. Discord uses this in API responses and bot invite URLs.
How do I use this for a bot invite URL?
Select the permissions your bot needs, copy the resulting integer, then set permissions=NUMBER in your bot's OAuth2 invite URL alongside its required scopes. Discord will pre-check those permissions when the user adds the bot.
What does Administrator permission do?
Administrator (value: 8) grants all permissions and bypasses all channel-level permission overrides. A role with Administrator cannot have permissions restricted by channel overwrites. Avoid granting this to bots unless absolutely necessary.
Why is my total a very large number?
Discord permission values use a variable-length integer. Newer permissions (like Moderate Members at ~1 trillion) have very large flag values because they occupy high bit positions. The number can exceed JavaScript's safe integer range — this tool uses BigInt for accuracy.
Do these permissions apply to specific channels?
Role permissions are server-wide defaults. Channel overrides can further allow or deny permissions per channel. This tool calculates the role-level bitfield; channel overwrites are applied on top by Discord's permission resolution algorithm.
A little more know-how
Discord Permission Flags Reference: Decimal Values, Bits and BigInt
Look up Discord permission flags by API name, bit, decimal value and hex, with correct worked combinations and BigInt examples.
Read guideHow Discord Permission Integers Work: Bitfields, Invites and Overrides
Understand Discord permission math, build a bot invite, and diagnose channel overwrites without confusing a role bitfield with effective permissions.
Read guideKEEP THINGS MOVING
Your next useful shortcut.
Discord
Discord Webhook Sender
Send messages to Discord channels via webhook URL directly from your browser.
Discord
Discord Embed Builder
Build Discord webhook embeds visually with live preview and copy JSON output.
Discord
Discord Timestamp Generator
Generate Discord timestamp format codes that auto-display in every user's local timezone.