Back to all tools

Discord Permission Calculator

A Discord permission bitmask is a single integer that encodes all of a role's permissions. Tick the permissions below to get the finished number — or paste a number to see which permissions it contains.

0 permissions selected

General server permissions

Membership

Text channels

Voice channels

How it works

Each Discord permission maps to one bit in a large integer. Enabling a permission sets the matching bit to 1; the combined number is the sum of all enabled bits. Discord uses this single number for roles, channel overrides and the permissions parameter in a bot invite link.

The calculator works both ways: tick permissions and the number updates live; paste a number and the contained permissions get ticked. Because the values exceed JavaScript's safe integer range, it computes with BigInt internally so no precision is lost.

What it's for

Use the finished number in the permissions parameter of a bot invite link, when creating roles via the Discord API, or to quickly decode an existing bitmask. Administrator technically implies every other permission — but the bitmask here stays deliberately literal.

Frequently asked questions

Where do I put this number?
Into the permissions parameter of an OAuth2 bot invite link, or the permissions field when creating or editing a role via the Discord API.
Do I need to tick Administrator?
Administrator automatically grants every permission and bypasses channel overrides. For most bots it's safer to select only the permissions you actually need.
Why is the number so large?
Discord has more than 50 permissions, each occupying its own bit. Higher bits produce very large numbers — which is why the tool computes with BigInt instead of regular numbers.
Discord Permission Calculator — Build a permissions bitmask | CloudMod