Skip to content
  1. Home
  2. Developer
  3. Hash Generator

Hash Generator

Type or paste text to get its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes.

MD5 and SHA-1 are broken for security use. Use them only for checksums and compatibility. Prefer SHA-256 or stronger.

How it works

A hash function turns any input into a fixed-length fingerprint. The same text always gives the same hash, and even a tiny change gives a completely different one. Hashes are one-way: you cannot recover the text from the hash.

Your text is converted to UTF-8 bytes and hashed in your browser. Nothing is sent to a server. Use hashes to check that two files or strings match, to create cache keys, or to compare against a published checksum. Do not use plain MD5 or SHA-1 to store passwords.

Frequently asked questions

Is my text uploaded?

No. All hashing happens in your browser.

Why are MD5 and SHA-1 marked as weak?

Attackers can create different inputs with the same MD5 or SHA-1 hash, so they should not be used for signatures or security. They are still fine for non-security checksums.

Can I hash a file?

This tool hashes text only. Trailing spaces and line breaks count, so check them if your hash differs from another tool.