Skip to main content

Hash Generator

Compute text or file checksums locally.

Use Hash Generator

Hash Generator

Output Format:

MD5

...

SHA-1

...

SHA-256

...

SHA-512

...
edit_note By Meet Dhameliya
update Updated: Oct 28, 2026
schedule 2 min read

Compute digests for exact text bytes or a selected file. Text is encoded as UTF-8; file selection hashes the file bytes rather than its displayed filename. Choose the same algorithm and output representation as the trusted reference before comparing results.

lightbulb When to use this tool

  • check_circle Compare a downloaded file with a checksum obtained from a trusted publisher.
  • check_circle Check whether two copies have identical bytes, including whitespace and line endings.

Inputs and results

Input: Text or a file up to 50 MB; HEX/Base64 selection.

Output: MD5, SHA-1, SHA-256 and SHA-512 together.

How it works

1

Paste exact text or select a file within the displayed size limit.

2

Choose hexadecimal or Base64 output and locate the required algorithm.

3

Compare the entire digest with an independently trusted reference.

4

Treat a mismatch as a reason to investigate the source or byte differences, not as proof of a particular attack.

Examples

science Known SHA-256 test

The three UTF-8 characters abc, without a newline, produce ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad in hexadecimal SHA-256.

science Same appearance, different bytes

A file with Windows CRLF line endings can have a different digest from an otherwise identical file with LF endings. Hash the actual file if exact file integrity is the question.

Limitations

Web Crypto supplies SHA over HTTPS/localhost; bundled code supplies MD5. MD5/SHA-1 are unsuitable for collision-resistant security; general hashes are not password storage.

Frequently Asked Questions

Does a matching hash prove that a download is safe? expand_more
No. It establishes a byte match to the reference. If the file and reference both come from an untrusted source, a match does not establish authenticity or safety.
Can I store passwords with this output? expand_more
Do not use a fast general-purpose digest as a password-storage scheme. Use a dedicated password-hashing implementation and appropriate security guidance.
privacy_tip

Processing & Privacy

Processing uses your browser rather than uploading the supplied input to a processing server. Fonts and tool libraries can make third-party network requests. Optional analytics loads after consent. See the Privacy Policy for site-wide details.

Related Guides

Related Tools

Explore more free developer & security on Utility Spark