Password Generator

Generate cryptographically secure passwords.

Click "Generate" to create a password
All examples use BASE_URL — set it to your deployment URL.
POST/api/password
Generate cryptographically secure passwords with configurable rules.
const BASE_URL = "http://localhost:3000"; const res = await fetch(`${BASE_URL}/api/password`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ length: 24, // 4–128 (default: 16) uppercase: true, // include A-Z lowercase: true, // include a-z numbers: true, // include 0-9 symbols: true, // include !@#$%... count: 5 // 1–20 passwords at once }) }); const data = await res.json(); // → { success: true, passwords: ["xK#9mL...", "Qw!7pR...", ...] }