What a Minecraft UUID is and how to look one up
Worked example
The offline UUID for Steve is 5627dd98-e6be-3c21-b8a8-e92344183641. It is calculated locally from OfflinePlayer:Steve.
A UUID is the 32-character id Mojang assigns to a Java account. Usernames change. The UUID does not. Whitelist.json, bans, LuckPerms, and most plugins should store the UUID so a rename does not break the file.
Use Java name to see if a name already has a public Mojang profile. Use UUID lookup when you have a log line or a banned player id and need the current username. Use Batch when you are checking a short list for a realm or smp.
Two writings of the same UUID exist. The trimmed form is 32 hex digits. The hyphenated form is 8-4-4-4-12. whitelist.json wants hyphens. Some plugins accept either. Offline (cracked) servers do not ask Mojang; they hash OfflinePlayer: plus the name, so that UUID will not match the Mojang one.
Not found in Mojang's profile lookup. Names may be blocked, reserved, or held for 37 days after release. Check the name change settings at minecraft.net to confirm.
UUID lookup FAQ
How do I write a UUID in NBT?
Since Java 1.16, use UUID:[I;a,b,c,d]. Older versions use UUIDMost and UUIDLeast as two signed longs. Use the converter to get both forms.
How do I find my Minecraft UUID?
Switch to UUID lookup and paste your current Java username, or paste a UUID from a log. The tool returns the current name and both UUID writings.
Does my UUID change if I rename?
No. Only the username on the profile changes.
Can I get a username from a UUID?
Yes. Paste the UUID in UUID lookup. Mojang returns the current name on that account.
Does a missing profile mean I can register the name?
No. This tool checks for a public Java profile; it does not reserve names or confirm that registration will accept them. Check the name in your Minecraft account settings. Xbox gamertags are a separate system.
Why can a released name be held for 37 days?
After a rename, the old Java name is protected for 37 days. A missing public profile does not bypass this hold. Confirm in the name change settings at minecraft.net.
Which characters can a Java username contain?
Use 3-16 characters: letters A-Z, digits 0-9, and underscore only.
Do I need to log in?
No. Lookups use Mojang public profile endpoints only.



