Strong Random Password Generator Using Javascript

password generator

Today, in this blog we are going to learn how to create a strong random password generator using javascript. As we know with using personal facts, such as your name, date of birth, home address or favourite singer or sports team, as a password, is this information is easily accessible on Facebook, Twitter and other social media accounts, meaning hackers will find it easy to crack these passwords.

We recommend not using personal information as it’s so easily accessible through social networks, electoral rolls etc, so it’s easy for hackers to crack. Likewise, consecutive strings of numbers like ‘12345’ shouldn’t be used, either, as they’re too obvious.

Why you should use the secure password

A strong password is essential for protecting your personal and professional assets online. Security experts recommend users generate secure passwords for every website and account. Sadly, most online users choose bad passwords (e.g. their name, birthday, child’s name, or a predictable sequence of numbers) for all their accounts. These types of passwords are extremely easy to crack and once an account is compromised, there’s nothing the user can do about it. On the other hand, manually generating strong passwords can be a tedious task. This is exactly why you should use a random secure password online!

You May Also Like:

What makes a password strong?

A strong password should be at least 15 characters long and contain the following elements:

  • Special symbols like: ! ” $ ? $ ? % ^ & * ( ) _ – + = { [ } ] # @
  • A mix between lowercase and uppercase letters (e.g. XiDmDKxlArosD)
  • Random numbers (e.g. isX223Xdkd193xKss1)
  • Words that aren’t in the dictionary (quckeldovas19d##92s)

Now let’s begin and know how we can create a random password generator.

First of all, we create an HTML file



The JavaScript

View Demo

Thank you for reading this blog, share this blog as much as possible and also show it to your friends. If you have any questions, feel free to comment.

ProXASH 25th June 2020