10 Best Password Strength Checkers In JavaScript (2024 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 checkers 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 Jan 22, 2024
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 Input Enhancement - Strength.js
A useful jQuery password input enhancement that validates/indicates the password strength and provides a function to show/hide password your user input.
Slim Password Strength Meter Plugin For jQuery
Just another Password Strength Meter built with jQuery that visualizes the strength of a password your user enters into a password field.
Customizable Password Strength Meter With jQuery And zxcvbn.js - strengthify
Just another password strength meter plugin which provides visual feedback (indicator bar, text message and tooltip) to display the strength of the password using the dropbox's zxcvbn library.
jQuery Plugin For Password Strength Checker and Indicator - Password-Strength
A jQuery based password strength checker and indicator that helps users meet your minimum password requirements.
Best Vanilla JS Password Strength Checkers
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.
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.
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.
zxcvbn-ts
Low-Budget Password Strength Estimation.
- estimate strength of a password
- get a score for the password
- i18n support, for dictionaries and feedback translations
- extend existing dictionaries with your own
- usable without dictionaries at all, which reduce the scoring efficiency rapidly. This is not recommended
- types
- custom matcher
- haveibeenpwned matcher
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.