Hash Generator

Get the SHA fingerprint of any text in hex or Base64. For storing passwords, use bcrypt instead of a plain hash.

Hash Generator

Developer Tools

Runs locally in your browser.

Hashing uses the browser's built-in Web Crypto API. Your input never leaves your device.
Note: MD5 and SHA-1 are considered cryptographically broken for security purposes. Use SHA-256 or stronger for anything security-sensitive. For password storage, use a dedicated algorithm such as bcrypt or Argon2.

About the Hash Generator

Cryptographic hashing is a basic requirement for the modern web. Hashes are handy for checking a webhook payload, fingerprinting a file or creating a checksum for database records. But pasting a string, API token or private identifier into a random online hashing tool is incredibly dangerous, as your text can be potentially seen by third parties

With this Hash Generator, you're able to create hashes locally, giving you peace of mind that your text is never sent to a remote server. And since it's using your browser's native Web Crypto API, you can generate 5 different types of hashes right in your browser.

Key Features of Hash Generator

  • Web Crypto APIHashing is done by your browser's built-in cryptography functions. That's why we've used your browsers native Web Crypto API to generate hashes. Your input text is processed completely locally, meaning no sensitive information is sent to a remote server.
  • AlgorithmsChoose from 5 different hashing algorithms. You can choose SHA-1 for older systems, or SHA-256, SHA-384 or SHA-512.
  • Output FormatsPick from multiple output formats to suit your needs. You can choose from Hexadecimal, Base64 or Binary, with the default being Hexadecimal which is the most common hashing output format.
  • EducationThis hash generator tool is all about education. It teaches you about secure hashing algorithms and warns you about insecure algorithms that are best avoided.
  • Hash Generator Tool TipsDesigned for developers, this cryptographic hashing tool has a number of tips and advice to help you further your knowledge of cryptography.

How to Use Hash Generator

  1. Type or paste the text you want to hash into the "Text to hash" textarea
  2. Pick your desired cryptographic hash algorithm from the "Algorithm" dropdown
  3. Make sure you pick a desired output format from the "Output format" dropdown
  4. Click the "Generate hash" button to calculate the hash of your text
  5. Click the "Copy" button to copy the hash to your system's clipboard, or "Clear" to clear the text fields

Hash Generator Examples

The SHA-256 digest of the word hello. The same input always gives the same digest.

Input
hello
Result
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

Hash Generator — Frequently Asked Questions

The difference between hashing and encryption.
Encryption is a process of encoding information so that it is secure and unreadable to anyone who does not possess a decryption key. Encryption is a two-way process, information is encrypted and then decrypted later. Hashing is a mathematical operation where a fixed-size string of characters is generated from an input text. Unlike encryption, a hash can't be decrypted, it is a one-way process.
What is a hash collision.
A hash collision occurs when two different inputs result in the same hash output. With the increased computational power of modern computers, it is now possible to find collisions for MD5 and SHA-1. This is why those algorithms are considered insecure and should be avoided.
How do I hash a password.
You shouldn't use any of the algorithms in this hash generator to hash passwords. Even though SHA-256 is safe to use, it's not recommended to use it for password storage. Algorithms such as bcrypt or scrypt should be used for password storage, as they are specifically designed for this purpose. They also have a built in salt feature to avoid dictionary attacks.