💻 Developer Tools

Hash Generator

Paste any text and SHA-1, SHA-256, SHA-384, and SHA-512 hashes appear side by side — no waiting. Handy for checksum verification, integrity checks, or schema design. Everything runs in your browser, so sensitive strings are fine.

Examples (click to try)
SHA-1 160 bit
Waiting for input…
SHA-256 256 bit
Waiting for input…
SHA-384 384 bit
Waiting for input…
SHA-512 512 bit
Waiting for input…

How to Use the Hash Generator

Type or paste a string into the text area above and the SHA-1, SHA-256, SHA-384, and SHA-512 hash values will be computed automatically in real time. Click the "Copy" button next to any hash to copy it to your clipboard, or use "Copy all" in the toolbar to grab all four at once.

Worked example: Type hello into the text area and the SHA-256 hash becomes 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 (it starts with 2cf24dba…). The same input hello always produces the exact same hash, and changing even one character produces a completely different value.

  • SHA-1: 160-bit (40-character) hash. Useful for legacy compatibility checks. Not recommended for security purposes.
  • SHA-256: 256-bit (64-character) hash. The most widely used standard choice today.
  • SHA-384: 384-bit (96-character) hash. An intermediate strength option within the SHA-2 family.
  • SHA-512: 512-bit (128-character) hash. Maximum output length with the highest security margin.
  • Uppercase output: When checked, hexadecimal letters are displayed in uppercase (A–F).

Common Use Cases

  • Verify the SHA-256 checksum of a downloaded file against a published value to detect tampering.
  • Hash API tokens or passwords as a reference when designing database schemas.
  • Compare hash values during development and testing to confirm two strings are identical.

Frequently Asked Questions

Is my input text sent to a server?
No. All hash computations are performed entirely within your browser using the Web Crypto API. Your input is never transmitted to or stored on any server, so you can safely hash sensitive information.
What is the difference between SHA-256 and SHA-512?
Both are cryptographic hash functions from the SHA-2 family. SHA-256 produces a 256-bit (64-character hex) hash, while SHA-512 produces a 512-bit (128-character hex) hash. SHA-512 has a longer output and a higher security margin, but both are considered secure for most practical purposes today.
Can I generate an MD5 hash?
MD5 is not supported by this tool because the browser's built-in Web Crypto API does not include MD5. MD5 is known to be vulnerable to collision attacks and is not recommended for security-sensitive use cases. We recommend using SHA-256 or higher instead.