Should Spaces Be Allowed in Passwords?

Absolutely! Using spaces in passwords is an excellent idea, because it significantly improves the security (strength) of your passwords. It helps to protect your accounts from attackers who might be trying to guess your passwords, crack them, or employ brute forcing in order to compromise your accounts.

Are passwords with spaces more secure?

While we are familiar with using characters such as @, &, #, !, $, and other symbols to make your password more complex, we would like to introduce the concept of adding spaces into your passphrase. In fact, adding spaces can make even a very long passphrase easier to remember and still secure.

Why are spaces not allowed in usernames?

Usernames typically don't contain spaces, so allowing users to type in an invalid input and silently removing the space is overly presumptuous for the UX. It's better to detect the interstitial space and inform the user (e.g. Usernames can't contain spaces ) so they can check the username again.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.