How to get your Minecraft bearer token
What is a Minecraft bearer token?
A Minecraft bearer token is a JWT token used to authenticate with Minecraft's private APIs.
NOTE: Bearer tokens only last 24 hours.
Get your bearer token
-
Sign in to your Minecraft account at
minecraft.net
-
Open the Chrome / Firefox developer tools (ctrl + shift + i or f12) or right click
and click inspect element
-
Go to the "console" tab
- Paste this code into the console:
console.log(`; ${document.cookie}`.split('; bearer_token=').pop().split(';').shift())
content_copy
Or, alternatively, drag this
text to your browser's URL shortcuts bar, and click it.
- Copy the bearer token that it shows in the console
You now have your minecraft account's bearer token.
IMPORTANT: if you give someone this token they essentially have full control of your Minecraft account.