Unix Password Hash screenshot

Unix Password Hash

Generate a Unix crypt hash in your browser: MD5, SHA-256 or SHA-512 crypt, with the salt and rounds stored in the output.

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

What this unix password hash does

The output is the $5$ or $6$ string /etc/shadow stores, with the salt and round count embedded, so crypt(3) and every login stack can verify it without knowing what produced it. MD5 crypt is included for old systems and is marked as legacy in the page copy.

How to use it

Unix Password Hash: paste the password into the box above, set Algorithm (default "sha512"), Rounds (SHA crypt), default 5000 and Salt (blank = random), default blank, and press Run to get the crypt hash below.

Worked example

Input:

correct horse battery staple

Output:

$6$kSI/WKoLKohXS3BC$0aJQfLovaVvILbjgkI6Nhg7CKmCODgjmkycleqyR6t2RPHIOiJDngbfqkawilvEJNwK1BJWLJhOZPcN8/0D7p0

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 crypt hash; reloading the page discards both.

The output is the $5$ or $6$ string /etc/shadow stores, with the salt and round count embedded, so `crypt(3)` and every login stack can verify it without knowing what produced it. MD5 crypt is included for old systems and is marked as legacy in the page copy.

Generate a Unix crypt hash in your browser: MD5, SHA-256 or SHA-512 crypt, with the salt and rounds stored in the output.

How to use it

Unix Password Hash: paste the password into the box above, set Algorithm (default "sha512"), Rounds (SHA crypt), default 5000 and Salt (blank = random), default blank, and press Run to get the crypt 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 crypt hash; reloading the page discards both.

What to Expect

Best for

  • Converting password to crypt 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

$6$kSI/WKoLKohXS3BC$0aJQfLovaVvILbjgkI6Nhg7CKmCODgjmkycleqyR6t2RPHIOiJDngbfqkawilvEJNwK1BJWLJhOZPcN8/0D7p0

Frequently asked questions

How do I use the unix password hash?

Unix Password Hash: paste the password into the box above, set Algorithm (default "sha512"), Rounds (SHA crypt), default 5000 and Salt (blank = random), default blank, and press Run to get the crypt 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.