Encoding tool
Hash Generator (MD5 / SHA-256)
An MD5 hash generator and SHA-256 generator. Paste text or drop a file for a checksum. It all stays on your device.
Like the tool? Find a bug?Share with usGenerator
Paste text or drop a file. MD5 and SHA-256 stay on your device.
MD5 will appear here.SHA-256 will appear here.Use SHA-256 to check if text or a file matches. Use MD5 only when an older tool still asks for MD5. Do not use either one to store passwords — a login form needs a password hasher (bcrypt, Argon2), not this checksum tool.
import { createHash } from "node:crypto";
const md5 = createHash("md5").update(value).digest("hex");
const sha256 = createHash("sha256").update(value).digest("hex");