10 Best Password Strength Checkers In JavaScript (2021 Update)

by jQueryScript,

The question has been often asked by people: how secure is my password?

The use of passwords can be seen anywhere to protect your personal information, ranging from credit cards, web apps, social networks to computers, file managers, and web servers.

As a web developer, it is an inescapable obligation to protect your users' accounts and privacy. A study shows that 22% of social media users have fallen victim to a security-related incident. The Pony botnet affected Facebook, Google, Yahoo, and other social media users, stealing more than 2 million user passwords. 

When it comes to account security, password strength matters.

The Computer Emergency Response Team (CERT) estimates that about 80 percent of the security incidents reported to them are related to poorly chosen passwords.

Instead of asking the user to change to a strong password, it is better to encourage users to use strong passwords when they register.

The password strength checker (also called password strength meter ) was born of this.

What Is Password Strength Checker:

A password strength checker provides a visual feedback to inform the users that their passwords are weak and don't meet the minimal requirements.

Some password checkers can also stop users from signing up until the password strength meets the requirements you define.

All of these can be achieved by JavaScript without any server-side overhead.

The Best Password Strength Checker:

Not sure which password strength check to use? Here is a hand-crafted list of 10 best JavaScript or jQuery based password strength checks from which you can choose to strengthen your users' passwords and protect your users' accounts. Have fun with it.

Originally Published Aug 05 2020, updated June 22 2021

Table of contents:

Best jQuery Password Strength Checkers

Visual Password Strength Indicator Plugin For jQuery - Passtrength.js

Passtrength.js is a responsive jQuery password strength checker plugin that measures the strength of the password and displays a progress-style visual indicator at the bottom of the password input.

Visual Password Strength Indicator Plugin For jQuery - Passtrength.js

[Demo] [Download]


Validate If A Password Meets Certain Requirements - PassRequirements

PassRequirements is a jQuery plugin that uses Bootstrap's tooltip component to provides an instant feedback when an input field (typically password field) meets certain requirements.

Validate If A Password Meets Certain Requirements - PassRequirements

[Demo] [Download]


Simple Password Strength Meter For Bootstrap

This is a Bootstrap Password Meter plugin which utilizes Password Score library to validate the visualize the strength of your password when typing.

Simple Password Strength Meter For Bootstrap

[Demo] [Download]


jQuery Plugin For Password Strength Checker and Indicator - Password-Strength

Password-Strength is a jQuery based password strength checker and indicator that helps users meet your minimum password requirements.

jQuery Plugin For Password Strength Checker and Indicator - Password-Strength

[Demo] [Download]


Bootstrap Password Strength Validator Using Regex

A small jQuery script for Bootstrap that visualizes the password strength in a strength bar and unlocks the Submit button only if the password is moderate or stronger.

Bootstrap Password Strength Validator Using Regex

[Demo] [Download]


Validate Password Complexity With jQuery Password Requirements

A small yet configurable password complexity validation jQuery plugin to enforce strong passwords on the web application.

Validate Password Complexity With jQuery Password Requirements

[Demo] [Download]


Best Vanilla JS Password Strength Checkers

Advanced Password Strength Indicator – pswmeter

A simple yet highly customizable password strength indicator which can be used to help a user type a secured password.

Advanced Password Strength Indicator – pswmeter

[Demo] [Download]


Test Password Strength While Typing – checkforce.js

The checkforce.js JavaScript library helps you check the password strength by test the length, letters, numbers, special characters you typed in a password field.

Test Password Strength While Typing – checkforce.js

[Demo] [Download]


Check Strength Of Your Passwords – PWStrength

A vanilla JavaScript library that checks your password strength and provides a visual feedback indicating whether the password meets the minimal requirement.

Check Strength Of Your Passwords – PWStrength

[Demo] [Download]


A JavaScript Plugin To Rate Your Password Strength – passwordMeter.js

A super tiny Vanilla JS based password strength meter plugin which displays a plain text feedback indicating the current password strength when typing.

A JavaScript Plugin To Rate Your Password Strength – passwordMeter.js

[Demo] [Download]


More Resources:

Want more jQuery plugins or JavaScript libraries to protect and strengthen passwords on the web & mobile? Check out the jQuery Password and JavaScript Password sections.