
A free hash calculator that computes MD5 and SHA (SHA-1, SHA-256, SHA-384, SHA-512) for text or uploaded files in your browser. No data is sent to any server. Useful for checksums, integrity checks, and quick hashing during development. Best used in modern browsers that support the Web Crypto API for SHA hashes.
Why Use This Hash Generator?
- Private: All hashing runs locally; nothing is uploaded.
- Text and files: Hash a string or choose a file to hash its contents.
- Multiple algorithms: Get MD5 and SHA-1, SHA-256, SHA-384, SHA-512 in one go.
- Copy each value: One-click copy for any hash result.
Key Features
- Input: Type or paste text, or select a file via the file input.
- Algorithms: MD5 (pure JS), SHA-1 and SHA-256/384/512 (Web Crypto API).
- Copy: Each hash has a copy button.
- No backend: Entirely client-side; works offline after load.
How it Works
Text is converted to UTF-8 bytes; file input is read as ArrayBuffer. MD5 is computed with a pure JavaScript implementation (RFC 1321). SHA hashes use the browser’s crypto.subtle.digest(). Results are shown as lowercase hex. Browsers without Web Crypto will show “N/A” for SHA hashes.
Try the Hash Generator
Enter text or pick a file, then click Hash. Copy any of the generated hashes. For large files, hashing may take a moment. Recommended for use in Chrome, Edge, or Firefox.
简体中文
哈希值生成器
为任意文本生成 MD5、SHA-1、SHA-256 等多种哈希值。
한국어
해시 생성기
임의의 텍스트에 대해 MD5, SHA-1, SHA-256 등 다양한 해시값을 생성합니다.
日本語
ハッシュジェネレーター
任意のテキストから、MD5・SHA-1・SHA-256 など複数のハッシュ値を生成します。