Convert a name or UUID

Enter a Java Edition username to get its UUID, or a UUID to get the current username.

Nothing converted yet

Results show the UUID with and without dashes, ready to copy.

About UUIDs

A UUID is the permanent ID of a Minecraft: Java Edition account. It stays the same when a player changes their name, which is why servers and plugins store player data by UUID.

  • Dashed and undashed are the same value. Mojang’s services use the undashed form; most commands, files and plugins use the dashed form.
  • UUID to name returns the current name only. Previous names aren’t available from Mojang any more.
  • Offline-mode UUIDs are calculated by the server from the exact name, so they differ from the real account UUID and change if the name’s capitalisation changes.

Common questions

What is a Minecraft UUID?

A 128-bit identifier that Mojang gives a Java Edition account when it is created. Servers, plugins and world files use it to recognise a player. The UUID format reference explains the different ways it is written.

Does a UUID change when a player changes their name?

No. The UUID belongs to the account, not the name, so it stays the same after any number of name changes.

What is an offline-mode UUID?

A server with online-mode=false doesn’t check accounts, so it calculates a UUID from the name instead. It differs from the real account UUID and changes if the capitalisation of the name changes.

Does this work for Bedrock Edition players?

No. Bedrock Edition identifies players by Xbox user ID (XUID), not by a Mojang UUID.