OOnDevice

Hash Generator

Generate SHA-1, SHA-256, and SHA-512 hashes from any text — right in your browser using the Web Crypto API.

Works offlineNothing uploaded

How to use it

1

Enter your text

Type or paste the text you want to hash.

2

Select a hash algorithm

Choose from MD5, SHA-1, SHA-256, SHA-512, or other algorithms.

3

Copy the hash

Click copy to grab the generated hash value.

When to use Hash Generator

You downloaded a release binary and the project's GitHub page lists a SHA-256 checksum — paste the file content or string here and Web Crypto subtle computes the hash in your tab so you can verify the two values match before running the installer. Also useful for generating a content fingerprint before storing a record in Redis, producing GDPR-safe pseudonymous identifiers by hashing user IDs with a salt, or confirming that two config strings are byte-for-byte identical without diffing them character by character. SHA-256 is the default; SHA-1 and SHA-512 are also available. Input text never reaches any server — the Web Crypto API computes the digest entirely in your browser tab.

  • Verify a SHA-256 checksum for a downloaded release binary
  • Generate GDPR-safe pseudonymous hashes of user email addresses
  • Fingerprint a config string to detect drift between environments

About this tool

Generate SHA-1, SHA-256, or SHA-512 hashes from any text string — instantly, using the Web Crypto API built into your browser. Practical uses: verifying a file checksum matches what a download page advertises, generating a content fingerprint before storing a record, or confirming two strings are identical without comparing them character by character. Note: SHA hashes are one-way digests — they're useful for integrity verification, not for storing passwords (use bcrypt or Argon2 for that). Generation happens in your browser using the Web Crypto API, so the input text never reaches any server. Paste, pick algorithm, copy hash.

Frequently asked

What is a hash?
A hash is a fixed-length string generated from input data using a mathematical algorithm. The same input always produces the same hash, but you cannot reverse it back to the original data.
What is the difference between SHA-1, SHA-256, and SHA-512?
They differ in output length and security. SHA-1 produces a 160-bit hash, SHA-256 a 256-bit hash, and SHA-512 a 512-bit hash. SHA-256 and SHA-512 are recommended for security-sensitive applications.
Is this hash generator private? Does it send my data to a server?
No. The Web Crypto API computes the digest in this browser tab — the input string or file never reaches any server, and the tool produces hashes without a network connection.