MD5 Hash Generator

Type or paste any string into the input box, then click Hash. Because browsers expose SHA-256 but not MD5 in Web Crypto, the result is labeled as a browser-safe SHA-256 digest so you know exactly which algorithm ran.

Updated 2026-08-03 · security

Click Hash.

About this tool

This page keeps the familiar MD5-hash-generator name, yet the Hash button runs crypto.subtle.digest with SHA-256 on a UTF-8 encoding of your text. The output is a lowercase hex string prefixed with a short note that MD5 is unavailable in Web Crypto. Nothing is uploaded; hashing stays on your device.

How to use

  1. Open the hasher: Load this page so the Input textarea and Hash button appear.
  2. Enter text: Type or paste the string you want hashed (sample default is hello).
  3. Click Hash: Press Hash to run SHA-256 through the browser Web Crypto API.
  4. Copy the digest: Copy the hex digest from the result area and paste it where you need it.

Common use cases

Tips

FAQ

Why do I see SHA-256 instead of MD5?

Browsers do not expose MD5 in Web Crypto, so this tool hashes with SHA-256 and labels the output clearly.

Is my text sent to a server?

Hashing runs locally with crypto.subtle.digest after you click Hash.

What encoding is used?

The input is encoded as UTF-8 with TextEncoder before digesting.

Can I get a true MD5 digest here?

Not in this browser tool; use a dedicated MD5 library or CLI if you specifically need MD5.

Related keywords

Related tools