Generator kata sandi

A strong password is the foundation of account security. This generator creates random strings at the length and character set you choose.

How to generate a strong password

1. Set the length (12–16 characters is a good minimum).
2. Enable uppercase and lowercase letters, digits, and — ideally — symbols.
3. Click “Generate password”.
4. Copy the password to your clipboard and save it in a password manager.

Good settings examples

Everyday accounts (shops, forums)

Length 16 with letters, digits, and symbols. Such a password is hard to crack by brute force and easy to store in a password manager.

No symbols (older systems)

Some banks or portals reject special characters. Use 20 characters with letters and digits — extra length partly makes up for missing symbols.

One-time or temporary password

For a quick test account, 12 characters may be enough. Change it to something longer if you keep the account.

When to use the generator

• When you create a new account and need a unique password.
• When you rotate passwords after a data breach.
• When you want to avoid reusing the same password across many sites.

Why randomness matters

Passwords invented “from the head” are often predictable: dates, names, keyboard patterns. Dictionary attacks and leaks from other services exploit exactly those weaknesses. A generator backed by the browser’s cryptographic randomness produces a string that cannot be guessed from your biography. It does not stop phishing, but it strongly slows offline password cracking.

Pertanyaan yang sering diajukan

What makes a password secure?

Aim for at least 12–16 characters, a mix of letters, digits, and symbols, and avoid dictionary words and personal details.

Does the generator save my passwords?

No. Passwords are created locally and are not stored on any server.

Where does the randomness come from?

We use the browser’s cryptographic random source (crypto.getRandomValues), not plain Math.random, whenever it is available.

Can I use the password in a manager app?

Yes — that is the recommended approach. Copy and save it in 1Password, Bitwarden, iCloud Keychain, or similar.

Why avoid reusing passwords?

If one account leaks, attackers immediately try the same password elsewhere.