Random Password Generator

Generate secure random password

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
liquorburn
1日のインストール数
0
累計インストール数
1
評価
0 0 0
バージョン
20260207
作成日
2026/02/07
更新日
2026/02/07
大きさ
2.5KB
ライセンス
MIT
対象サイト
すべてのサイト

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.