Need the saved value for a password without opening a terminal? This online NTLM hash generator turns any text into the 32-character code Windows keeps for that account secret, so you can verify a value, build a test case or compare results in seconds. Below, you will see how the result is built, how to read it, and where it still matters for hash work.
How to Use the NTLM Hash Generator Online
The NTLM hash generator tool is free and takes four quick steps: For a new site install, generate a wordpress password hash first, then insert the user record in the database as an admin.
- Paste or type the text into the field.
- Press the button to calculate the result.
- Read the 32-character value that appears.
- Copy it in uppercase or lowercase, whichever your target system expects.
Whenever you need to generate NTLM hash values for lab accounts, repeat the steps once per entry. You can generate an NTLM hash from any text, including passphrases with spaces and symbols.
Input string
Paste any plain-text string. Letters, digits, symbols and non-English characters are all valid, because each character is converted to two bytes first, so how you type it decides the answer. If you plan to encode a value before pasting it, don't: the page handles that step itself.
Output text in hexadecimal
The output is always 32 hexadecimal characters, which equals 16 bytes. Most references print it in capitals, but the value is the same in either case.
If your result does not match a reference value, check these usual causes:
- A trailing space or line break was pasted along with the text, which shifts every byte after it.
- A different character encoding, such as UTF-8, was applied before the function ran, so the bytes fed to the function were not the ones expected.
- The capitalisation differs, and a single changed letter gives an unrelated result.
- Smart quotes or look-alike characters replaced the plain symbols you meant to type.
What Is an NT Hash? Windows Password Hash Basics
An NTLM hash, also called an NT hash, is a 128-bit cryptographic fingerprint of a password. NT LAN Manager is Microsoft's legacy authentication suite, and its design means the system never has to keep your actual text, only the matching fingerprint. Unlike a general digest such as MD5 or SHA1, it follows its own recipe, which the formula section below spells out. Any NTLM password you set ends up as one of these values. Because the value is derived from the text alone, anyone holding it can often impersonate the account, so treat it like the secret itself. Pick a digest size in the free sha3 hash generator and hash pasted text with the keccak based algorithm standardized in FIPS 202.
Where NTLM hashes are stored
On a standalone machine, the values are stored in the SAM file, which needs SYSTEM privileges to read. In a domain, the domain controllers keep them in the NTDS.dit database, and a copy also lives in the memory of the LSASS process.
NTLM hash vs LM hash and Kerberos
The older LM hash relied on DES and split passwords into halves, so it is obsolete. The NTLM version replaced it and added case sensitivity. Kerberos is the modern protocol: it uses encrypted tickets and mutual authentication, offers strong encryption, and never sends the secret across the network.
MD4 Generator Formula: How UTF-16LE Text Becomes a Hash
An NTLM hash calculator follows one rule: encode the password as UTF-16LE, then hash the resulting bytes.
$$H = f\left(E(P)\right)$$Here \(P\) is the password, \(E\) turns each character into two bytes, and \(f\) is the MD4 function. The algorithm has no salt, so the same password always gives the same result. Take Winter!Harbor42: its 15 characters become 30 bytes.
| Step | Value |
|---|---|
| Password | Winter!Harbor42 |
| Bytes in hex | 570069006e00740065007200210048006100720062006f00720034003200 |
| Final 32-character value | 6DB46AA280694F940E30F325D2B90BA6 |
Three properties follow from this recipe. First, length never matters: a four-letter word and a sixty-letter passphrase both end up as exactly 16 bytes. Second, no salt is mixed in, so identical secrets produce identical values on every machine, and precomputed lookup tables work well against weak choices. Third, the process is very fast; a modern graphics card can test billions of guesses per second, which is why short secrets fall quickly.
NTLM hash example
Change one capital and everything changes: winter!harbor42 produces AA41300025D27C6D654F3DC584557AD9. Web developers often keep a known pair like this in unit tests to confirm that a login routine hashes correctly.
Auditing a Reused Reset Secret with an NTLM Hash Calculator
The decision on my desk: does anyone in a 41-account office still carry the year-stamped reset secret the help desk handed out? I have an export of NT values from a lab copy of the directory, but no readable secrets, so I generate the NTLM hash of the suspect text and look for a match.
I enter Maple#Ledger2026 in the calculator, press the button and read EAFDEFAB72E3D87E438FF3CCA1C00CA6. Searching the export for that NTLM hash returns 2 of 41 accounts. Two people never changed it.
The sensitivity rerun matters next, because the help desk reuses the pattern annually. Changing one digit to Maple#Ledger2027 gives the NTLM hash B6768E7FA3F47337608276FAA2E56CC9, an entirely unrelated value, and the export holds 0 matches for it. That is good news for next year, but only for that exact spelling; a trailing exclamation mark or a lowercase M needs its own run.
- Result: 2 accounts match, 39 do not.
- Reference point: NIST SP 800-63B says verifiers should screen secrets against lists of commonly used or compromised values, which is exactly what comparing each account's NTLM hash with a banned-list hash does.
- Next action: force a reset on those 2 accounts today, then add both the 2026 and 2027 spellings to the banned list.
One caveat I would not skip: because no salt is involved, the same NTLM hash on two accounts means they share a secret, not that either is weak by itself. Before trusting a zero-match result, I confirm the search works by hashing one account secret I set myself and finding it in the export. The number I watch is the match count, since 2 of 41 means nearly 5% of the office was open to a single guess, and the NT hash of any further seasonal variant I can think of is one more quick run away.
NTLM Password Hasher Uses in Pentest and Pass-the-Hash Work
In a pentest lab, a Python script can run in single mode to hash one secret and print it to stdout, in random mode to produce thousands of values for a GPU rig stress test, or in input file mode to hash a wordlist line by line.
During security testing against Active Directory, the same value feeds a pass-the-hash check. A client presents the hash instead of the secret, and the server accepts it during the challenge/response exchange without ever seeing the cleartext. Because SMB shares and SQL logins still accept NTLM on many corporate networks, defenders test this path too.
Defenders can use the same values in reverse. Hash a list of banned or breached entries, then compare the results with the values in a directory export to find accounts that already use them. Pair that check with longer passphrases, and switch NTLM off wherever applications no longer need it.
NTLM Hash Decoder: Why Hashing Cannot Be Reversed
A true NTLM hash decoder cannot exist, because hashing is one-way: the value holds no recoverable data about the original. What works is a dictionary attack, where you hash likely passwords and compare each result, or brute-force guessing when the password is short. Both are hash cracking, and both explain why a long, random passphrase protects you better than any detail of the method.
A practical consequence follows: when someone hands you a value and asks what it is, the only honest answer is to test guesses against it. Each extra character in a passphrase multiplies the number of guesses required, so length does more work than clever substitutions. Slow functions built for storage, such as bcrypt or Argon2, suit new applications better, because NTLM was designed for speed and compatibility, not for resisting offline guessing.
Frequently Asked Questions
- What is the NTLM hash used for?
- It's the format Windows has used since NT to store password verifiers locally (in the SAM database) and in Active Directory (NTDS.dit) -- and it's still used today in the NTLM authentication protocol for network logons, even on modern Windows systems, for backward compatibility.
- Why does NTLM use MD4, and is that a problem?
- MD4 was chosen when NTLM was designed in the early 1990s, well before MD4's cryptographic weaknesses (practical collision attacks) were discovered. Because NTLM has no salt and MD4 is extremely fast, precomputed rainbow tables and GPU brute-force attacks against NTLM hashes are very effective -- this is a well-known, long-standing weakness that's exactly why NTLM is considered legacy and Kerberos is preferred wherever possible.
- Why UTF-16LE and not UTF-8?
- Windows has used UTF-16LE as its native internal string encoding since NT, so NTLM hashes the password exactly as Windows represents it internally -- 2 bytes per character, little-endian byte order -- rather than converting to UTF-8 first.
- Is this the same as a Windows password hash dump?
- It's the same NT hash value that tools like Mimikatz or a SAM database dump would show for that password -- but generating one here doesn't interact with any real Windows system. This tool exists for security research, penetration testing labs, and understanding how NTLM authentication works, not for attacking systems you don't have authorization to test.
- Is my password sent anywhere?
- No. The hash is computed entirely in your browser using a hand-rolled MD4 implementation -- nothing is transmitted to a server or stored.