Discord Bot Invite URL Generator
The Discord bot invite URL generator builds an OAuth authorization link from your application's client ID and the permissions you select. Server admins use that link to add your bot to their guild with exactly the access you request.
What a bot invite URL does
When a server admin opens the invite URL, Discord shows a permission summary and asks them to choose which server to add the bot to. The permissions you selected when building the URL are pre-checked and locked — the admin cannot deselect them from the authorization screen.
Each permission corresponds to a numeric bit in a permissions integer. The invite URL passes this integer as a query parameter. If you change permissions in your code later, you need to generate a new URL to share the updated link.
Finding your client ID
Open the Discord Developer Portal at discord.com/developers, sign in, and click your application. The General Information page lists an Application ID, which is the same as the client ID used in OAuth URLs.
The Application ID is public. It appears in bot invites, OAuth URLs, and is not sensitive on its own. The sensitive part is your bot token, which you should never share publicly.
Selecting permissions
The form lists every Discord permission as a checkbox. Scroll through the list and check only the capabilities your bot actually uses. If your bot only reads messages and sends replies, check View Channel and Send Messages. If it manages roles, also check Manage Roles.
Administrator permission grants access to everything. Most server owners will reject an invite that asks for it unless your bot genuinely manages the entire server. Always request the minimum set.
How permission values combine
Discord permissions are stored as bits in a 53-bit integer. When you check multiple permissions, the tool adds up the corresponding bit values into a single integer. This integer is what appears in the permissions parameter of the invite URL.
If you already know the permission integer from a bot library or config, you can compare it against the value this tool shows. The permission calculator on Tolz.me also converts between checkboxes and integers.
Building the invite URL step by step
Enter your Application ID in the first field. Leave it blank to see the URL structure without a real client ID — the output will be incomplete but the format is visible.
Check the permission boxes your bot needs. The permission value and invite URL update in real time as you toggle boxes. When you are done, click Copy invite URL.
Send the URL to server admins who want to add your bot. You can also include the permission integer in your documentation so admins know exactly what access the bot requests.
Scope and authorization basics
The generated URL includes the bot and applications.commands scopes by default. This means the link authorizes the bot functionality and slash commands in the target server. You do not normally need to change this.
After an admin authorizes the bot, Discord redirects to your application page. The actual bot addition happens silently in the background. If authorization fails, Discord shows an error screen with a reason — the most common is the admin trying to add the bot to a server where they do not have the Manage Server permission.
Security considerations
Invite URLs do not expose your bot token. Only the Application ID and permissions are in the URL. If a URL is posted publicly, anyone can use it to add your bot to a server — that is by design for public bots.
If you need to revoke a leaked bot token, go to the Developer Portal, click your application, navigate to the Bot page, and click Reset Token. Any existing guilds using the old token will stop working until the new token is updated in your code.
For private bots under active development, only share invite URLs with trusted server owners or test servers. Rotate URLs if you change your permission requirements significantly.
Explore more discord tools on Tolz.me.