A repository of over 1000 quality jQuery plugins

jQuery Strengthify

Strengthify is a jQuery Password plugin.

Created by MorrisJobke

Combine jQuery and zxcvbn to create a password strength meter

Not what you're looking for? Click here to view more Password jQuery plugins

🔒🔍 strengthify

Combine jQuery and zxcvbn to create a password strength meter.


How to use

As of 0.5.0, the wrapper will be automatically added beneath the target input field

Add jquery (tested with 1.10.0), jquery.strengthify.js and strengthify.css to your document.

If using the message option, include bootstrap.

If using the titles option, include bootstrap's tooltip.js,

<script src="jquery-1.10.0.min.js"></script>
<script src="tooltip.js"></script>
<script src="jquery.strengthify.js"></script>
<link rel="stylesheet" href="bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="strengthify.css" type="text/css">

Because zxcvbn is really heavyweight, it will be loaded asynchronously from zxcvbn/zxcvbn.js. This can however be configured with an optional parameter.

Then call .strengthify on the password input field.


That's it. Now the password strength meter will be updated after each keystroke.


The path and the title of the different strength categories can be configured with the first parameter of .strengthify.

pop-up text (above)
detailed message beneath input
password strength color progression bars beneath input


  "zxcvbn": "zxcvbn/zxcvbn.js",
  "titles": [
  "drawTitles": false,
  "drawMessage": false,
  "drawBars": true

Overwrite example:

$('#password-field').strengthify({zxcvbn: 'my/path/to/zxcvbn.js'})


fairly substantial changes:
  • added feedback message
  • $.each(...) functionality
  • restructuring wrapping
  • feature flags
"strengthify-wrapper" added automatically beneath target input
hotfix for missing ;
syntax and performance cleanups
some fixes:
  • migrate from "display" to "opacity"
  • fix pasting to input field
  • add tipsy with strength
solve mimetype issues
Initial version

You might also like these other Password jQuery Plugins

  • Strength.js

    The ultimate jQuery password input plugin. Featuring secure strength indicator and hide/show password

  • Prevue JS

    A jQuery password-preview plugin

  • Ajax Login

    A nice and simple php based login system complete with ajax submission, email verification, password reset, and a config file. Root UI is...


The MIT License (MIT)