Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text.
Built and tested by Muhammad Irfan Liaqat · Updated
Hash Generator: key facts
- Generates SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text at the same time
- Text is encoded as UTF-8 and hashes are shown in lowercase hexadecimal
- Uses the browser's built-in Web Crypto API
- Text only: it does not hash files, generate MD5 or compute HMACs
What a hash is and which algorithm to use
Type or paste text and the hash generator shows its SHA-1, SHA-256, SHA-384 and SHA-512 hashes at the same time, using your browser's Web Crypto API. A hash is a fixed-length fingerprint of data: the same input always gives the same hash, and changing one character gives a completely different one.
Hashes are used to check that data has not changed and to create identifiers. SHA-256 is the usual choice. SHA-1 is included for older systems but is broken for security use, since researchers produced two different files with the same SHA-1 hash in 2017. Fast hashes like these should not be used on their own to store passwords; password storage needs a slow, salted algorithm such as Argon2, bcrypt or scrypt. This tool hashes text encoded as UTF-8, not files, and nothing you type is sent anywhere.
How to generate a SHA-256, SHA-1 or SHA-512 hash
- 1Type or paste the text you want to hash
- 2Read the SHA-1, SHA-256, SHA-384 and SHA-512 values
- 3Click Copy next to the hash you need
Frequently Asked Questions
Which hash algorithm should I use?
Can a hash be reversed?
Why is there no MD5?
Why does my hash differ from another tool's?
How do I get the SHA-256 checksum of a file?
How long is a SHA-256 hash?
Should I hash passwords with SHA-256?
Related Tools
Guides
- Create Strong Passwords You RememberPractical advice on building secure passwords without going crazy. Plus tips on password managers and why length beats complexity.
- Base64 Encoding: What It Is and WhyHow Base64 turns bytes into text, why it adds 33%, how base64url differs, and why the same word can encode two ways. Every example tested.