LM Hash Generator

Generate LM (LAN Manager) hashes from passwords with our secure online tool

🔐

Legacy Compatibility

Generate LM hashes for compatibility with legacy Windows systems

Instant Results

Get your LM hash immediately with client-side processing

📋

1-Click Copy

Copy generated hash to clipboard with a single click

🔒 Client-Side Processing
All hashing is done in your browser using JavaScript. Your passwords never leave your device, ensuring maximum privacy and security.

LM Hash Limitations:

  • Maximum 14 characters (excess will be truncated)
  • Converted to uppercase automatically
  • Only ASCII characters supported
Your LM hash will appear here...
💡 For developers: Generate LM hashes with:
python -c "import hashlib,binascii; print(binascii.hexlify(hashlib.new('md4', 'PASSWORD'.encode('utf-16le')).digest()).upper())"
# Generate NT hash (often confused with LM hash) using Python

About LM Hash Algorithm

LM (LAN Manager) Hash is an outdated password hashing function used in older versions of Microsoft Windows. It was the primary authentication method in Windows NT, Windows 2000, Windows XP, and Windows Server 2003. LM Hash has significant security weaknesses and has been replaced by NTLM and later NTLMv2.

LM Hash Characteristics

⚠️ Security Warning: LM Hash is extremely weak and vulnerable to brute-force attacks. It should never be used in modern systems. Consider using stronger authentication methods like NTLMv2, Kerberos, or modern password hashing algorithms.

How LM Hash Works

The LM Hash algorithm follows these steps:

  1. Step 1. Convert password to uppercase
  2. Step 2. Pad or truncate to exactly 14 characters
  3. Step 3. Split into two 7-character halves
  4. Step 4. Convert each half to a 56-bit DES key
  5. Step 5. Encrypt a fixed string ("KGS!@#$%") with each key
  6. Step 6. Concatenate the two 8-byte results to form the 16-byte LM Hash

LM Hash vs NTLM Hash

Feature LM Hash NTLM Hash
Algorithm DES-based MD4-based
Max Password Length 14 characters Unlimited
Case Sensitivity Uppercase only Case sensitive
Character Set ASCII only Unicode
Security Level Very Weak Weak
Modern Usage Legacy systems only Limited use, being phased out

💡 For modern Windows authentication, use NTLMv2 or Kerberos. For password storage, use strong hashing algorithms like bcrypt, Argon2, or PBKDF2 with appropriate salt and iteration counts.

🛠️ Free Smart Tools

English English