Security utility

Secure Password and Salt Generator

Create random passwords and salts with browser cryptographic randomness, then inspect charset size, entropy, and output formats.

Runtime
Browser
Random
Crypto
Storage
None

Generator

Values are generated with crypto.getRandomValues.

Local only
24

Ready to generate secure values.

Salt output

Generate random salt bytes and choose an encoding.

16

Password entropy

Entropy estimates the search space from password length and active charset size. Longer random values usually matter more than complex rules.

Salt bytes

Salts should be random and unique. They are normally stored beside a password hash and do not need to be memorized or kept secret.

Crypto randomness

crypto.getRandomValues provides browser cryptographic random bytes. The generator uses rejection sampling to avoid modulo bias when choosing characters.

Usage guide

How to use the password and salt generator

What this tool shows

It generates random passwords and salts with Web Crypto, estimates entropy, and displays the active character composition.

How to test it

Change length, toggle character groups, skip ambiguous characters, then compare entropy and salt formats before copying a value.

When it helps

Use it for temporary credentials, demo secrets, database seed data, password hash salts, or teaching why length and randomness matter.