Hash Generator
Hash text or files with MD5, CRC32, SHA-1/256/512, SHA-3 and Keccak, output as hex or Base64, and verify a digest against an expected hash.
Hash Generator — Type text or drop a file to compute MD5, CRC32, SHA-1, SHA-256, SHA-512, SHA-3 and Keccak digests at once, with hex or Base64 output in upper or lowercase. Paste an expected hash to verify a match in near-constant time, and show only the algorithms you care about. Everything runs locally with the Web Crypto API and WebAssembly — your text and files never leave the browser.
What is Hash Generator?
The Hash Generator is a free online hash and checksum calculator that turns text or an uploaded file into several digests at once — MD5, CRC32, SHA-1, SHA-256, SHA-512, SHA3-256, SHA3-512 and Keccak-256. Developers and sysadmins use it to create checksums, fingerprint files, build cache keys, and verify downloads by pasting a publisher’s expected hash to confirm a match or mismatch. Output can be shown as lowercase or uppercase hex or as Base64, and each algorithm can be toggled on or off so you can focus on a single digest. File hashing reads the raw bytes with the Web Crypto API, while CRC32, SHA-3 and Keccak run through a WebAssembly module — all in the browser.
How to use Hash Generator
- Choose Text or File at the top — type or paste text, or drop a file to hash its bytes.
- Open Settings (⚙) to enable extra algorithms (CRC32, SHA-3, Keccak) or hide ones you don’t need.
- In Settings, pick hex or Base64 output and lowercase or UPPERCASE for hex.
- Read each digest below and click Copy to put it on your clipboard.
- To verify, paste a known hash into the Verify field — a check mark shows which algorithm it matches.
Examples
Hashing the string "abc"
Input
abc
Output
MD5: 900150983cd24fb0d6963f7d28e17f72 SHA-1: a9993e364706816aba3e25717850c26c9cd0d89d SHA-256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
Verifying a download
Switch to File, drop the downloaded installer, then paste the SHA-256 checksum from the release page into the Verify field. A check next to SHA-256 confirms the file is intact.
CRC32 checksum
Enable CRC32 in Settings to get a short 8-character checksum for quick, non-cryptographic integrity checks of text or files.
Frequently asked questions
- Which hash algorithms are supported?
- Eight: MD5, CRC32, SHA-1, SHA-256, SHA-512, SHA3-256, SHA3-512 and Keccak-256. MD5, SHA-1, SHA-256 and SHA-512 are on by default; enable the others in Settings.
- Can it hash files, not just text?
- Yes. Switch to File mode and drop any file — its raw bytes are hashed in your browser. The SHA family uses the Web Crypto API; CRC32, SHA-3 and Keccak use a WebAssembly module.
- How does verification work?
- Paste a known hash into the Verify field. It is compared against every shown digest in hex (case-insensitive) and Base64 using a near-constant-time compare, and the matching algorithm is highlighted.
- Are my text and files uploaded anywhere?
- No. All hashing runs 100% client-side in your browser; nothing is sent to a server, so it is safe for private files and sensitive strings.
- Can I use MD5 or SHA-1 for security?
- No. MD5, SHA-1 and CRC32 are not collision-resistant and are meant for checksums or cache keys. Use SHA-256, SHA-512 or SHA-3 for anything security-related.
Related tools
Base32 / Base58 Encode / Decode
Encode text to Base32 (RFC 4648) or Base58 (the Bitcoin alphabet) and decode either one back to text, fully UTF-8 safe and entirely in your browser.
Base64 Encode / Decode
Encode or decode Base64 (UTF-8 safe) with a URL-safe alphabet, optional padding, 64/76 line wrapping, live byte and character counts, and a hex/binary byte view.
Case Converter & Counter
Convert text between UPPERCASE, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case and more, and count characters, words and lines.
Code Formatter & Minifier
Beautify or minify HTML, CSS and JavaScript instantly in your browser, with 2-space, 4-space or tab indentation and Terser-powered JavaScript compression.