SHA-256 and SHA-512 Hash Generator
Compute SHA-1, SHA-256, SHA-384 or SHA-512 hashes for any text inside your browser, without sending it to any external service.
- Free, no sign-up
- Runs in your browser
- الصور والويب
Computed in your browser with Web Crypto; your text is never sent anywhere.
What is a hash?
A hash is a function that turns any text into a fixed-length string. Short and long inputs produce hashes of the same length, and a one-character change alters the hash completely. That is what makes it useful for verifying that content has not changed, or comparing two file versions without opening them.
A hash is not encryption and the original cannot be recovered from it, but that does not make it suitable for storing passwords without salting and stretching. For how accounts are protected, see the guide to blogger account security.
Which algorithm should you choose?
- SHA-256: the default in most modern uses.
- SHA-512: a longer digest, for cases that want a higher theoretical margin.
- SHA-1: older and weaker, but still used by some legacy file-checking systems.
How to use it
- Paste the text into the field, or type it directly.
- Choose the algorithm.
- Press “Hash text”, wait a moment, then copy the result.
Frequently asked questions
Is the text sent to a server?
No. The calculation runs in your browser with Web Crypto; your text never leaves your device.
Can a hash be reversed?
No, it is a one-way function. What is possible is trying candidate inputs and comparing hashes, which is why salt is added when protecting passwords.
Why does adding a space change the hash?
Because every byte enters the calculation. One space means different text and a completely different hash.