Skip to content

A completely standalone HTML password generator that uses the EFF's large wordlist to create secure, memorable passwords.

spidersalt/offline-password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Offline Password Generator

A completely standalone HTML password generator that uses the EFF's large wordlist to create secure, memorable passwords.

✨ Features

  • 🖥️ Retro 1995 Design: Classic Windows 95 interface with 3D borders and terminal colors
  • 📱 Mobile Optimized: Responsive design that works perfectly on phones and tablets
  • 🔒 Completely Offline: No internet connection required - works anywhere
  • 🛡️ Highly Secure: Uses the EFF's large wordlist (7,776 words) with high entropy
  • 🎨 Color-Coded Display: Different colors for letters, numbers, symbols, and spaces
  • ⚙️ Highly Customizable:
    • Choose number of words (3-6)
    • Select word separator (space, hyphen, underscore, period, or none)
    • Option to capitalize first letter of each word
    • Add random numbers and symbols
    • NEW: Use partial words (max 5 characters each) for shorter passwords
  • 📊 Entropy Calculator: Real-time security analysis with strength indicators
  • 📋 One-Click Copy: Copy passwords directly to clipboard
  • 🚫 No Scrolling: Fits perfectly on any screen size

📁 Files

  • index.html - The main password generator interface (standalone)
  • wordlist.js - Embedded EFF wordlist (7,776 words)
  • eff_large_wordlist.txt - Original wordlist file (for reference)

🚀 Quick Start - Download and Run

Method 1: Direct Download (Recommended)

  1. Download the files:

    • Click the green "Code" button on this GitHub page
    • Select "Download ZIP"
    • Extract the ZIP file to any folder on your computer
  2. Run the generator:

    • Navigate to the extracted folder
    • Double-click index.html
    • It will open in your default web browser
    • That's it! No installation needed

Method 2: Clone with Git

git clone https://github.com/YOUR_USERNAME/password-generator.git
cd password-generator
# Open index.html in any web browser

Replace YOUR_USERNAME with your actual GitHub username

Method 3: Copy Files Manually

  1. Create a new folder on your computer
  2. Copy index.html and wordlist.js into the folder
  3. Open index.html in any web browser

💻 System Requirements

  • Any modern web browser (Chrome, Firefox, Safari, Edge, etc.)
  • No internet connection required after download
  • Works on: Windows, Mac, Linux, Android, iOS
  • File size: Less than 1MB total

🎮 How to Use

  1. Open index.html in any web browser
  2. Configure your password preferences:
    • Number of words (3-6 recommended)
    • Word separator (space, hyphen, underscore, period, or none)
    • Check "Capitalize first letter of each word" for better readability
    • Check "Add random numbers" for extra security
    • Check "Add random symbols" for maximum security
    • NEW: Check "Use partial words" for shorter, more manageable passwords
  3. Click "Generate Password"
  4. Copy the generated password using the "Copy to Clipboard" button
  5. Paste wherever you need the password

🔒 Security Analysis

Entropy Levels

  • 🔴 Weak (< 28 bits): Not recommended
  • 🟠 Fair (28-35 bits): Basic security
  • 🟡 Good (36-49 bits): Good security
  • 🟢 Strong (50-79 bits): Very secure
  • 🟢 Very Strong (80+ bits): Maximum security

Password Strength Examples

  • 3 words: ~38-40 bits (Strong)
  • 4 words: ~51-53 bits (Very Strong)
  • 5+ words: 64+ bits (Very Strong)
  • Partial words: High entropy due to random character combinations

🎨 Color Coding

The generated password uses color coding to make it easy to identify different character types:

  • 🟢 Letters: Green text
  • 🟡 Numbers: Yellow text
  • 🟣 Symbols: Magenta text
  • 🔵 Separators: Cyan text
  • ⚪ Spaces: White text with dark background

📱 Mobile Usage

The generator is fully optimized for mobile devices:

  • Responsive design that adapts to any screen size
  • Touch-friendly buttons and controls
  • No scrolling required - everything fits on screen
  • Large, readable text on the password display
  • Works offline - perfect for mobile use

🛠️ Technical Details

  • Pure HTML, CSS, and JavaScript - no external dependencies
  • Wordlist embedded directly in the JavaScript file
  • Cryptographically secure random number generation
  • Cross-platform - works on any device with a web browser
  • File size: ~120KB total (including wordlist)
  • Retro styling with authentic Windows 95 3D borders

🔧 Customization

You can easily modify the generator:

  • Edit colors in the CSS section of index.html
  • Add more symbols by modifying the symbols string in JavaScript
  • Change word count limits by editing the select options
  • Modify entropy calculations in the calculateEntropy() function

📄 License

  • EFF wordlist: Public domain
  • This generator: Free to use, modify, and distribute
  • No restrictions on commercial or personal use

🤝 Contributing

Feel free to:

  • Report bugs or issues
  • Suggest new features
  • Submit pull requests
  • Share with others

📞 Support

If you have any questions or issues:

  1. Check this README for common solutions
  2. Open an issue on GitHub
  3. The generator is designed to be simple and self-contained

Enjoy your secure, retro-styled password generator! 🎉

About

A completely standalone HTML password generator that uses the EFF's large wordlist to create secure, memorable passwords.

Resources

Stars

Watchers

Forks

Packages

No packages published