Hash Generator

Compute SHA-256, SHA-512, SHA-384, SHA-224, SHA-1, MD5, HMAC and CRC-32 — instantly, in your browser.

No data leaves your browser
SHA Hash Generator
Input
MD5 Hash
Input
Algorithm
⚠ No key entered — computing HMAC with an empty key. This is valid but usually unintentional.
Message
CRC-32 Checksum
Input

How to use the Hash Generator

  1. Type or paste text.
  2. Pick an algorithm: SHA-256, SHA-512, SHA-1, MD5, HMAC or CRC-32.
  3. Copy the hash in hex.

Why use this Hash Generator

  • SHA-256, SHA-384, SHA-512, SHA-1, MD5 and CRC-32
  • HMAC with your secret key
  • Uses the browser's Web Crypto API
  • Nothing is uploaded

Frequently Asked Questions

Is this hash generator free?

Yes, completely free. No signup or account required.

Is my data safe?

All hashing is computed entirely in your browser using the Web Crypto API and pure JavaScript. No data is uploaded anywhere.

Which hash algorithms are supported?

SHA-1, SHA-256, SHA-512, MD5, HMAC (with SHA-256), and CRC32.

What is a hash function?

A hash function takes any input and produces a fixed-length output called a digest or checksum. The same input always produces the same output, but even a tiny change in input produces a completely different hash.

What is the difference between SHA-256 and MD5?

SHA-256 produces a 256-bit hash and is cryptographically secure. MD5 produces a 128-bit hash and has known collision vulnerabilities, making it unsuitable for security purposes but still useful for checksums.

What is HMAC?

HMAC (Hash-based Message Authentication Code) combines a hash function with a secret key to verify both data integrity and authenticity. It confirms that a message was created by someone who knows the key.

How do I verify a file checksum?

Hash the file content with the same algorithm used to generate the checksum (e.g. SHA-256), then compare the two hex strings. If they match, the file is intact.

Is it possible to reverse a hash?

No. Hash functions are one-way — you cannot derive the original input from the digest. This is a fundamental property called preimage resistance.

What is a hash collision?

A collision occurs when two different inputs produce the same hash output. MD5 and SHA-1 have demonstrated collision attacks, which is why SHA-256 or SHA-512 are preferred for security-critical use.

What is CRC32 used for?

CRC32 is a fast checksum used to detect accidental data corruption in file transfers, network packets, and storage. It is not cryptographic — it should not be used for security purposes.

What is SHA-512?

SHA-512 is the 512-bit variant of the SHA-2 family. It produces a 128-character hex digest. It offers a larger security margin than SHA-256 and can be faster on 64-bit processors.

More Developer Tools

JSON ToolsFormat, validate, minify & compare JSON JSON FormatterPretty-print and beautify JSON CSV Viewer & EditorView, edit and convert CSV files YAML ConverterConvert YAML to JSON and back Regex TesterTest regular expressions live Text DiffCompare two texts side by side JWT ToolDecode, encode, compare and verify JWTs JWT DecoderInspect JWT header and payload XML FormatterFormat, validate and convert XML URL EncoderEncode, decode and parse URLs Base64Encode and decode Base64 strings Hash GeneratorSHA-256, MD5, HMAC and CRC32 SHA-256Generate SHA-256 checksums MD5 GeneratorGenerate MD5 hash values Text ToolsCase convert, count and transform text Number ConverterBinary, hex and octal converter Token CalculatorEstimate LLM token counts from text PDF EditorEdit text, sign and annotate PDFs Schema GeneratorJSON to TypeScript, Go, Rust, Python IndexNowSubmit URLs to Bing, Yandex & more PII RedactorMask personal data & keys before AI Timestamp ConverterUnix epoch to date and back UUID GeneratorUUID v4/v7, ULID, Nano ID Password GeneratorSecure passwords & passphrases MCP Config BuilderConfigs for Claude, Cursor, VS Code AGENTS.md GeneratorCLAUDE.md, Cursor rules, Copilot AI Crawler Controlsrobots.txt for AI bots & llms.txt Cron ParserExplain crontab, next run times SQL FormatterBeautify & minify SQL queries cURL ConvertercURL to fetch, Python, Go, PHP Chat Export ConverterChatGPT/Claude export to Markdown Markdown PreviewLive GFM preview & to HTML Color & ContrastHEX/RGB/OKLCH, WCAG checker QR Code GeneratorURL, Wi-Fi, vCard; PNG & SVG Image EditorConvert, compress, resize & crop Tool Schema ConverterOpenAI ↔ Anthropic ↔ Gemini ↔ MCP JSONL ValidatorFine-tuning & batch files SSE Stream ParserReassemble LLM streaming responses Prompt Template & DiffFill {{vars}}, compare versions