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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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!)

Tác giả
liquorburn
Cài đặt hàng ngày
0
Số lần cài đặt
2
Đánh giá
0 0 0
Phiên bản
20260214
Đã tạo
07-02-2026
Đã cập nhật
14-02-2026
Kích thước
2 KB
Giấy phép
MIT
Áp dụng cho
Tất cả trang web

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.