Hash Generator
A Hash Generator takes input text and produces a fixed-length cryptographic digest — SHA-256, SHA-1, SHA-512, or MD5 — using the browser's native SubtleCrypto Web API, with no server processing.
- MD5
— - SHA-1
— - SHA-256
— - SHA-512
—
SHA-* hashes are computed via the Web Crypto API (crypto.subtle.digest). MD5 is provided for legacy interop and should not be used to verify integrity against an adversary.
About Hash Generator
Paste text or upload a file to compute its hash in real time. SHA-256 and SHA-512 are computed via crypto.subtle.digest, the standardized Web Cryptography API. MD5 is provided for legacy interoperability and is computed with a small pure-JavaScript implementation — never use MD5 for security-critical work.
What Hash Generator does
- SHA-256, SHA-384, SHA-512 via the Web Crypto SubtleCrypto API
- SHA-1 and MD5 for legacy interoperability
- Live hashing as you type for text input
- Drag-and-drop file hashing (streamed, never uploaded)
- Hex or Base64 output
When to reach for Hash Generator
- Verifying an integrity checksum from a download mirror
- Generating a content-addressed key for a static asset
- Comparing a hash you computed locally with one posted by a vendor
- Building a quick fingerprint for a config blob
How to use Hash Generator
- 01
Paste text or drop a file
Either paste a string or drag-and-drop a file into the input area.
- 02
Pick an algorithm
SHA-256 is the safe default. SHA-1 and MD5 are available for legacy interop only.
- 03
Copy the digest
Choose hex or Base64 output and click Copy.
When to use Hash Generator vs alternatives
| Alternative | Use Hash Generator when… | Use the alternative when… |
|---|---|---|
| `shasum` / `openssl dgst` in the terminal | you want a paste-and-go UI in the browser with file drag-and-drop. | you are already scripting and want it in a pipeline. |
| Online hash sites that upload your file | the file or text is sensitive and cannot be uploaded. | you also need server-side comparison against a known DB. |
Frequently asked questions
Which hash should I use?
Why is MD5 considered insecure?
Are hashes reversible?
Does this support hashing files?
Related tools
Related reading
Privacy · 12 min read
Which AI coding tools train on your code? A 2026 privacy guide
Whether an AI coding assistant trains on your code or keeps it private usually comes down to one thing: your subscription tier, not the tool. Here's a current, tier-by-tier breakdown of what GitHub Copilot, Cursor, Claude Code, ChatGPT and Gemini actually do with the code you send them — how to lock each one down, and when the only real guarantee is a local model.
Security · 10 min read
Vibe coding safely: shipping an AI-built app without leaking secrets or bugs
Vibe coding — describing what you want and letting an AI write most of the code — is a genuinely fast way to build. It is also a fast way to leak API keys, install a hallucinated package, and ship an app you do not understand well enough to secure. Here is a practical threat model and a safe workflow that keeps the speed without the accidents.