Skip to content
kitto works
All tools

Hash Generator — MD5, SHA-1, SHA-256, SHA-384, SHA-512

Compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or a file, all at once. Useful for verifying file integrity or checksums. Everything runs in your browser — your text and files are never sent anywhere.

All hash computation happens entirely inside your browser. The content of your text or file is never sent to a server.

Hash values

Enter text or choose a file to see hash values here.

How to use

  1. Choose "Text" or "File", then type text or select a file.
  2. MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes are calculated automatically and listed.
  3. Click "Copy" next to any hash value to copy it to your clipboard.

How it works

How it's calculated

Text input is converted to UTF-8 bytes before hashing. A file's raw content (bytes) is hashed directly. Both happen entirely through APIs built into your browser — nothing is ever sent externally.

SHA-1, SHA-256, SHA-384, and SHA-512 use the browser's built-in Web Crypto API (crypto.subtle.digest). MD5 is not part of the Web Crypto API, so this tool uses a widely used open-source library (js-md5) instead.

Output format

All hashes are shown as lowercase hexadecimal strings. Each algorithm produces a fixed length: MD5 is 32 characters, SHA-1 is 40, SHA-256 is 64, SHA-384 is 96, and SHA-512 is 128.

An important note about MD5

MD5 is now considered cryptographically broken — practical collision attacks exist — and should not be used for security-sensitive purposes such as password storage or digital signatures. MD5 support in this tool is intended for compatibility with legacy systems or simple checksum/integrity checks. For anything security-related, use SHA-256 or stronger.

About empty input

An empty string or a 0-byte file is not an error — each algorithm has a well-defined fixed hash value for empty input, which this tool will show.

FAQ

Is my text or the file I select sent to a server?

No. All hash computation happens entirely inside your browser, and no data is transmitted anywhere.

What's the difference between MD5 and SHA, and which should I use?

MD5 is an older algorithm that should no longer be used for security purposes like password storage or digital signatures. It's fine for practical uses like checking file integrity or compatibility with legacy systems, but use SHA-256 or stronger wherever security matters.

Can this handle large files?

Files up to a few megabytes — typical documents and images — work without issue. Very large files (hundreds of megabytes or more) may use significant browser memory and take longer to process.

Will the same file or text always produce the same hash?

Yes. Hash functions are deterministic — the same input always produces the same output, regardless of when or where you compute it.

Can I get the hash values in uppercase?

This tool always displays hashes as lowercase hexadecimal, which is the most common convention across systems and documentation.