Hash Generator - SHA-1, SHA-256, SHA-384, SHA-512 (Text & File)
Compute SHA-1, SHA-256, SHA-384 and SHA-512 hex digests of any text or file. Uses the browser's built-in Web Crypto API — your data never leaves your device.
About Cryptographic Hashing
A cryptographic hash maps any input to a fixed-length fingerprint that is infeasible to reverse. SHA-256 is the modern default for integrity checks. SHA-1 is shown for legacy compatibility but is no longer considered safe against collision attacks. MD5 is intentionally omitted because it is broken for security purposes.
Continue Enhancing Your Images
Take your photo editing to the next level with these popular tools
Add Text to Image
Add captions and titles to your enhanced photo
Add Photo Border
Frame your effect with beautiful borders
Compress Image
Optimize your enhanced image for sharing
Resize Image
Change image dimensions
Photo to Cartoon
Try a different artistic style
Pencil Sketch
Create artistic pencil drawings
Frequently Asked Questions
SHA-1, SHA-256, SHA-384 and SHA-512 — every algorithm exposed by the browser's Web Crypto API. The digest is shown as a lowercase hexadecimal string, which is the format expected by checksum files, package manifests and HMAC tooling.
featuresThey differ in output length and design generation. SHA-256 is the modern default for integrity checks and most blockchain use. SHA-384 and SHA-512 produce longer digests that resist length-extension attacks. SHA-1 is shown for legacy compatibility but is no longer considered safe against collision attacks.
technicalMD5 is broken: collision attacks are practical on a laptop, so it must not be used for security-sensitive work. We intentionally omit it to discourage new code from depending on it. For non-security uses like cache keys, prefer SHA-256 truncated to the size you need.
technicalBoth. Paste a string or drop a file into the input box — the tool reads the file as a binary stream and feeds it directly to the hashing API, so the digest matches the one produced by sha256sum, openssl dgst or PowerShell's Get-FileHash.
featuresNo. Cryptographic hashes are one-way functions: given a digest, there is no efficient way to recover the input. That is the entire point — integrity checks, password storage and signatures all rely on this property.
technicalNo. The Web Crypto API runs the hash inside your browser, so the input never crosses the network. That makes the tool safe for secrets, private keys and any file you would not want to upload.
privacyUse Cases
Verify File Integrity After Download
Compute the SHA-256 digest of an ISO, installer or release artifact and compare it with the publisher's checksum to confirm the file was not corrupted or tampered with
Detect Duplicates in Large Image Libraries
Hash files to find duplicate photos, documents or assets across folders, NAS shares and cloud drives without comparing them byte-by-byte every time
Sign & Validate Webhook Payloads
Generate the SHA-256 digest of a webhook body to validate Stripe, GitHub, Shopify and Twilio HMAC signatures during local integration work and debugging
Fingerprint Software Releases for Auditing
Produce SHA-512 fingerprints for binaries, container images and release tarballs so compliance teams can audit which exact build shipped to which customer
Generate Cache Keys & ETags
Hash request bodies, query parameters or file contents to derive deterministic cache keys for Redis, Cloudflare Workers and CDN ETag headers
Confirm Backup Integrity Over Time
Store SHA-256 digests of monthly backups and re-hash them later to confirm bit-rot has not silently corrupted critical archives on long-term storage media
Pixoate