A simple, customizable password generator built using vanilla JavaScript. It allows users to create strong, random passwords with options to include lowercase letters, uppercase letters, numbers, and special characters. Users can also copy the generated password to the clipboard.
- Select character types: lowercase, uppercase, numbers, symbols
- Customizable password length
- One-click password generation
- Copy to clipboard functionality
- HTML
- CSS
- JavaScript
- Clone or download this repository.
- Open
index.html
in your browser. - Select the desired character types.
- Set the password length.
- Click Generate to create a password.
- Click Copy to copy it to your clipboard.
// Generate password based on selected options
document.getElementById("generate").onclick = function passwordgenerator() {
...
};