Security tool
Hash Generator
Calculate hashes for text and files.
Generate MD5, SHA-1, SHA-256, SHA-384, or SHA-512 digests for text and local files.
How to use Hash Generator
- Type some text or drop a file.
- Pick the hash algorithm you want.
- Copy the hash, no cap 🫡
What this tool does
Multiple algorithms
Rocks MD5, SHA-1, SHA-256, SHA-384, and SHA-512. Pick your fighter.
File hashing
Get checksums for files without uploading them anywhere. Locked in 🔒
Local calculation
Uses browser cryptography where available; speed depends on file size and device.
Common uses
- Compare a downloaded file with a published checksum.
- Generate a SHA digest for text or a file.
- Create legacy MD5 or SHA-1 checksums for compatibility.
Processing and privacy
Browser processing: Text and file bytes are hashed locally using browser code and Web Crypto where supported.
Limitations to know
- MD5 and SHA-1 are collision-broken and should not be used for security decisions.
- A plain hash is not suitable password storage; use a password-hashing function with a salt.
Keep original files where applicable, inspect the result, and do not rely on an automated output without checking that it fits your intended use.
Examples
SHA-256 of hello
Input: hello
Output: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Practical tips
- Use SHA-256 or higher for anything security-related. MD5 and SHA-1 are cooked and cryptographically broken — only vibe with them for basic checksums.
Frequently asked questions
Can I reverse a hash?
Cryptographic hashes are designed to be one-way. They cannot be decoded back into the original input; weak passwords can still be guessed and checked.
Related tools and guidance
- Password Generator — Generate strong passwords and memorable passphrases.
- Text Base64 — Encode and decode UTF-8 text as Base64.
- File Base64 — Encode a file as Base64 or decode a data URI.
- How to generate and handle strong passwords — Use browser-generated randomness, favor length and uniqueness, store credentials safely, and understand what a one-time secret link protects.