Hash Generator

Get MD5 and SHA checksums of any text in one go.

Runs in your browser
Text
Drop file to load it
EmptySaved locally
Hashes
Ready
More options (2)
Pasted text often ends with an invisible newline that changes the hash.
Works with a single algorithm selected.
Try an example:

How to use the Hash Generator

  1. Type or paste your text into the left panel.
  2. All five hashes appear instantly, or pick a single algorithm.
  3. Switch to uppercase if the system you compare against expects it.
  4. Copy the result. To hash a file instead of text, use the File Checksum tool.

Examples

About this tool

A hash function turns any amount of text into a short, fixed-length fingerprint. Change a single character and the fingerprint changes completely, while the same input always produces the same output. That makes hashes ideal for checking that data has not changed, building cache keys, comparing records without storing them, or looking up a value someone published as a checksum.

This generator computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once, using a fast WebAssembly implementation that runs in your browser. Text is converted to UTF-8 first, which matches what command-line tools such as sha256sum and most programming languages produce for the same string. Trailing newlines are ignored by default because they are the most common reason two hashes of "the same" text do not match.

Tip: MD5 and SHA-1 are fine for checksums but are broken for security purposes. Use SHA-256 or stronger, and never store passwords as a plain hash; use a slow password-hashing scheme such as Argon2 or bcrypt instead. For files, use the File Checksum tool, which reads the file locally without uploading it.

This tool runs entirely in your browser. What you type or open is never sent to a server.

Frequently asked questions

Is my text sent to a server to be hashed?

No. Every hash is calculated on your own device. Nothing you type is uploaded or stored, so you can safely hash private data.

Why does my hash differ from another tool's?

Usually because of invisible differences: a trailing newline, Windows line endings (\r\n) or a different text encoding. This tool hashes UTF-8 bytes and, by default, ignores one trailing line break.

Can a hash be reversed to get the original text?

Not directly. Hashes are one-way. However, short or common inputs can be found by guessing, which is why plain hashes are unsuitable for storing passwords.

Which algorithm should I use?

SHA-256 is the safe modern default. Use MD5 or SHA-1 only when an existing system requires them, for example to match a published checksum.

How do I hash a file?

Use the File Checksum tool. It reads files of any size on your device and computes the same algorithms without uploading anything.