Where to find your Bitbucket username

Your Bitbucket username appears in the top right corner of any page when you are logged in. Click your profile icon (usually your avatar or initials) and select "Personal settings" — your username is listed at the top of that page. You can also find it in the URL of your profile: bitbucket.org/[your-username] shows your username in the web address itself.

If you have forgotten your password but remember your email, you can recover your account through the Bitbucket login page. Click "Can't log in?" and enter the email address associated with your account. Bitbucket will send you a password reset link, and once you reset it and log back in, your username will be visible in your profile settings.

Key Takeaways

  • Your Bitbucket username appears in the top right corner under your profile icon when you are logged in.
  • You can see your username in your profile URL, which follows the pattern bitbucket.org/[your-username].
  • Personal settings in your profile always displays your username at the top of the page.
  • If you cannot log in, use the password recovery option on the login page to regain access and view your username.

Checking your username in repository URLs

Every repository you own or contribute to has a URL that includes your username. If you navigate to any of your repositories, the URL will show bitbucket.org/[your-username]/[repository-name]. This is a quick way to confirm your username without entering settings.

When you clone a repository using SSH or HTTPS, the clone URL also contains your username. For SSH, it looks like git@bitbucket.org:[your-username]/[repository-name].git. This is useful if you are setting up Git on a new machine and need to remember your exact username.

Finding your username through account recovery

If you have lost access to your Bitbucket account, you can still discover your username through the recovery process. Go to the Bitbucket login page and select "Can't log in?" Enter the email address you used to create your account. Bitbucket will send you a password reset email, and the email itself may reference your username or account details.

Once you reset your password and log back in, your username will be when ready visible in your profile settings. This method works even if you have not logged in for months or years.

Viewing your username in team or workspace settings

If you are part of a Bitbucket workspace or team, your username is also visible to workspace administrators. Administrators can see all member usernames in the workspace settings under the Members section. If you are unsure of your username and have access to a workspace admin, they can confirm it for you.

Your username remains the same across all workspaces and teams you join. It is a single identifier tied to your Bitbucket account, not to any specific workspace.

What your username is used for

Your Bitbucket username is the identifier people use to mention you in pull requests, issues, and comments. When someone types @[your-username] in a comment, Bitbucket notifies you. It is also the name that appears on your commits if you have configured Git to use your Bitbucket account.

Your username is also part of your profile URL and repository URLs, making it visible to anyone who views your public repositories or profile. If your repositories are private, only people with access can see your username in those URLs.

Changing your Bitbucket username

Bitbucket allows you to change your username, but the process has limits. You can change it once every 30 days through your Personal settings. Go to Personal settings, find the "Username" field, and enter a new username. The new username must be between 3 and 30 characters, contain only lowercase letters, numbers, and hyphens, and not already be taken by another user.

When you change your username, old URLs pointing to your profile or repositories will redirect to your new username for a period of time. However, Git clone URLs and SSH keys will need to be updated to reflect your new username. If you have shared repository URLs with others, let them know about the change so they can update their local clones if needed.

Frequently Asked Questions

Is my Bitbucket username the same as my email address?

No. Your Bitbucket username and email address are separate. You log in with your email address, but your username is a different identifier used for mentions, profiles, and repository URLs. You can change your username without changing your email.

Can I have spaces or capital letters in my Bitbucket username?

No. Bitbucket usernames must be 3 to 30 characters long and contain only lowercase letters, numbers, and hyphens. Spaces and capital letters are not allowed. If you want a multi-word username, use hyphens to separate the words, like my-username.

What happens to my repositories if I change my username?

Your repositories stay with your account. The URLs will change to reflect your new username, but Bitbucket redirects old URLs to the new ones for a period of time. If you have cloned repositories locally using Git, you will need to update the remote URL in those clones to match your new username.

Can I see other people's Bitbucket usernames?

Yes, if their repositories are public or if you are part of the same workspace. Public profiles and repositories display the username openly. In private workspaces, you can see the usernames of other members in the workspace settings.