MSSQL Password Hash screenshot

MSSQL Password Hash

Generate the SQL Server 2000 or 2005 password hash in your browser. The four-byte salt can be supplied or drawn at random.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this mssql password hash does

The hash starts with 0x0100 and the four-byte salt, then SHA-1 of the UTF-16 little-endian password and that salt. SQL Server 2000 appends a second digest of the upper-case password, which is why 2000 hashes are twice as long as 2005 hashes.

How to use it

MSSQL Password Hash: paste the password into the box above, set Version (default "2005") and Salt, 8 hex digits (blank = random), default blank, and press Run to get the MSSQL hash below.

Worked example

Input:

correct horse battery staple

Output:

0x010001B120FCC51028CF6FA4CAB38A0F272F53022E6346C7B8E8

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns MSSQL hash; reloading the page discards both.

The hash starts with 0x0100 and the four-byte salt, then SHA-1 of the UTF-16 little-endian password and that salt. SQL Server 2000 appends a second digest of the upper-case password, which is why 2000 hashes are twice as long as 2005 hashes.

Generate the SQL Server 2000 or 2005 password hash in your browser. The four-byte salt can be supplied or drawn at random.

How to use it

MSSQL Password Hash: paste the password into the box above, set Version (default "2005") and Salt, 8 hex digits (blank = random), default blank, and press Run to get the MSSQL hash below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns MSSQL hash; reloading the page discards both.

What to Expect

Best for

  • Converting password to MSSQL hash when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

correct horse battery staple

Sample output

0x010001B120FCC51028CF6FA4CAB38A0F272F53022E6346C7B8E8

Frequently asked questions

How do I use the mssql password hash?

MSSQL Password Hash: paste the password into the box above, set Version (default "2005") and Salt, 8 hex digits (blank = random), default blank, and press Run to get the MSSQL hash below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.