Home › Developer Tools › Hash Generator

Hash Generator (MD5, SHA-1, SHA-256, SHA-512)

Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files, with optional HMAC and a compare box.

AlgorithmHash
MD5—
SHA-1—
SHA-256—
SHA-384—
SHA-512—

How to use Hash Generator

Step by step

1

Enter text or choose a file

Type text or pick a file from your device.

2

Read the hashes

All five hashes appear at once.

3

Compare or copy

Paste a known hash to compare, or copy any result.

Features and benefits

What you get

Live hashes

Hashes update as you type.

Files and text

Hash a typed string or a file from your device.

HMAC support

Add a secret key to get an HMAC.

Private

Nothing is uploaded; hashing happens in your browser.

Supported formats and limitations

What to expect

Supported formats

Any text or file

Size limits

Files up to 300 MB

Limitations

Hashing a large file reads it into memory, so very large files may be slow.

Frequently asked questions

Quick answers

Is hashing the same as encryption?

No. A hash is a one-way fingerprint. You cannot turn it back into the original data.

Is my data uploaded?

No. Text and files are hashed in your browser.

Which algorithm should I use?

Use SHA-256 or stronger for security. MD5 and SHA-1 are only suitable for checksums and compatibility.

Related tools

More from Developer Tools

Related guides

Read more about this tool