RunToolRunRunToolRun
Tools/Code & Developer/Hash Generator

Hash Generator

Generate MD5, SHA-1, SHA-256 hashes.

100% on device ยท 0 uploads
๐ŸŽ This runs 100% offline. Your text is never sent to a server, giving full protection against man-in-the-middle attacks.
01 ยท Unlimited
Use it as many times as you want โ€” completely free.
02 ยท Private
Your files never leave your device; everything runs in your browser.
03 ยท Fast
Processing happens locally and finishes in seconds.

How to Generate Hash Values

1

Paste your text

Enter any string โ€” a password to check, file contents, an API payload.

2

Hashes are computed locally

MD5, SHA-1, SHA-256 and SHA-512 digests are generated in your browser.

3

Copy the hash you need

Each algorithm's output is one click away.

A hash is a one-way fingerprint

A hash function turns input of any length into a fixed-length value. The same input always produces the same hash; changing a single bit produces a completely different one. Crucially, the process cannot be reversed โ€” the hash contains no recoverable copy of the input.

That property is what makes hashing useful for verification rather than storage. You cannot get a file back from its hash, but you can prove that a file you already have is the same one that produced it.

What SHA-1 is still good for, and what it is not

SHA-1 is offered here because it remains in wide use for non-adversarial purposes โ€” Git object identifiers, legacy checksums, matching against systems that still emit it. For detecting accidental corruption it works perfectly well.

It is broken for anything where an attacker is involved. Practical collisions have been demonstrated, meaning two different files can be constructed with the same SHA-1. For signatures, certificates or anything security-relevant, use SHA-256 or above. MD5 is not offered at all, because it is broken more thoroughly still and there is no responsible reason to generate one today.

Hashing is not how passwords should be stored

A plain SHA-256 of a password is fast to compute, which is exactly the wrong property. Modern hardware tries billions of candidates per second, so a fast hash of a common password is recovered almost instantly from a precomputed table.

Password storage needs a deliberately slow algorithm designed for the purpose โ€” bcrypt, scrypt or Argon2 โ€” with a unique random salt per password. If you are building authentication, none of the algorithms here are the right tool, and that is a property of general-purpose hashes rather than a limitation of this page.

Verifying files and text

The everyday use is integrity checking. A download that publishes a SHA-256 lets you confirm the file arrived intact and unmodified โ€” compare the two strings and either they match exactly or the file is not the one that was published.

For that check to mean anything, the published hash must come from a source you trust and a different channel from the file itself. A hash listed on the same page as a compromised download proves nothing at all.

How it runs here

Hashing uses the browser's built-in Web Crypto implementation, which is the same audited code the browser uses for its own security operations rather than a hand-written version. All four digests are computed on your device.

Nothing is uploaded, which matters more than it sounds: people routinely paste passwords, tokens and confidential text into hash tools, and a server-side one receives all of it in the clear before hashing anything.

Written by Mutaf โ€” Developer of RunToolRun. This section is written from the tool's own implementation.

Why Use This Hash Generator?

โœ“MD5, SHA-1, SHA-256, SHA-512 in one view
โœ“Instant computation as you type
โœ“Correct UTF-8 handling of any text
โœ“100% local โ€” input never leaves your device

Frequently Asked Questions

What is a hash function?+
A one-way function turning any input into a fixed-length fingerprint. The same input always yields the same hash, but the hash can't be reversed into the input.
Which algorithm should I use?+
SHA-256 is today's standard for integrity checks and signatures. MD5 and SHA-1 are broken for security purposes but still fine as simple checksums and cache keys.
What are hashes used for?+
Verifying file integrity, deduplicating data, cache keys, digital signatures and comparing values without storing the originals.
Is my input sent anywhere?+
No โ€” hashing runs entirely in your browser, which matters when hashing anything sensitive.

Related Tools