Skip to content
Free tool

Discord Permission Calculator: Calculate permission bitfields

The Discord Permission Calculator converts selected role or bot permissions into a permission integer (e.g. 2147534912 for a community bot), decodes existing values into individual permissions, and builds an invite link for your bot.

Built by Justin Schuessler

Free, with no sign-in or bot token required: the calculator runs entirely in your browser. Nothing is uploaded or stored.

Need Discord bot hosting too? Keep your bot running 24/7.

Decimal

0

Hex

0x0

Example result

How the Discord Permissions Calculator works

You select permissions, and the tool converts them into the permission integer for roles and bot invites. It can also break an existing number back down into individual permissions. The values below come from two tool presets; your result depends on your selection.

Example · “Community Bot” and “Default moderator” presets

Input: permissions (Community Bot)

Send messages
SEND_MESSAGES
Bit 11
Embed links
EMBED_LINKS
Bit 14
Attach files
ATTACH_FILES
Bit 15
Add reactions
ADD_REACTIONS
Bit 6
Use application commands
USE_APPLICATION_COMMANDS
Bit 31

Output: bitfield

Decimal
2147534912
Enter this number as the permissions value in the bot invite link or your bot code.
Hex
0x8000c840
The same value in hexadecimal notation.

Input: bitfield

Decimal
1099646968838
For example, from a role configuration or an invite link.

Output: permissions (8)

View channel
VIEW_CHANNEL
Kick members
KICK_MEMBERS
Marked with a warning icon in the tool: a particularly broad permission.
Ban members
BAN_MEMBERS
Marked with a warning icon in the tool: a particularly broad permission.
Manage nicknames
MANAGE_NICKNAMES
Marked with a warning icon in the tool: a particularly broad permission.
Moderate members (timeout)
MODERATE_MEMBERS
Marked with a warning icon in the tool: a particularly broad permission.
Manage messages
MANAGE_MESSAGES
Marked with a warning icon in the tool: a particularly broad permission.
Read message history
READ_MESSAGE_HISTORY
Connect
CONNECT

Basics

Discord permissions, bitfields, and invite links explained

How permission integers work, how to decode existing values, and what to watch out for with Administrator.

What is a Discord permission integer?

Discord stores each permission as a single bit in a large integer called a bitfield. The calculator recognizes 52 permissions, from bit 0 to bit 52, and combines the bits of all selected permissions into a number shown in decimal and hex. Administrator, for example, is bit 3 and has a value of 8 on its own.

Decode existing values

In the “Bitfield → permissions” tab, paste a number in decimal or hex with a 0x prefix, such as one from your bot code or an invite link. The calculator selects all permissions it contains and shows an error for invalid input. If the value contains bits the tool doesn't recognize, a separate notice tells you.

Bot invite link via OAuth2

In the invite link generator, enter your bot's Client ID (Application ID), a 17- to 20-digit number, and select the bot and/or applications.commands scopes. The calculator builds the link https://discord.com/oauth2/authorize?client_id=…&permissions=…&scope=… using your current permission integer. Copy the link and open it in your browser.

Role permissions, channel overwrites, and Administrator

In the Discord app, you assign permissions per role under Server Settings → Roles. Channel overwrites allow or deny individual permissions for each channel. Administrator overrides all channel overwrites and grants unrestricted control over the server. That's why the calculator asks for confirmation before copying a value containing Administrator. The calculator doesn't change anything on your server.

How it works

How to calculate Discord permissions and build a bot invite link

From your first selected permission to a bot on your server: these six steps guide you through the calculator.

Step 1

Open the “Permissions → Bitfield” tab

The calculator opens on the “Permissions → Bitfield” tab. Here you can build a new value for a role or your bot.

Step 2

Choose a preset or select permissions

Click a preset such as “Community Bot” or “Standard Moderator,” or open the categories and select each permission individually. The API name appears next to each permission, for example SEND_MESSAGES.

Step 3

Copy permission integer

Read the result as a decimal or hex number and copy it. If Administrator is selected, confirm the security prompt first.

Step 4

Enter Client ID and scopes

Optionally, open the invite link generator, enter your bot's Client ID (17 to 20 digits), and select the bot and/or applications.commands scopes.

Step 5

Copy invite link

Copy the finished invite link and open it in your browser to add the bot to your server with exactly those permissions.

Step 6

Check an existing value

Switch to the “Bitfield → permissions” tab and paste a number in decimal or 0x-prefixed hex. The calculator selects all permissions it contains.

Presets

Presets for moderators, music bots, and community bots

Clicking a preset selects the corresponding permissions. You can then select or deselect each permission individually. The values in the table are calculated by the same function as the calculator above.

PresetPermissionsDecimalHex
Read only
  • View channel (VIEW_CHANNEL)
  • Read message history (READ_MESSAGE_HISTORY)
  • Connect (CONNECT)
11151360x110400
Default moderator
  • View channel (VIEW_CHANNEL)
  • Read message history (READ_MESSAGE_HISTORY)
  • Connect (CONNECT)
  • Kick members (KICK_MEMBERS)
  • Ban members (BAN_MEMBERS)
  • Moderate members (timeout) (MODERATE_MEMBERS)
  • Manage messages (MANAGE_MESSAGES)
  • Manage nicknames (MANAGE_NICKNAMES)
10996469688380x10008112406
Voice/music bot
  • Connect (CONNECT)
  • Speak (SPEAK)
  • Use voice activation (USE_VAD)
  • Priority speaker (PRIORITY_SPEAKER)
  • Move members (MOVE_MEMBERS)
534776320x3300100
Community Bot
  • Send messages (SEND_MESSAGES)
  • Embed links (EMBED_LINKS)
  • Attach files (ATTACH_FILES)
  • Use application commands (USE_APPLICATION_COMMANDS)
  • Add reactions (ADD_REACTIONS)
21475349120x8000c840
Full access
  • Administrator (ADMINISTRATOR)
80x8

Explore more

More tools for Discord bots and permissions

CHMOD Calculator

Build Unix/Linux file permissions using checkboxes to get an octal value and symbolic notation, or decode them in reverse — including setuid/setgid/the sticky bit and a ready-to-copy chmod command.

Built by Justin Schuessler

Discord Timestamp Generator

Generate Discord timestamp tags (<t:...:STYLE>) from a date and time, with previews for UTC, your time zone and common time zones across all 9 styles, copy buttons and a parser for existing tags. Runs entirely in your browser.

Built by Justin Schuessler

Discord Snowflake Decoder

Decode any Discord ID (message, user, channel, server, role, attachment, webhook, ...) from the same Snowflake—creation time, Discord timestamp tag, and internal worker/process values—without specifying its type. Entirely in your browser.

Built by Justin Schuessler

Discord Role Color Picker

Choose Discord role colors and instantly copy their hex and decimal values. Includes a two-color gradient (Enhanced Role Styles), Discord's 20 default colors, and live previews as a chat message and member list entry.

Built by Justin Schuessler

Discord Embed Builder

Build Discord Embeds with a form, preview them as actual Embeds in real time, and export them as JSON, discord.py, or discord.js—all in your browser.

Built by Justin Schüssler

Was this tool helpful?

Your feedback helps us prioritize and improve content.

FAQ

Frequently asked questions about the Discord Permission Calculator

Quick answers about permission integers, invite links, presets, Administrator, and privacy.

What does a Discord Permission Calculator do?

It converts selected role or bot permissions into a permission integer and shows it in decimal and hex. For example, the “Community Bot” preset (Send messages, Embed links, Attach files, Add reactions, Use application commands) produces 2147534912 and 0x8000c840. It can also break an existing number down into individual permissions.

How do I decode an existing permission integer?

Switch to the “Bitfield → permissions” tab and paste the number as a decimal value or a 0x-prefixed hex value. The calculator selects all permissions it contains and shows an error for invalid input. A separate notice flags bits the tool doesn't recognize.

How do I create a bot invite link with the right permissions?

Open the invite link generator, enter your bot's Client ID (17 to 20 digits), and select the bot and/or applications.commands scopes. The calculator builds the link in the format https://discord.com/oauth2/authorize?client_id=…&permissions=…&scope=… using your current value. Copy it and open it in your browser to add the bot to your server.

Which permissions does a moderator or music bot need?

Presets are a starting point: “Default moderator” selects View channel, Read message history, Connect, Kick members, Ban members, Moderate members (timeout), Manage messages, Manage nicknames. “Voice/music bot” selects Connect, Speak, Use voice activation, Priority speaker, Move members. Give a role or bot only the permissions it actually needs, then adjust the selection using the checkboxes.

What number represents Administrator, and why does the tool warn you?

Administrator is bit 3 and has a value of 8 on its own. This permission overrides all channel overwrites and grants unrestricted control over the server. That's why the calculator asks you to confirm before copying any value containing Administrator, including in an invite link.

What does the warning icon next to some permissions mean?

When server 2FA is enabled, Discord requires a 2FA-protected account to use these permissions, or they grant extensive moderation powers over members, threads, or events. If selected, the calculator lists them again below the result as high-impact permissions.

How do I assign permissions on a Discord server?

In the Discord app, you assign permissions per role under Server Settings → Roles. Channel overwrites extend or restrict them for individual channels. The calculator doesn't change anything on your server: it provides the right number for bot invite links, bot code, or PermissionOverwrite objects. If your bot is missing permissions after being invited, check its role and the channel overwrites in your server settings.

Is the Discord Permission Calculator free, and do I need my bot token?

The calculator is free to use without signing in. It needs neither a bot token nor a client secret: it uses only the publicly documented permission bitmask and runs entirely in your browser. The Client ID for the invite link is public anyway and isn't stored anywhere.

Still have questions?

Contact Support
Discord server listGaming, roleplay, modding, and more — with member counts and vote rankings.
Building a Discord bot?

Your bot needs a reliable server that runs around the clock

A ZAP-Hosting VPS or Root Server hosts your Discord bot reliably, without downtime.

4.6/5 Google32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all Discord tools