UUID Generator
Generate UUID v4 and v7, one or in bulk. Look up a Minecraft player's premium and offline-mode UUID by name.
The premium UUID comes from Mojang; the offline UUID is computed from the name and is case-sensitive.
What is a UUID?
A UUID is a 128-bit unique identifier written as 36 characters in the 8-4-4-4-12 pattern. Any server or app can create one on its own without asking a central counter, and collisions are practically impossible. They are used for database rows, file names, API keys and session IDs.
v4 or v7?
v4 is fully random (122 bits). v7 (RFC 9562, 2024) carries the time in milliseconds in its first 48 bits and random bits in the rest, so it sorts in creation order. Using v7 as a database primary key keeps the index tidy and makes inserts faster. The creation time can be read from the UUID; if that should stay hidden, pick v4.
Minecraft UUIDs
Every Minecraft: Java Edition account has a fixed UUID that stays the same when the player changes their name. whitelist.json, ops.json, ban lists and plugins such as LuckPerms identify players by UUID. The premium UUID comes from Mojang. On servers with online-mode=false (offline or cracked servers) the server computes the UUID from the name itself: a version 3 UUID from the MD5 hash of OfflinePlayer: plus the player name. It is case-sensitive: Steve and steve are two different players.
Switching a server from online to offline mode (or back) changes every UUID, so inventories, permissions and claims seem to vanish. Move player data to the new UUIDs before you switch. Check whether your server is reachable with the Minecraft server status tool, and for a server in Istanbul on NVMe storage see our Minecraft server hosting plans.
More free tools
FAQ
About UUID Generator
In practice, yes. v4 has 122 random bits; generating a billion UUIDs per second, it would take about 85 years to reach a 50 percent chance of a single collision. In v7, UUIDs made in the same millisecond are still separated by 74 random bits. This tool uses the browser's secure random number generator.
The premium UUID is assigned at random by Mojang when the account is created. An offline server does not ask Mojang; it computes the UUID from the player name. So one name has two different UUIDs, and the offline one also changes with the letter case of the name. When moving player data, use the UUID that matches the mode your server runs in.
Bedrock accounts use an Xbox ID (XUID) instead of a Mojang UUID, so they do not show up here. For Bedrock players joining a Java server through Geyser and Floodgate, the UUID is derived from the XUID and starts with 00000000-0000-0000-.