All tools / WordPress

Password Generator

Generate a random password using browser cryptography.

How to generate a password

  1. Choose a length between 8 and 128 characters. I recommend at least 16.
  2. Press Run tool.
  3. Copy the password straight into your password manager, then into the site that needs it.

Run it again for a new password. Each result is independent of the last one.

How the passwords are made

The generator uses crypto.getRandomValues, the cryptographic random number generator built into your browser. This is the same source browsers use for security work, not the predictable Math.random function that some simple generators rely on.

Each character is picked from 74 options: uppercase letters, lowercase letters, digits and the symbols ! @ # $ % ^ & * _ - + =. The code also avoids a subtle problem called modulo bias, which would otherwise make some characters slightly more likely than others.

The password is created on your device. It is never sent to a server, logged or stored. Close or refresh the page and it is gone, so copy it before you leave.

How long should a password be?

Every character from a set of 74 adds about 6.2 bits of randomness. In practice:

Length beats complexity. A long random password is far harder to crack than a short one stuffed with symbols.

Where WordPress site owners need strong passwords

Your WordPress admin login is the obvious one, but it is rarely the only door into a site. Use a unique, generated password for each of these:

A strong password is one layer. Add two-factor authentication and a login limit as well. The WordPress security plugins guide on WPSekar.com compares plugins that handle both.

Practical tips

Frequently asked questions

Is it safe to generate a password on a website?

It is safe when the password is created locally, as it is here. You can check this by opening your browser's network tab: running the tool makes no request.

Why are there no ambiguous character options?

To keep the tool simple. If you need to read a password aloud, a longer passphrase made of words is easier to say.

Related tools

WordPress

WordPress Slug Generator

Turn a post title into a clean URL slug.

Open tool →
WordPress

HTACCESS Redirect Generator

Generate a permanent Apache redirect from one path to another URL.

Open tool →
Text

Word Counter

Count words, characters, sentences and reading time.

Open tool →