Free Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes instantly from text or files — entirely in your browser.
Results
Which hash should you actually use?
MD5 and SHA‑1 are broken for anything security‑adjacent. MD5 collisions have been trivial to generate since Wang's 2004 attack; SHA‑1 fell in 2017 when Google's SHAttered demonstrated two PDFs with the same SHA‑1 for about $110k of GPU time. Both are still fine as non‑security checksums — verifying a file downloaded correctly, deduplicating cached responses, keying a cache — because there's no adversary trying to forge collisions. Git still uses SHA‑1 for object addressing for exactly this reason.
SHA‑256 is the current default for integrity: it's what Bitcoin uses, what most Linux distros publish for ISO verification, and what subresource integrity attributes on <script> tags expect. SHA‑512 produces a longer digest but is often faster on modern 64‑bit CPUs because it processes 8 bytes per round versus SHA‑256's 4 — the tradeoff is only worth it if you're hashing a lot of data. For passwords, never use any of these directly; use bcrypt, scrypt, or argon2, which add tunable work factors.
All hashing here happens in the browser via the Web Crypto API — nothing is uploaded. That matters when you're hashing a secret, a leaked credential you're checking against a breach list, or anything you'd rather not send over the wire even to a service you trust.
Frequently Asked Questions
What is a cryptographic hash function?
What is the difference between MD5 and SHA-256?
How do I verify file integrity with a hash?
Should I use hashing for passwords?
What is collision resistance and why does it matter?
What is HMAC and how is it different from hashing?
Is my data safe when using this tool?
Related Tools
Explore more free tools on iFormat.io
Encode or decode Base64 strings instantly in your browser.
Format, validate, and beautify JSON data with syntax highlighting.
Convert JSON arrays and objects to downloadable CSV files.
Convert YAML documents to JSON format with validation.
Generate placeholder text in paragraphs, sentences, or words.
View, sort, and filter CSV files in a searchable table.