Skip to content
GAMETROZ

Hash Generator (SHA-256 & more)

Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file, locally in your browser.

Hashed as UTF-8. Updates as you type.

The file is read in your browser and never uploaded.

Type some text or choose a file to see its hashes.

MD5 is not offered: it is weak and not part of the browser's Web Crypto API. SHA-1 is included only for compatibility and should not be used for security.

Processed locally in your browser.

About Hash Generator (SHA-256 & more)

A hash is a fixed-length fingerprint of some data: the same input always gives the same hash, and changing a single character changes it completely. It is used to verify downloads, detect changes and identify content.

Hashes are computed with the Web Crypto API built into your browser. Files are read on your device, so nothing is uploaded, and very large files are limited only by your device's memory. MD5 is not offered because it is broken for security use and the browser does not provide it. SHA-1 is included for compatibility with older systems, but it should not be used for anything security-related; prefer SHA-256 or stronger.

How to use Hash Generator (SHA-256 & more)

  1. 1Type or paste text, or choose a file to hash.
  2. 2Pick lowercase or uppercase hex output.
  3. 3Read all four hashes, which update as you type.
  4. 4Copy the hash you need, or compare it with a published checksum to verify a download.

Examples

Input

abc

Result

ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
SHA-256 of the text abc.

Input

abc

Result

a9993e364706816aba3e25717850c26c9cd0d89d
SHA-1 of the same text: shorter, and no longer considered safe.

Input

(empty text)

Result

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Even nothing has a SHA-256 hash.

Frequently asked questions

Why is there no MD5?

MD5 has been broken for security purposes for years, and the Web Crypto API deliberately leaves it out. To compare a download against an old MD5 checksum, use a command-line tool; for new work, use SHA-256.

Is SHA-1 safe to use?

Not for security. Collisions can be produced deliberately, so it should not be used for signatures or certificates. It is still fine for non-adversarial uses such as matching an existing checksum or a Git object ID.

Can I hash a password with this?

You can compute the hash, but a plain SHA hash is the wrong way to store passwords because it is fast to brute-force. Real systems use slow, salted algorithms such as Argon2, scrypt or bcrypt.

Guides

Tools guide

What Is a Unix Timestamp?

A Unix timestamp counts the seconds since January 1, 1970 UTC. Learn seconds versus milliseconds, time zones, the year 2038 issue and how to convert one.

· 3 min read

Tools guide

Best Free Online Developer Tools

A tour of the free developer and generator tools in the Gametroz catalog: JSON, Base64, URL, timestamps, hashes, UUIDs, passwords, QR codes and more.

· 3 min read

Apps guide

How to Download Software Safely

Get software from the publisher or an official app store, check the web address, dodge fake download buttons and bundled installers, and verify what you got.

· 3 min read