Securely generate, store, and manage passwords with ease. Ideal for protecting online accounts, improving security, and simplifying login management.
// HTML
<div class="input-group">
<input type="password" id="password">
<button class="toggle-visibility" data-target="password">
<i class="fas fa-eye"></i>
</button>
</div>
// JavaScript
document.querySelectorAll('.toggle-visibility').forEach(btn => {
btn.addEventListener('click', function() {
const targetId = this.getAttribute('data-target');
const input = document.getElementById(targetId);
const type = input.type === 'password' ? 'text' : 'password';
input.type = type;
this.innerHTML = type === 'password'
? '<i class="fas fa-eye"></i>'
: '<i class="fas fa-eye-slash"></i>';
});
});
// JavaScript
const password = document.getElementById('new-password');
const confirmPassword = document.getElementById('confirm-password');
const message = document.getElementById('confirm-message');
function validatePassword() {
if (password.value !== confirmPassword.value) {
message.textContent = "Passwords don't match!";
message.style.color = 'red';
} else {
message.textContent = "Passwords match!";
message.style.color = 'green';
}
}
password.addEventListener('input', validatePassword);
confirmPassword.addEventListener('input', validatePassword);
No reminder currently set
// JavaScript
function setPasswordExpiry(days) {
const expiryDate = new Date();
expiryDate.setDate(expiryDate.getDate() + days);
localStorage.setItem('passwordExpiry', expiryDate.getTime());
}
function checkPasswordExpiry() {
const expiry = localStorage.getItem('passwordExpiry');
if (!expiry) return;
const now = new Date();
const expiryDate = new Date(parseInt(expiry));
if (now > expiryDate) {
showExpiryNotification();
} else {
// Calculate days remaining
const diff = expiryDate - now;
const daysLeft = Math.ceil(diff / (1000 * 60 * 60 * 24));
console.log(`Password expires in ${daysLeft} days`);
}
}
// Check on page load
window.addEventListener('load', checkPasswordExpiry);
Create random passwords with options for length, symbols, numbers, and uppercase letters.
Save and manage your passwords safely with encryption.
Group passwords by categories or tags for quick retrieval.
Quickly copy or auto-fill passwords to your clipboard or login forms.
All data is encrypted locally; no passwords are sent or stored on servers.