Random Password Generator

Generate secure random password

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Upphovsman
liquorburn
Dagliga installationer
0
Totala installationer
1
Betyg
0 0 0
Version
20260207
Skapad
2026-02-07
Uppdaterad
2026-02-07
Size
2,5 KB
Licens
MIT
Gäller för
Alla sidor

Random Password Generator

This userscript adds a Menu Entry in your userscript manager. Click that entry to generate a cryptographically secure random password. You can find it in your clipboard, ready to paste where you need to use it.

Rejection sampling approach

Rejection sampling is a technique that generates uniformly distributed random values by discarding any numbers that would introduce statistical bias when mapping a large random range into a smaller one. By accepting only values within a perfectly divisible interval and using a cryptographically secure RNG such as crypto.getRandomValues, it preserves true uniformity and unpredictability, which are essential properties for cryptographic-grade password generation.

Screenshot

Tampermonkey menu

Please note

  • The default length of the password is 19 characters, you can adjust it by modifying the LEN constant in source code.
  • This userscript was tested with Tampermonkey on Brave and Greasemonkey on Firefox.