I've seen other people with spaces in their names and I'm not sure how I can, as well. I know that you can't do this just by changing your name, as Mojang doesn't allow it.

Is there any way I can?

  • I posted an answer addressing the reasons behind this, but in hindsight I believe asking to circumvent security measures of any kind is not allowed here.
    – Joachim
    Commented Feb 18 at 15:09
  • 3
    I’m voting to close this question because it is asking for help circumventing a game's policy.
    – Joachim
    Commented Feb 18 at 15:10
  • 2
    @Joachim I don't think that close reason applies because they didn't realize they were trying to circumvent a policy.
    – pppery
    Commented Feb 19 at 2:06
  • @pppery I take the "Mojang doesn't allow it" as an admittance of this, but it might not have been, indeed. I'll wait to see how others react, and undeleted my answer for now.
    – Joachim
    Commented Feb 19 at 8:38
  • I'm voting to leave open for the same reason pppery said. I don't think the OP was trying to circumvent anything and was purely curious on if its possible.
    – Timmy Jim
    Commented Feb 22 at 19:25

2 Answers 2


You cannot. Whatever you saw was probably a team prefix, a custom scoreboard display (1.21+) or something from a mod.


You can't (in Java Edition*).

During alpha there seemed to have been even more leeway when it came to creating usernames, allowing users to include dots and spaces, and have names consisting of two characters (source).

And it was apparently possible for longer to get a space as the first or last character of a username (source), which is perhaps corroborated by this old official Minecraft page:

No Spaces are allowed between characters [but compare to the "No spaces" requirement here]

This got fixed, however, probably after Minecraft left alpha. Only much later, in 2020, was this followed up by a username "purge", when Mojang started to go through the list of usernames and renaming those with invalid characters (see this video, for instance).

Spaces in usernames are especially annoying for moderators, as they have no way to target those using commands (see here, for example) and make it much harder to ban those users (hence an illegal trade in those usernames, see e.g. this video).

* In Bedrock it is allowed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .