#

Password Generator

Create secure passwords with custom length and character rules.

16

Password Generator — what it does

Generate a random password of the length you choose, from any mix of uppercase, lowercase, digits and symbols, using the browser's cryptographic random source. Nothing is transmitted and nothing is stored, so the password exists only in your clipboard and wherever you decide to put it.

Worked example

Four runs with different lengths and character sets; every click of Generate produces a different password, so these are one sample each.

LengthCharacter setsGenerated password
16upper, lower, digits, symbolsXH{PXnak!Nzd5[QB
24upper, lower, digitsrhLayq2yxYmrpGwgrVbSJWYk
8digits only83694232
8nothing tickedPlease select at least one option.

The slider runs from 6 to 64 characters, and a password is generated once automatically when the page opens.

When this tool helps

  • Creating a strong unique password for a new account instead of reusing an old one.
  • Generating a service credential, API secret or database password.
  • Producing a temporary password to hand to a colleague for a first login.

How to use it

  1. Set the desired length.
  2. Choose which character sets to include.
  3. Generate the password.
  4. Copy it straight into your password manager.

Accuracy, limits, and good practice

  • Length beats complexity: a 20-character password from two character sets is far stronger than 8 characters using all four.
  • Store generated passwords in a password manager immediately. A strong password you cannot recall is only useful if something remembers it for you.
  • Some systems silently truncate long passwords or reject certain symbols — test the login once before relying on it.

Frequently asked questions

Is the randomness good enough?

It uses the browser's cryptographically secure random generator, which is the same source used for security-sensitive work in the browser.

How long should a password be?

At least 16 characters for anything important, and longer for accounts protecting money, email or infrastructure.

Why does it never contain 0, 1, I, O or l?

Those look-alike characters are left out of the pools on purpose: uppercase has no I or O, lowercase has no l, and digits run from 2 to 9. The symbol set is !@#$%^&*()_+-=[]{}?.

Is every ticked character set guaranteed to appear?

No. Each position is drawn independently from the combined pool, so a short password can miss one of the sets. If a site demands at least one symbol, check the result and generate again if needed.

Related tools on this site

Everything above runs inside this page. Password Generator needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

密碼產生器能做什麼

以瀏覽器的密碼學隨機來源,依你指定的長度與大寫、小寫、數字、符號的任意組合產生隨機密碼。不傳送、不儲存,密碼只存在於你的剪貼簿,以及你決定放進去的地方。

實際範例

四次執行,長度與字元集各不相同;每按一次「產生」都會得到不同的密碼,這裡各取一次樣本。

長度字元集產生的密碼
16大寫、小寫、數字、符號XH{PXnak!Nzd5[QB
24大寫、小寫、數字rhLayq2yxYmrpGwgrVbSJWYk
8只勾數字83694232
8全部未勾Please select at least one option.

滑桿範圍 6 到 64 個字元;頁面開啟時會自動先產生一組。

什麼時候用得上

  • 為新帳號建立高強度的獨立密碼,而不是重複使用舊的。
  • 產生服務憑證、API 密鑰或資料庫密碼。
  • 產生交給同事首次登入用的臨時密碼。

使用步驟

  1. 設定所需長度。
  2. 選擇要包含的字元集。
  3. 產生密碼。
  4. 直接複製到你的密碼管理器。

精確度、限制與實務建議

  • 長度勝過複雜度:用兩種字元集的 20 位密碼,遠強於四種字元集的 8 位密碼。
  • 產生後請立刻存進密碼管理器。記不住的強密碼,只有在有東西替你記住時才有用。
  • 有些系統會悄悄截斷過長密碼或拒收特定符號——正式使用前請先登入測試一次。

常見問題

隨機性夠好嗎?

它使用瀏覽器的密碼學安全隨機產生器,與瀏覽器中處理安全性工作所用的來源相同。

密碼該多長?

重要帳號至少 16 位;涉及金錢、電子郵件或基礎設施的帳號應更長。

為何永遠不會出現 0、1、I、O、l?

這些容易混淆的字元被刻意排除:大寫沒有 I 和 O,小寫沒有 l,數字只有 2 到 9。符號集為 !@#$%^&*()_+-=[]{}?。

勾選的每種字元集都保證出現嗎?

不保證。每個位置都是從合併後的字元池獨立抽取,較短的密碼可能漏掉某一類。若網站要求至少一個符號,請檢查結果,必要時重新產生。

本站相關工具

以上步驟全部在這個頁面內完成,密碼產生器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。