10 Best Password Strength Checkers In JavaScript (2022 Update)
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 Mar 15 2022
Table of contents:
Best jQuery Password Strength Checkers
Validate Password Complexity With jQuery Password Requirements
A small yet configurable password complexity validation jQuery plugin to enforce strong passwords on the web application.
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.
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.
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.
Minimal Password Strength & Match Validation Plugin For jQuery
A lightweight jQuery plugin password validation plugin that validates the strength of a password and provides an instant feedback whether the password meets the requirements you specify.
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.
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.
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.
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.
Password Generator & Strength Checker In JavaScript – LOCK STEEL
A secure password generator and visual password strength checker written in vanilla JavaScript.
More Resources:
Seeking more jQuery plugins or JavaScript libraries to protect and strengthen passwords on the web & mobile? See jQuery Password and JavaScript Password sections for more details.