Skip to main content
Runs in Your Browser · Files Are Not Uploaded

How to Create a Strong Password in Your Browser

Last reviewed 2026-11-17 · 5 min read

A strong password is one that nobody can guess and no program can search through quickly. In practice that means it was picked by chance, not by you. The Password Generator makes that pick with your browser's secure random source. This guide covers its three modes, how to read the strength meter, and why a hashing tool is not a password maker.

Quick Summary

Open the Secure Password Generator. Choose Random Characters for something you will paste from a password manager, Memorable Passphrase for something you must type, or Numeric PIN where only digits are allowed. Press Copy and store the result somewhere safe. The Hash Generator is a separate tool for fingerprints, not for making passwords.

1Before you start

  • Every character, word or digit comes from window.crypto.getRandomValues, the browser's secure random source, with rejection sampling so each choice is equally likely. Nothing is stored. The last few values stay in page memory until you reload.
  • A new value appears each time you change a setting, so copy only after you have finished adjusting. The recent list keeps up to four earlier values.
  • The entropy figure is calculated from your settings, as length multiplied by the base-2 logarithm of the character pool. It describes this generator's output, not a password you invented.
  • Know where the password will live. A password manager you trust beats memory for random strings, and each account deserves its own.

2Step by step

Step A: generate a random password

  1. Open the Secure Password Generator and click Random Characters. A value appears at once in large green type.
  2. Drag the Length slider between 8 and 64 characters. It starts at 18, and the page notes that 16 or more is recommended.
  3. Tick the sets you want: Uppercase (A-Z), Lowercase (a-z), Numbers (0-9) and Symbols (!@#$). Exclude ambiguous characters (e.g. 0, O, l, 1, I) starts ticked, which helps when you will read the password aloud or type it by hand.
  4. Read the line that says Security with a label and a count of bits. Below 45 bits is Weak, 45 to 64 Moderate, 65 to 89 Strong, and 90 or more earns the top label. With all four sets on and ambiguous characters excluded, the pool is 80 characters, so 18 characters give about 114 bits.
  5. Press Copy, which briefly reads Copied!, or use the refresh icon titled Generate New Password for another try.
Secure Password Generator
Random characters, passphrases and PINs
Launch Generator

Step B: make a passphrase you can type

  1. Click Memorable Passphrase. Number of Words runs from 3 to 8 and starts at 4. Separator Symbol offers Hyphen, Period, Underscore or Space. Each word is capitalised.
  2. Words are drawn from a built-in list of 1,024 common words, so each adds exactly 10 bits. Four words is 40 bits and shows as Weak, six is 60 (Moderate) and seven is 70 (Strong). Choose the count by the label, not by how the words look.
  3. This mode adds no digits or symbols. If a site insists on them, use Random Characters instead.

Step C: a PIN, when digits are all you get

  1. Click Numeric PIN. The length runs from 4 to 12 digits and starts at 6. Six digits is only about 20 bits, which the meter calls Weak. Treat that as acceptable only where the system itself limits guesses.

Step D: where the Hash Generator fits

  1. Open the Hash Generator. On the Text String tab, type into Plain Text to Hash. Five fingerprints update live: SHA-256 (Standard), SHA-512 (High Security), SHA-1 (Legacy), MD5 (Checksums) and SHA-384. Change one letter and every fingerprint changes completely. The same input always gives the same result, and it cannot be turned back into the text.
  2. On the File / Binary tab, choose a file and paste a published value into Verify Against Checksum (Optional). A matching row is marked Matched. That is its real job: checking downloads and spotting changes.
  3. It does not create passwords, add salt, or do HMAC or slow password hashing. A fingerprint of a weak password is still a weak password, so use Step A, not this tool, to make one.

3Common problems and fixes

  • A site rejects the password. It may limit length or symbols. Untick Symbols and raise Length instead of shortening.
  • There is no digit although Numbers is ticked. Each character is drawn independently, so a short result can miss a set. Add length rather than rules.
  • The value changed when I touched a slider. Any setting change makes a new one. Copy after your last adjustment, or pick an earlier one from the recent list.
  • Every set is switched off. The tool falls back to lowercase letters only, and the meter shows the smaller count of bits that implies.
  • A hash does not match the published one. Compare lengths first: MD5 is 32 hex characters, SHA-1 is 40, SHA-256 is 64, SHA-384 is 96 and SHA-512 is 128. For text, a stray space or line break changes everything.

4Is it private?

Passwords are generated on your device and are not sent to our servers. Copying places the result on your clipboard, so paste it where it belongs and do not leave it there. The Hash Generator also works locally: SHA values come from the browser's Web Crypto API, MD5 from a built-in routine, and files are processed in a background worker.

Cloudflare Web Analytics counts page views. The password is generated on your device. The Privacy Policy explains what the site requests. The client-side privacy guide shows how to watch the network tab yourself. Need a Wi-Fi password on the wall? Put it in a code with QR Code Studio.

Frequently Asked Questions

Is the randomness secure?

It uses the browser's crypto.getRandomValues, not Math.random, with rejection sampling to keep every option equally likely. The tool cannot vouch for your device or for how a website stores the password.

How long should it be?

The page recommends 16 characters or more. With all four sets on, 18 characters shows about 114 bits. Use the meter rather than a rule of thumb.

Can the Hash Generator make a password?

No. It fingerprints text or files. Use the Password Generator for passwords.

Related tools