NT Password Hash (NTLM) Generator

Compute the legacy NT password hash as MD4 of UTF-16LE bytes, with hex or Base64 output for compatibility checks.

The NT one-way function

The NT password hash is MD4 over the password’s UTF-16LE code units. It does not use UTF-8, uppercase the password, trim spaces or normalize Unicode. Empty input is valid. The known password example returns 8846f7eaee8fb117ad06bdd830b7586c.

Hex output contains 32 digits representing 16 bytes; Base64 encodes those same digest bytes. Input is limited to 32768 UTF-16 code units. The pinned hash-wasm implementation provides MD4; the tool explicitly constructs little-endian input bytes.

Legacy compatibility only

This is neither an LM hash nor a NetNTLM challenge-response computation. NTLMv1 and NTLMv2 authentication involve other values and protocol steps. A password hash alone cannot reproduce a full authentication exchange.

The unsalted MD4 construction is unsuitable for new password storage. Use this page to reproduce a legacy value or diagnose encoding; choose a modern password-hashing design and application-specific costs for a new service.

Questions & answers

Is this the same as MD4 of UTF-8 text?

No. The NT one-way function uses UTF-16LE code units; even ASCII text has different input bytes.

Can the result be used as a modern password hash?

No. It is fast and unsalted. This tool is for legacy interoperability, not a password-storage recommendation.

Is my input uploaded?

No. Processing runs in your browser. Engines load from this site; the tool does not send input to a processing API or save it. Clear removes the visible input and result.

Other Languages

NT Password Hash (NTLM) Generator — Base64.sh

NT Password Hash (NTLM) Generator

Compute the legacy NT password hash as MD4 of UTF-16LE bytes, with hex or Base64 output for compatibility checks.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Check fixed NT hashes for empty, password and Password inputs and UTF-16LE encoding of non-BMP characters.
Comparison reference
Known NTOWF digests; the Unicode encoding check reuses hash-wasm MD4 and is not a second MD4 implementation.
Verification scope
These samples and boundaries do not prove correctness for every input.
Test source and cases (select a file to read it)

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.