Find any tool instantly
Type a name, category or keyword
Web Utilities

Hash Generator

Last updated: May 2026 4 min read

Compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 from text or files.

100% Local & Private. No data leaves your browser.
Algorithms

Enter text or choose a file to see hashes.

What is a hash generator?

A hash function turns text or file bytes into a fixed-length fingerprint. The same input always gives the same hash; a tiny change in input produces a completely different value.

This tool runs entirely in your browser using Web Crypto (SHA) and a built-in MD5 routine. Nothing is uploaded to AnyServ or any third party.

Everyday examples

Verify a download

Hash a downloaded installer and compare with the checksum published by the vendor.

Password-free fingerprint

SHA-256 of a config file to detect accidental edits before deployment.

Legacy MD5 check

MD5 of a short string when an old API or document still lists MD5 digests.

How to use this hash generator

Pick text or file mode, select algorithms, and read hex digests instantly. All hashing runs locally – nothing leaves your browser.

When is this useful?

File integrity

Confirm downloads, backups, or attachments match an expected checksum.

Dev & DevOps

Quick digests for configs, build artifacts, or cache keys during debugging.

Security reviews

Compare password hashes or tokens when documentation lists expected values.

Common mistakes

MD5 for security

MD5 is fine for legacy checksums, not for passwords or signatures today.

Wrong encoding

This tool hashes UTF-8 bytes of text. Other tools may use Latin-1 or include a BOM.

Line endings

Windows CRLF vs Unix LF changes the hash. Normalize text if you need an exact match.

Worked examples

Input: the string hello world (no quotes). Hex output below.

Algorithm Input Hash (hex) Notes
MD5 hello world 5eb63bbbe01eeed093cb22bb8f5acdc3 128-bit legacy digest
SHA-1 hello world 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed 160-bit, deprecated for TLS
SHA-256 hello world b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 Common file checksum
SHA-384 hello world fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd Longer SHA-2 variant
SHA-512 hello world 309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f 512-bit SHA-2

Algorithms

  • SHA family Web Crypto API (crypto.subtle.digest) on raw bytes
  • MD5 Built-in JavaScript implementation (RFC 1321), not in Web Crypto
  • Text input UTF-8 encode, then hash bytes
  • File input Read file bytes in chunks (progress for files > 10 MB), then hash
Glossary

Key hash terms

Digest

The fixed-length hex string output of a hash function.

SHA-256

256-bit Secure Hash Algorithm; widely used for file integrity.

MD5

128-bit Message Digest 5; fast but not collision-resistant for security.

Hex encoding

Each byte shown as two hexadecimal characters (0–9, a–f).

Frequently Asked Questions

Hash algorithms, file hashing, and privacy explained.

Is my data sent to a server?

No. Hashing runs entirely in your browser. Files and text never leave your device.

Why include MD5?

Many legacy systems still publish MD5 checksums. SHA-256 or SHA-512 are better for new security use cases.

Empty text or zero-byte file?

Zero-byte files hash correctly. In text mode, digests appear after you enter content – an empty field shows no results until you type.

Large files?

Files over 10 MB show read progress. Very large files still need enough free RAM to hold the file bytes for hashing.

About these results

Outputs are standard digests of the bytes you provide. Encoding, line endings, or metadata can change hashes compared to other tools – always match the same input rules.