Skip to content
I Hate Online Tools

Hash generator

SHA-256, SHA-1, and optional WordPress (phpass) hashes of pasted text — all in this tab.

Runs in this tab. The file stays here.

This runs in your browser. Nothing is uploaded.

About Hash generator

Computes SHA-256 and SHA-1 of pasted text with Web Crypto, plus an optional WordPress portable (phpass) hash for DB password resets — all in this tab.

Checksums are how you confirm a string did not change. For everyday digests this page does SHA-256 and SHA-1 via crypto.subtle.digest, hex-encoded lowercase. There is still no general MD5 button for new work.

SHA-1 is here because a lot of older APIs still ask for it. Prefer SHA-256. Empty input produces empty output rather than the well-known hash of an empty string.

WordPress portable hashes ($P$ / $H$) are a separate mode for admins who need to set a password hash directly in the database. That format uses iterated MD5 because that is what WordPress expects — it is not a modern password KDF.

How to use Hash generator

  1. 1Paste the text you want hashed.
  2. 2Read SHA-256 and SHA-1 as they appear, or use Hash password (phpass) for WordPress.
  3. 3Copy the digest you need from the side panel.

What it won't do

  • SHA-256, SHA-1, and WordPress phpass only. No SHA-3, no HMAC, no bcrypt/argon2.
  • Text input, not a file checksum utility (see File hash).

Common questions

Why is there no general MD5 option?

MD5 isn't in Web Crypto, and shipping it as a first-class digest encourages broken new use. The only MD5 on this page is inside WordPress phpass compatibility, labeled as such.

Is the hash generator hashing UTF-8 or UTF-16?

UTF-8. The text is run through TextEncoder, then digested.

Can I hash a file instead of pasted text?

Use File hash under Developer. A file hash has to read bytes, not a textarea.

Is WordPress phpass a secure modern password hash?

No. It exists for compatibility with WordPress portable hashes. Prefer WordPress's own reset flows when you can.

Related tools

Why this one doesn't upload your file

There is no server to upload to. This page is a static file, and the work happens in your browser using the same graphics and WebAssembly code that renders every other site you visit. Your file is read from disk into memory, processed, and handed back as a download. Once the page has loaded you can disconnect from the network entirely and it keeps working. The longer explanation

Install the app