PasswordWolf wolf logo

Pretty Good Password Generator

PasswordWolf.com

Complexity Settings

Strength —

Results

Generated passwords

https://passwordwolf.com/

https://passwordwolf.com/api/

A good password generator will help you create strong and secure passwords. When using strong, complex passwords, it reduces the ability for someone to hack or guess the password.

Tips for using a good password generator

When using this random password generator, be sure to:

Bad passwords

Examples of bad passwords

Avoid these by using a strong password generator.

Choose a good password

Tips for generating a strong password:

Protect your password

Ways a password is hacked

Using the tool

This strong password generator tool on this site can be used to create random, secure, and strong passwords. The generator uses javascript which must be enabled in the browser for the tool to work. The generator creates the password on the client side so that none of the passwords are sent over the Internet to be sniffed. After the first visit the page also keeps working with the network disconnected, which is one way to check for yourself that nothing leaves your browser.

API Usage

It is possible to pass settings into the generator to set the initial values of the complexity settings. This is done simply by adding values into the URL.

For instance, if you wish to have the initial passwords be numbers only — that is, just the numbers between 6 and 9 — and you want to make it 8 characters long and create 5 of these passwords, use this URL:

https://passwordwolf.com/?length=8&upper=off&lower=off&special=off&exclude=012345&repeat=5

Adding /api/ returns the same passwords as JSON instead of a web page:

https://passwordwolf.com/api/?length=8&upper=off&lower=off&special=off&exclude=012345&repeat=5

If a value is omitted the default is used. No API key, account, cookie or custom header is required.

Endpoint

GET https://passwordwolf.com/api/

Parameters

All parameters are optional and are passed in the query string. Values are case-sensitive.

JSON API parameters
Parameter Possible values Default Notes
upper off on Turns the upper case characters (A-Z) off.
lower off on Turns the lower case characters (a-z) off.
numbers off on Turns the digits (0-9) off.
special off on Turns the special characters (<>`!?@#$%^&*().,_-) off.
length 1 to 128 15 Characters per password. Must be a whole number.
exclude any string ?!<>li1I0OB8` Removed from every character set before generating. URL-encode reserved characters, for example %26 for & and %2B for +.
repeat 1 to 128 9 How many passwords to return.
phonetic on off Shows the phonetic spelling under each password on the page. It has no effect on the JSON API, which always includes it.

Only the values above change anything. upper=on, numbers=true and number=on are accepted and ignored — the set stays on, which is the default. Out-of-range numbers are an error, never silently clamped.

Response

A JSON array with one object per password. phonetic is always present, whichever value phonetic is given, and is a space-separated list of words ending in a space. Characters with no phonetic name are passed through unchanged.

[
  {
    "password": "s^e@Z5Z3",
    "phonetic": "sierra caret echo at ZULU five ZULU three "
  },
  {
    "password": "Wq7#m2Lp",
    "phonetic": "WHISKEY quebec seven pound mike two LIMA pappa "
  }
]

Errors

Invalid settings return a 4xx status and a body of the form {"error": "..."}. If more than one setting is wrong, the error reported is the first of these to apply: no character set enabled, then repeat, then length.

{"error": "Length must be between 1 and 128."}
JSON API error conditions
Status When error value
400 length is not a whole number from 1 to 128 Length must be between 1 and 128.
400 repeat is not a whole number from 1 to 128 Number of passwords must be between 1 and 128.
400 all four character sets are switched off There is no content chosen for the password. Please turn one of the first 4 switches on and try again.
400 exclude removes every remaining character No characters are available with these settings. Clear or shorten the exclude list, or enable another character set.
400 exclude empties an enabled set (the set could not appear, breaking the guarantee) The exclude list removes every special character, so that set cannot appear. Shorten the exclude list or turn that set off. (names the affected set)
405 any method other than GET, HEAD or OPTIONS Method not allowed. Use GET.

Limits and randomness

This random password generator is free to use.