Format Code Now
/

NTLM Hash Generator

HG-16

Type a password to get its NT hash, the 32 hex character value Windows keeps as an NTLM hash. It is MD4 of the text as UTF-16LE.

Runs in your browser. Nothing is uploaded.

Password or text (hashed as UTF-16LE)

NT hash

How to use it

  1. Type or paste the password into the input box. Sample loads the word password.
  2. The NT hash appears as you type, in uppercase hex, which is how tools usually print it.
  3. Pick lowercase hex or Base64 if you need another form.
  4. Tick Ignore one trailing line break if the text ends with a newline.
  5. Copy the result, or download it as a .txt file.

What an NT hash is

The NT hash is the hash Windows stores for a local or domain account password and the value tools such as Mimikatz print as the NTLM hash. It is MD4 taken over the password encoded as UTF-16LE, with no salt. The word password gives 8846f7eaee8fb117ad06bdd830b7586c. The empty password gives 31d6cfe0d16ae931b73c59d7e0c089c0, which is the same as plain MD4 of an empty input.

Not NTLMv2

NTLM authentication over the network does not send the NT hash. NTLMv2 builds a response from the hash, a server challenge, a client challenge, the username and the domain, using HMAC-MD5. This page does not make those responses. It also does not produce the old LM hash. It gives the NT hash only, which is what you compare or look up against.

Handle with care

The hash is unsalted, so identical passwords share a hash, and it is fast to brute force. That is why it is risky in a stolen database, and why nothing new should use it. Type only test passwords here. The text stays in your browser, but a real account password does not belong in any web page you do not control.

Questions people ask

How do I generate an NTLM hash?

Type the password into the input box and the NT hash appears at once. The default is uppercase hex, which is how most tools show it; you can switch to lowercase or Base64. It is MD4 of the UTF-16LE bytes.

What is the NTLM hash of password?

It is 8846F7EAEE8FB117AD06BDD830B7586C in uppercase hex, or 8846f7eaee8fb117ad06bdd830b7586c in lowercase. Click Sample to see it. Tools that list NT hashes usually print the uppercase form of this value.

Is the NT hash the same as the NTLM hash?

In everyday use the two names mean the same value: MD4 of the UTF-16LE password. Strictly, NTLM is the authentication protocol and NT hash is the stored value. This page gives that stored value.

Does this create NTLMv2 responses?

No. An NTLMv2 response mixes the NT hash with the username, the domain and challenges from both sides, using HMAC-MD5. This page only computes the NT hash, which is the first step of that process.

Why is the NTLM hash different from MD4?

Because the input bytes differ. MD4 here is taken over UTF-8, while the NT hash uses UTF-16LE, which puts a zero byte after each ASCII letter. The empty string is the one case where both give the same value.

Is NTLM hashing secure?

No. The hash has no salt and is quick to compute, so stolen hashes can be cracked at high speed or used directly in pass-the-hash attacks. It is kept for compatibility, and newer designs avoid it.

About this tool

This is the NT hash that Windows stores for a password: MD4 over the text encoded as UTF-16LE, with no salt. It is not an NTLMv2 response or a challenge-response, which also use a server challenge and a username. It matches the NT part only, not the old LM hash. The hash is unsalted and fast to guess, so do not use it for anything new. The text is taken as typed, including spaces; "Ignore one trailing line break" removes one. Nothing you type is sent anywhere, but avoid pasting a real account password into any web page you do not control.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.