consolelog.tools

Hash Generator

Generate MD5, SHA-1, SHA-256, and SHA-512 cryptographic hashes — runs locally in your browser

About this ToolHow it works, benefits & use cases

Paste any text and this hash generator computes its MD5, SHA-1, SHA-256 and SHA-512 digests at once. SHA-1, SHA-256 and SHA-512 run through the browser's native Web Crypto API (crypto.subtle.digest); MD5 — which Web Crypto deliberately omits — is computed by a built-in JavaScript implementation, so you still get all four checksums from a single input. The text is encoded as UTF-8 before hashing, which means hashing is case-sensitive and whitespace-significant: "Hello" and "hello" produce different digests, and even an empty string yields a valid hash. Each result is shown as lowercase hexadecimal with its own copy button, plus a combined "all hashes" block you can copy, download as a .txt file, or pipe into another tool. Everything runs locally in your browser — your input is never uploaded.

How to Use

  1. 1Type or paste the text you want to hash into the input box (or click "Load example" to drop in "Hello, World!").
  2. 2Click "Generate hashes" to compute MD5, SHA-1, SHA-256 and SHA-512 from the same input.
  3. 3Read each digest in the results list — every algorithm has its own row with a one-click copy button.
  4. 4Use the copy icon next to any single hash, or grab the combined "All hashes" panel below.
  5. 5Download the full set as hashes.txt, or pipe the output into another tool from the output panel.

Key Benefits

  • Computes MD5, SHA-1, SHA-256 and SHA-512 simultaneously from one input
  • Uses the browser's native Web Crypto API for the SHA family
  • Includes MD5 even though Web Crypto omits it, via a built-in implementation
  • Output is lowercase hex with per-algorithm copy buttons
  • Combined "all hashes" block can be copied, downloaded, or piped onward
  • Handles UTF-8 text including emoji and accented characters correctly
  • Runs entirely client-side — nothing you hash is uploaded

Common Use Cases

  • Generating a checksum to verify a downloaded file or string matches an expected value
  • Producing a SHA-256 digest for a cache key, ETag, or content-addressable identifier
  • Creating test fixtures that expect a specific MD5 or SHA hash
  • Comparing a stored hash against a freshly computed one during debugging
  • Learning how the same input maps to different digest lengths across algorithms

Hashes are case-sensitive and whitespace-significant.

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Related guides

Related tools