Hash Generator

MD5/SHA-256/512 hashes of text or files — in your browser.

SHA-256 (hex)
How it works & more

Hash Generator computes the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests of any text or file, entirely inside your browser. As you type, every hash updates live, shown in hexadecimal or base64 (your choice under Encoding), each with a one-click copy button. The SHA algorithms run on the browser's built-in, hardware-accelerated Web Crypto API; MD5 runs in a tiny JavaScript library. Nothing is uploaded — your input never leaves your device, so this is a safe place to hash sensitive values like passwords, API keys or file checksums. Hashes are deterministic: the same input always produces the same digest, and these tools produce exactly the standardized values (for example, the SHA-256 of an empty string is always e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855). Use it to verify a downloaded file's checksum, generate an integrity digest, or compare a hash against an expected value.

How it works

  1. Type or paste your text — every hash updates instantly as you type.
  2. Read the hash you need: MD5, SHA-1, SHA-256, SHA-384 or SHA-512 — in hex, or set Encoding to Base64.
  3. Click Copy next to the value you want. Nothing was uploaded — it all ran in your browser.
  4. For a file, choose File under What to hash and drop it in; its checksums appear the same way.

FAQ

More Developer tools

Free

JSON Formatter

Format, validate & minify JSON — in your browser.

Free

Timestamp Converter

Unix epoch ↔ date — ISO 8601, UTC and timezone.

Free

Base64 Encoder

Encode & decode Base64 — in your browser, nothing uploaded.