Skip to content


Subversion checkout URL

You can clone with
Download ZIP
jQuery password strength plugin
Latest commit f70c866 @n0nick Triggering strength check on initial value too (Jason Judge's suggest…

Some code cleanup, upping version number

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.