Skip to content

Free tool

SHA-256 hash generator

Calculate SHA-256, SHA-384, SHA-512 and SHA-1 hashes of text with your browser’s built-in cryptography. Nothing leaves your device.

Text

Runs entirely in your browser: nothing you paste here is sent anywhere. UTF-8 encoded.

Hashes (hex)

  • SHA-256
    …
  • SHA-384
    …
  • SHA-512
    …
  • SHA-1not for security
    …

What a hash is for

A cryptographic hash turns any input into a fixed-length fingerprint. The same input always gives the same hash, a one-character change gives a completely different one, and you cannot get the input back from the hash. Hashes verify downloads (compare the published SHA-256), detect changed files, build cache keys and ETags, and sign data together with a key (HMAC).

Which algorithm

  • SHA-256: the default choice for integrity checks and signatures.
  • SHA-384 / SHA-512: longer outputs; SHA-512 can be faster on 64-bit machines.
  • SHA-1: broken for collision resistance; use only to match legacy systems such as old Git object IDs.
  • MD5: broken; not offered here.

Never store passwords with a plain hash: use a slow, salted algorithm such as Argon2, bcrypt or scrypt.

Verifying a download

Download the file, compute its SHA-256 (shasum -a 256 file on macOS and Linux, Get-FileHash file in PowerShell) and compare it with the value the publisher lists. VitalRix publishes SHA-256 sums for its on-premises releases for exactly this reason.

Using it safely at work

Online developer tools are a common way secrets leak: people paste production tokens, customer records or private keys into a website that quietly logs them. This page does all its work in your browser with standard Web APIs, makes no network request with your input, and stores nothing, so it is safe to use with real data, and you can confirm that in your browser’s network panel. Even so, treat anything you paste as you would treat a screenshot: rotate a token that was exposed, never share links that contain it, and prefer command-line tools on the server itself for very sensitive material.

Frequently asked questions

Is my data sent to a server?

No. This tool runs entirely in your browser; nothing you paste is uploaded or stored.

Can a SHA-256 hash be reversed?

No, but short or common inputs can be guessed by trying candidates, so do not hash secrets without a key.

Why is SHA-1 marked not for security?

Practical collisions exist; use SHA-256 or better.

Can I hash a file?

This tool hashes text; use shasum or Get-FileHash for files.

More free tools

All tools