Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

jQuery password strength plugin

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE
Octocat-spinner-32 demo.html
Octocat-spinner-32 jquery.password_strength.js

jQuery Password Strength

This plugin will check the value of a password field and evaluate the strength of the typed password. This is done by checking for the diversity of character types: numbers, lowercase and uppercase letters and special characters.

To use, call the function on a password field:


The options argument is optional. Available values to set:

  • container: Element to display the strength text in. If none given, a span would be created immediately after the password field.

  • bar: External element to set a strength class to (optional).

  • minLength: Minimum password length.

  • texts: An array of strength texts for the 5 different levels, to override the default texts.

  • onCheck: A callback that gets called after a strength check. Gets the new strength value as a parameter.

jQuery plugin page:


The software is provided AS IS under the terms of the GNU General Public License.

Something went wrong with that request. Please try again.