Skip to Content

Random passwords generator

Random passwords generator

Sometimes for different purposes we need to make some random logins and passwords. As trying to type any random keyboard keys won't make really random password with equal chance of any symbol was decided to write this tool. This simple command line tool can generate it for us.

Usage: passgen.exe [number of passwords] [password length] [symbol sets]

Symbol sets:

d - use digits: '0123456789'

u - use upper-case letters: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

l - use lower-case letters: 'abcdefghijklmnopqrstuvwxyz'

s - use symbols: '!"#$%&'()*+,-./:;<=>?@[\]^_`'

Warning! This program allways will generate first password symbol as letter only if l or u symbol sets available for usage.


  1. passgen.exe 10 8 dulsWill be generated 10 passwords, each password length will be 8 symbols, will be used lower and upper case letters, digits and symbols.
  2. passgen.exe 15 12 dl  - Will be generated 15 passwords, each password length will be 12 symbols, will be used lower case letters and digits.
Windows XP
Windows VISTA
Windows 7