Random passwords with special characters, and when to leave them out

Tick the symbols box and the generator mixes 13 special characters (! @ # $ % ^ & * - _ = + ?) with letters and numbers, picked by your browser's secure random source. Symbols help a little; length helps much more, so a long password without symbols can still be very strong. If a site rejects a symbol, untick symbols and add four more characters.

Open the tool Strong Password Generator — free online tool · Free

The character sets

Look-alike characters are left out so the password is readable on paper or on a TV screen. The symbols chosen are ones most sites accept.

BoxCharactersCount
A–ZCapital letters without I and O24
a–zSmall letters without l25
0–9Digits 2 to 9 (no 0 or 1)8
!@#$! @ # $ % ^ & * - _ = + ?13

How much do symbols add?

With all four boxes, each character is one of 70, about 6.1 bits. Without symbols it is one of 57, about 5.8 bits. Over 16 characters that is 98 bits versus 93 bits: a small difference. Four extra characters without symbols add about 23 bits.

So symbols are nice to have, and length is what counts.

When a site says 'must contain a number and a symbol'

The generator picks each character at random from the whole set, so it does not force one of each type. With 20 characters there is roughly a 9% chance that no digit appears, and under 2% that no symbol does.

Glance at the result. If a required type is missing, click 'Generate new'. That takes a second and keeps the password fully random.

When a site rejects special characters

  1. Read the rule. Some older sites block certain symbols or cap the length.
  2. Untick !@#$ and set the length to the maximum the site allows, ideally 20 or more.
  3. If only some symbols are blocked, regenerate until the password doesn't contain them. You can't choose a custom symbol list in this tool.
  4. Save it in your password manager before you leave the page.

Other ways to get a random password with symbols

# macOS / Linux: 20 random characters from letters, digits and symbols
LC_ALL=C tr -dc 'A-Za-z0-9!@#$%^&*_=+?-' </dev/urandom | head -c 20; echo
OptionSymbol controlNotes
Password generator (iamai.markets)On or off, fixed set of 13Runs in your browser, nothing stored
Bitwarden or 1Password generatorUsually on or off, with minimum countsSaves the password for you
Command lineWhatever you scriptFor developers, see below

The product

Questions

Which special characters are safest to use?

Common ones like ! @ # $ % & * - _ are accepted almost everywhere. Spaces, quotes and backslashes are the ones most often rejected.

Is a password with symbols always stronger?

Only at the same length. A 20-character password without symbols is much stronger than a 10-character one with them.

Does the tool keep my passwords?

No. Nothing is saved or sent. Once you close the page, the password exists only where you pasted it.

Related

Updated 2026-12-01