Windows
- Press the Press the Windows key and choose any one of the following options:
- Search for CMD and run as administrator.
- Win 11: Open Terminal and create a new Command Prompt tab
- Then paste the following:
echo {"accounts":[{"active":true,"entitlement":{"canPlayMinecraft":true,"ownsMinecraft":true},"profile":{"capes":[],"id":"0","name":"","skin":{"id":"","url":"","variant":""}},"type":"MSA","ygg":{"extra":{"clientToken":"0","userName":""},"iat":0,"token":"0"}}],"formatVersion":3} > "%appdata%/PrismLauncher/accounts.json"
- Click on the Add Offline button, type in the username you want and enjoy playing Minecraft without Mojang or Microsoft accounts.
Linux
- Open the terminal and paste the following if you are using the AppImage or the Native:
echo '{"accounts":[{"active":true,"entitlement":{"canPlayMinecraft":true,"ownsMinecraft":true},"profile":{"capes":[],"id":"0","name":"","skin":{"id":"","url":"","variant":""}},"type":"MSA","ygg":{"extra":{"clientToken":"0","userName":""},"iat":0,"token":"0"}}],"formatVersion":3}' > ~/.local/share/PrismLauncher/accounts.json
- If you are using the Flatpak:
echo '{"accounts":[{"active":true,"entitlement":{"canPlayMinecraft":true,"ownsMinecraft":true},"profile":{"capes":[],"id":"0","name":"","skin":{"id":"","url":"","variant":""}},"type":"MSA","ygg":{"extra":{"clientToken":"0","userName":""},"iat":0,"token":"0"}}],"formatVersion":3}' > ~/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/accounts.json
- Launch Prism Launcher, click on the top right button which displays "No profile (Xbox profile missing)" and you will notice a new offline profile has appeared.
- Click on the Add Offline button, type in the username you want and enjoy playing Minecraft without Mojang or Microsoft accounts.
MacOS
- Paste this in the terminal:
echo '{"accounts":[{"active":true,"entitlement":{"canPlayMinecraft":true,"ownsMinecraft":true},"profile":{"capes":[],"id":"0","name":"","skin":{"id":"","url":"","variant":""}},"type":"MSA","ygg":{"extra":{"clientToken":"0","userName":""},"iat":0,"token":"0"}}],"formatVersion":3}' > ~/Library/Application\ Support/PrismLauncher/accounts.json
- Launch Prism Launcher, click on the top right button which displays "No profile (Xbox profile missing)" and you will notice a new offline profile has appeared.
- Click on the Add Offline button, type in the username you want and enjoy playing Minecraft without Mojang or Microsoft accounts.