Skip to content
Marvin's Toolbox.

Password Generator

Generate strong random passwords, word-based passphrases or ModHex passwords that type the same on any keyboard layout, with entropy and crack time for each.

Runs entirely in your browser. Nothing you put in here gets uploaded.

Password

Character sets
  • Generating…
Very strong

102 bits of entropy. Average time to crack at 10,000,000,000 guesses per second: longer than the age of the universe.

Next steps

Send this tool's output straight into another tool.

Check how strong a password really is. Uses the same zxcvbn analysis password managers rely on to estimate realistic crack times, spot dictionary words, keyboard patterns and reused sequences, and suggest concrete improvements.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

About the Password Generator Tool

This tool generates strong random passwords and word-based passphrases. Pick random characters with full control over length, character sets and symbols, or build a passphrase from real words that is far easier to remember and type.

Every draw comes from a cryptographically secure random number generator, and the strength meter shows the entropy in bits plus an honest estimate of how long cracking would take.

What you can do

  • Generate a strong random password with lowercase, uppercase, digits and symbols.
  • Set the exact length, from 4 to 128 characters.
  • Edit the symbol set, or exclude ambiguous characters like 0, O, 1, l and I.
  • Build a memorable diceware-style passphrase from the EFF short wordlist.
  • Generate a ModHex password that types the same on QWERTY, QWERTZ and AZERTY keyboards.
  • Check the entropy and estimated crack time of your settings.
  • Generate up to 100 passwords at once, then copy or download the whole batch.

How to use the Password Generator

  1. 1Pick a mode: random characters, ModHex or a passphrase.
  2. 2Tune the settings. Length and character sets for random characters, length for ModHex, word count, separator and capitalization for a passphrase.
  3. 3Read the strength meter to see the entropy and how long cracking would take.
  4. 4Copy a password with the button next to it, or regenerate until you get one you like.
  5. 5For a batch, set how many you need and use Copy all or Download.

How the randomness works

Every character and word is drawn from the Web Crypto API's cryptographically secure random number generator, the same source password managers use. Draws go through rejection sampling, so no character is ever slightly favored the way a naive modulo mapping would. Math.random is never involved.

The option to require one character from each enabled set picks those characters first, fills the rest from the full pool, and then shuffles the result with the same secure randomness, so the guaranteed characters end up at unpredictable positions.

Passwords that survive any keyboard layout

A password typed on a German QWERTZ or French AZERTY keyboard can come out different from the one you saved, because keys like y, z, a and q move between layouts. ModHex mode avoids that. It draws only from the 16 letters cbdefghijklnrtuv, the alphabet YubiKeys use for their typed output, and those letters sit on the same keys in QWERTY, QWERTZ, AZERTY and most other layouts.

Each ModHex letter carries 4 bits, half of what a full character set gives. A 32-letter ModHex password reaches 128 bits, so pick about twice the length you would use otherwise.

What the entropy number means

Entropy measures how many equally likely outputs the current settings can produce. Each extra bit doubles the number of guesses an attacker needs, so a 60-bit password is a billion times harder to crack than a 30-bit one. The meter computes the exact keyspace of your settings, including the small reduction caused by requiring a character from every set.

The crack time assumes an offline attacker testing ten billion guesses per second, which matches a serious GPU rig attacking a fast hash. Sites that store passwords with a slow hash, or that rate-limit login attempts, push the real time far higher. The estimate is the average case, half the keyspace searched.

Random characters or a passphrase

Random character strings pack the most entropy per character, which suits anything a password manager fills in for you. Passphrases trade some length for memorability. The words come from the EFF short wordlist, 1,296 short common words picked to be easy to spell, and each word adds about 10.3 bits. Five words reach roughly 52 bits and six words about 62, a solid choice for a password you actually have to type or remember.

Tools that share a tag with this one.

Decode any DER or PEM data into a browsable ASN.1 tree with named object identifiers and a linked hex view. Open PKCS#12 .p12 and .pfx bundles with their password to list the certificates and keys inside, and export them as PEM.

Hash a password with bcrypt or Argon2 and verify a password against an existing hash. Tune the cost factor, memory, iterations and parallelism, see how long the hash takes, and read the parsed parts of any hash you paste.

Verify a file against its checksum. Drop the file and paste the expected hash or a sha256sum line, and the hash type is detected for you, from MD5 to BLAKE3.

Build a Content-Security-Policy header directive by directive, or paste an existing policy to check it. Weak spots like unsafe-inline, wildcards and missing directives are flagged with what to do instead.

Create a certificate signing request with a fresh RSA or ECDSA key or your own. Fill in the subject and subject alternative names, then download the CSR and private key as PEM, with the matching openssl command alongside.

Paste raw email headers to trace the Received chain hop by hop with per-hop delays, read the SPF, DKIM and DMARC results, and see every header explained. Helps you spot spoofing and find where a slow email got stuck.