Skip to content
GENERATORS

Hash Generator – SHA-256, SHA-384, SHA-512

Generate SHA-256, SHA-384 or SHA-512 hashes.

  • Free
  • No signup
  • Runs in your browser

This tool runs in your browser. The text you enter is processed on your device and is not sent to NHP Learning.

Hash Generator

About Hash Generator

A hash function turns any text into a fixed-length fingerprint. The same input always gives the same hash, a tiny change gives a completely different one, and the original cannot be recovered from it. Hashes are used for integrity checks, digital signatures, cache keys and content addressing.

This tool offers the SHA-2 family: SHA-256 (64 hex characters), SHA-384 (96) and SHA-512 (128). They are calculated with the browser's Web Crypto API, so the text stays on your device. Pick the algorithm, enter your text and click Run Tool.

How to use Hash Generator

  1. Select SHA-256, SHA-384 or SHA-512.
  2. Type or paste the text into the input box and click Run Tool.
  3. Copy the hexadecimal hash from the output box.

Example

Input

hello

Output

2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

Common uses

  • Verifying that two pieces of text are identical without comparing them by eye.
  • Creating a hash to use as a cache key or a content fingerprint.
  • Checking an example hash from documentation or an API specification.

Privacy and safety

This tool runs in your browser. The text you enter is processed on your device and is not sent to NHP Learning.

Frequently asked questions

Can a hash be reversed?

No. A hash is one-way. Attackers can only guess the input and compare hashes, which is why common or short passwords should never be stored as plain hashes.

Should I use SHA-256 to store passwords?

No. Fast hashes are too easy to brute-force. Use a password hashing function such as bcrypt or Argon2. In PHP, call password_hash().

Can it hash a file?

This tool hashes text that you type or paste, not file uploads.

Learn to build this yourself

Free tutorials and courses on NHP Learning cover PHP, JavaScript, SQL and WordPress, from the basics to real projects.