“How Secure Is My Password?” Strength Meter Open Sourced
github.com
github.com
Password hsimp zxcvbn
qwER43@! 3 days 3 hours
Tr0ub4dour&3 344 thousand years 22 hours
correcthorsebatterystaple A quintillion years 65 years
[1] https://github.com/dropbox/zxcvbnIt's also fully customisable how many calculations per second you want to assume a cracker can make. It's set to 10 billion by default, but you could set it to much higher if you wanted.
The boundaries of what counts as "ok" and "good" passwords can also be customised.
Although that's probably a bit out of date now. I might see if there's a newer version.