All tools

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files.

Browser onlyYour input is processed in this browser and is not sent to SpeedyTools servers.
Share:
Text to Hash

0 characters

About hash functions

A cryptographic hash function turns input data into a fixed-length string called a hash or digest. Digital signatures, password storage, integrity checks, and blockchains all rely on them.

This tool supports five algorithms: MD5 (128-bit), SHA-1 (160-bit), SHA-256 (256-bit), SHA-384 (384-bit), and SHA-512 (512-bit). SHA-256 and SHA-512 belong to the SHA-2 family defined in FIPS 180-4, and they are the ones to use for security work.

Features
MD5, SHA-1, SHA-256, SHA-384, SHA-512 all at once
Hash a file you upload
Compare two hashes to check they match
Uppercase or lowercase hex output
Common use cases

File integrity

Verify downloaded files match their published checksums

Duplicate detection

Compare hashes to find identical files or strings

Digital signatures

Compute the message digest that a signature scheme signs

Data verification

Check that data didn't change in transfer or storage

Frequently asked questions

What is a hash function?

A hash function is a one-way algorithm that turns input of any size into a fixed-size string of characters. Even a one-character change to the input produces a completely different hash.

Which hash algorithm should I use?

For anything security-related, use SHA-256 or SHA-512. SHA-1 and MD5 are broken for security use, so keep them to non-security jobs like checksums. If you're unsure, pick SHA-256.

Can I reverse a hash to get the original data?

No. Cryptographic hash functions are one-way, so you can't compute the original input from the hash. Short or common inputs, like weak passwords, can still be found by guessing inputs and comparing their hashes.

What is the difference between MD5 and SHA-256?

MD5 produces a 128-bit (32-character hex) hash. It is faster, but attackers can craft two inputs with the same MD5 hash. SHA-256 produces a 256-bit (64-character hex) hash and is considered secure. Use SHA-256 for anything security-related.

Is my data safe when using this tool?

Yes. Hashing runs in your browser, and your data is never sent to a server. The SHA hashes use the Web Crypto API, and MD5 uses a JavaScript implementation, since Web Crypto doesn't include it.

Private by default

Hashing runs in your browser. Your data is never sent to a server.