deftools.io Developer Tools

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512 hashes from text or files. Hex, Base64, or Base64URL output. Verify a hash against input.

Output:
0 chars · 0 B
📎 Drop a file here or click to hash it (supports large files, streamed)
Algorithms:
Try an example

About this tool

A cryptographic hash function takes input of any size — text or a file — and produces a fixed-length fingerprint called a hash or digest. The same input always produces the same hash, and even a tiny change to the input produces a completely different hash. This tool generates MD5, SHA-1, SHA-256, SHA-384, SHA-512, and CRC32 hashes from text or dropped files, and can verify whether a given hash matches a known input.

Example: the text hello produces SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Change one letter to hallo and the hash is entirely different. Output can be hex (lowercase or uppercase), Base64, or Base64URL.

Common uses: verifying file integrity after download, checking data deduplication, detecting changes in configuration, and computing checksums. Switch to the Verify tab to paste an expected hash and confirm a match against input text.

FAQ

Are these hashes reversible?

No. Hash functions are one-way — you cannot derive the original input from a hash. This tool computes hashes; it does not crack them. If you need to protect data so only authorized parties can read it, use encryption (AES), not hashing.

Is MD5 safe to use?

MD5 and SHA-1 are considered cryptographically broken for security-sensitive uses like digital signatures and password storage, because collisions (two different inputs with the same hash) can be found. They are still fine for non-security tasks like checksums and deduplication. For security, use SHA-256 or stronger.

What is the difference between hex and Base64 output?

Both represent the same hash bytes. Hex uses 16 characters (0–9, a–f) and produces a longer string. Base64 uses 64 characters and is about 33% shorter. Base64URL is a variant of Base64 that replaces + and / with - and _ so it is safe in URLs.

Why would I use the Verify tab?

To confirm that a piece of text produces a specific hash — for example, checking a downloaded file's integrity against a published checksum, or confirming a known-good password hash. Paste the input, select the algorithm, enter the expected hash, and the tool reports match or no match.

I found a hash but don't know which algorithm was used — can you help?

Yes — use the <a href="/hash-identifier" class="text-accent hover:underline">Hash Identifier</a>. Paste the hash string and it detects the likely algorithm from its length, charset, and format (bcrypt's $2b$ prefix, SHA-512's 128 hex chars, etc.).

More developer tools

Copied!