The Otter family · try our other free tools: PDFOtter ↗ PixOtter ↗ Numbiqo UK money calculators ↗

Hash Generator

Create SHA-256, SHA-1 and SHA-512 hashes of any text.

Algorithm
Read the full guide: How to Generate a SHA-256 Hash (Checksums Explained) →

Generate SHA-256, SHA-1 and SHA-512 hashes of any text with this free online hash generator. Use it to create checksums, verify data integrity or produce fingerprints, computed securely in your browser with the Web Crypto API.

How to use the hash generator

  1. Type or paste the text you want to hash.
  2. Choose an algorithm: SHA-256, SHA-1 or SHA-512.
  3. Generate, the hash is created and copied for you.

Why use ToolOtter's Hash Generator?

  • SHA-256, SHA-1, SHA-512
  • Secure Web Crypto
  • Auto-copies the result
  • Private, text stays in your browser

Worked example

Type hello and generate a SHA-256 hash: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Change one letter to Hello and the hash is completely different: 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969. That is why hashes are used to check that data has not changed.

Hashes use your browser's built-in Web Crypto, the same code browsers use for HTTPS.

When people use it

  • Checking that a value matches a published checksum
  • Creating test data for developers
  • Comparing two pieces of text without showing them
  • Learning how hashing works

Good to know

This tool hashes text, not files. SHA-1 is considered broken for security purposes; use SHA-256 or SHA-512. Plain hashes are not suitable for storing passwords, which need a slow algorithm such as bcrypt or Argon2 with a salt.

Hash Generator, frequently asked questions

How do I generate a SHA-256 hash?

Type your text, keep SHA-256 selected and click Generate. The hexadecimal hash appears and is copied to your clipboard.

Which hash algorithms are supported?

SHA-256, SHA-1 and SHA-512. SHA-256 is the most common choice for checksums today.

Is the hashing done securely?

Yes. It uses the browser built-in Web Crypto API, and your text is never sent anywhere.

Can I hash passwords with this?

You can hash any text, but for storing passwords use a dedicated password-hashing scheme (like bcrypt) on a server.

Can a hash be reversed?

Not directly. A hash is one-way, although short or common inputs can be found by guessing, which is why passwords need salting.

Why is my hash different from another tool?

Check for an extra space or newline at the end of the text, and that both tools use the same algorithm and text encoding (UTF-8).

Which algorithm should I use?

SHA-256 for almost everything. SHA-512 if you need a longer output.