Hash (MD5/SHA)

Compute MD5/SHA1/SHA256.

Runs locally in your browser by default; no upload.

ToolHub ProRemove ads and unlock one-click file export on text-output tools below (image tool keeps its own download).

Unlock Pro on this tool

Per-line batch hashes (tabular output) · One-click export download

Get Pro →
Batch mode (per-line hashes) requires Pro. See pricing
Input
Output

You may also need

About

Compute MD5, SHA‑1, and SHA‑256 hashes for checksums, debugging signatures, and comparing content quickly. Great for verifying that two strings are identical (including whitespace). Runs locally in your browser.

Use cases

  • Verify a checksum for a text payload in debugging.
  • Compare two strings quickly by comparing hashes.
  • Generate a stable identifier for non-security uses (deduping).

Common pitfalls

  • Hidden CRLF vs LF line endings often cause different hashes.
  • Hashing is not signing; it does not prove authenticity without a secret key (HMAC).

Examples

Input

hello

Output

md5=...
sha256=...

FAQ

Is MD5 secure?

No. MD5 is broken for collision resistance. Use SHA‑256 for security-sensitive cases.

Why do I get different hashes for “the same text”?

Hidden whitespace/newlines are usually the cause. Normalize your input (trim, remove CRLF) and try again.

Can I hash files?

This tool focuses on text inputs. For large files, use a file hashing tool/CLI.

Is hashing encryption?

No. Hashing is one-way; encryption is reversible with a key.

Limitations

  • MD5 and SHA‑1 are not recommended for security. Prefer SHA‑256 for security-sensitive contexts.
  • Hashing is deterministic—if your input differs by a newline, output will differ.

Recommended

Affiliate slots. Configure real links via environment variables.

No recommendations configured.