10 Best Password Strength Checkers In JavaScript (2023 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 Mar 01 2023

Table of contents:

Best jQuery Password Strength Checkers

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.

jQuery Plugin For Password Input Enhancement - Strength.js

[Demo] [Download]


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.

Slim Password Strength Meter Plugin For jQuery

[Demo] [Download]


Simple Password Strength Meter For Bootstrap

A Bootstrap Password Meter plugin that utilizes Password Score library to validate the visualize the strength of your password when typing.

Simple Password Strength Meter For Bootstrap

[Demo] [Download]


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.

Customizable Password Strength Meter With jQuery And zxcvbn.js - strengthify

[Demo] [Download]


Password Strength Checker With jQuery - Pass-Meter.js

A lightweight jQuery password scoring plugin used for estimating the password security/strength as you type text in a password input field.

Password Strength Checker With jQuery - Pass-Meter.js

[Demo] [Download]


Best Vanilla JS Password Strength Checkers

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

zxcvbn-ts

[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]


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]


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]


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]


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.

See Also: