Home / Web & Developer / SHA Hash Generator (SHA-1/256/384/512)
#️⃣ SHA Hash Generator (SHA-1/256/384/512)
SHA Hash Generator (SHA-1/256/384/512) – get instant, free results right on your device.
A hash cannot be reversed; on its own it is not sufficient for storing passwords. Not an official institution.
Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy
What is SHA Hash Generator (SHA-1/256/384/512)?
SHA is a family of hash algorithms used as a “fingerprint” of a text or file. They are commonly used to check data integrity.
This tool generates the SHA-1, SHA-256, SHA-384, or SHA-512 hash of the text you type, using your browser's secure cryptography interface. A hash is one-way; that is, you cannot get back to the text from the output. The text is not sent to a server.
SHA-1 is considered weak from a security standpoint; SHA-256 and above are preferred in new applications. Do not use SHA alone to store passwords; that requires dedicated methods such as bcrypt, scrypt, or Argon2.
How to use
Fill in these fields: Algorithm, Text. Then press the button; the result appears on the same page and your data never leaves your device.
Formula
abc → SHA-256: ba7816bf…
Example
abc → SHA-256: ba7816bf…
Worked examples and tips
Example 1: With the algorithm set to SHA-256 and the text abc, the tool outputs ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. This is the widely known test vector for SHA-256; you can use it as a reference point to check that your own implementation or command-line output works correctly.
Example 2: Even a small change in letter case completely changes the output. With SHA-256, Merhaba gives 7fdc9f4717c5fe66df286c700fab969b4d6209d03aa84624c5f8f58c17c9c058, while merhaba gives 4c6bcdd55f3153e1939669ab1ec039e4059174dc25abdfcb2f58868849b4d61b. There is no visible similarity between the two digests; this property is ideal for telling whether data has changed.
Example 3: If you set the algorithm to SHA-1 and enter merhaba, you will see 8af22540a3ae8c4a05e7eabb53d26cfc3393e91c. This output is 40 characters, while SHA-256 produces 64 characters. Length is the quickest way to tell which algorithm was used.
Tips and common mistakes: Do not type your real password, key, or the contents of a confidential document into any tool for testing; use only sample text here. The SHA family alone is not suitable for storing passwords; that requires salting and special slow-running methods. SHA-1 is considered weak against collision attacks, so prefer SHA-256 or stronger for new work. When comparing, an invisible line break or space at the end of the text also changes the result; if two digests do not match, check for these first.
Frequently asked questions
SHA Hash Generator (SHA-1/256/384/512) – how to use it?
Fill in the fields and press the button; the result appears instantly. Example: abc → SHA-256: ba7816bf…
SHA Hash Generator (SHA-1/256/384/512) – is it free, and is my data stored?
Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.
Related guide
- How to Create a Secure Password: Length, Entropy and 8 Rules – How to create a secure password: password strength in bits, random-word passphrases, command-line generation and eight practical rules.
- What Are JSON, Base64 and URL Encoding? Encoding vs Encryption vs Hashing – What do JSON, Base64, URL encoding, HTML entities, SHA and JWT do? Encoding vs encryption vs hashing, with examples that were run and verified.
- What Is a JWT (JSON Web Token) and How Does It Work? Decoding, Signature and Security – What is a JWT, how do you decode it and verify its signature? A real sample token, exp time math, a tampering test and security mistakes.