Hash Generator
SHA-256, SHA-512, and SHA-1 hashes via the browser Web Crypto API
Everything runs in your browser. Your data never leaves your device.
Related tools
How to use
A cryptographic hash function maps input text of any length to a fixed-length digest. The same input always produces the same digest, but even a single changed character produces a completely different output.
Enter the text to hash
Paste or type any text into the input field. The tool accepts plain text of any length. If you need to hash a file, paste its text content here.
Select the hash algorithm
Choose SHA-256 for general use and compatibility, SHA-512 for longer digests with higher collision resistance, or SHA-1 for legacy systems that require it — SHA-1 is no longer recommended for new security-sensitive work.
Copy the hex digest
The result appears as a lowercase hexadecimal string. SHA-256 produces 64 hex characters, SHA-512 produces 128, and SHA-1 produces 40. Use the copy button to send it to your clipboard.
Examples
Verifying file integrity
If a download page lists the SHA-256 hash of a file, you can paste the file's text content here and compare the digest to confirm the file has not been tampered with during transmission.
Generating a content fingerprint
Hashing a document before and after editing lets you confirm exactly what changed. If the SHA-256 digest is identical, the content is byte-for-byte the same — useful for audit trails and version comparison.
About this tool
Compute cryptographic hash digests of any text using the browser's built-in SubtleCrypto API. Supported algorithms are SHA-256, SHA-512, and SHA-1. Output is a lowercase hexadecimal string you can copy with one click. Because SubtleCrypto is part of the Web Crypto standard, the implementation is maintained and audited by browser vendors rather than a third-party library. No data is uploaded — hashing runs entirely client-side in your browser.