Generate a Hash From a String
Hash any string with MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at the same time. Instant, private, in-browser.
Part of the free Hash Generator. Runs in your browser — nothing is uploaded.
Generate a Hash From a String
Type a string and every common digest appears at once. That is the fastest way to confirm your code, a database column and a third-party tool all agree.
Worked example: One string, five digests
Input
hello
Hash
MD5: 5d41402abc4b2a76b9719d911017c592 SHA-1: aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 SHA-384: 59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f SHA-512: 9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
Practical tip
Watch for a trailing newline. Many files and CLI tools include one, and it changes every hash.
How to use this Hash Generator
- 1Use the live tool above — it runs entirely in your browser and never uploads your data.
- 2Paste the sample from the worked example, or use your own input.
- 3Copy the result, then adapt the same steps in your editor, script, or pipeline.
Generate a Hash From a String FAQs
Does the hash include quotes?
Only if you type them. The generator hashes exactly the characters in the box.
UTF-8 or UTF-16?
UTF-8. That matches Python, Node, Go and most APIs. Java’s String.getBytes() needs an explicit UTF-8 charset.
More Hash Generator pages
- SHA-1 Hash GeneratorGenerate a SHA-1 hash of any text or file. 40-character hex digest, computed in your browser. Free and private.
- SHA-512 Hash GeneratorGenerate a SHA-512 hash online. 128-character hex digest of text or files, computed locally in your browser.
- HMAC-SHA256 GeneratorCreate an HMAC-SHA256 signature from a message and a secret key. Used for webhooks, API request signing and JWTs.
- File Checksum CalculatorCalculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 checksums of a local file. The file never leaves your browser.
- Verify a File ChecksumCheck whether a file matches a published MD5, SHA-1 or SHA-256 checksum. Paste the expected hash and compare locally.
- SHA-384 Hash GeneratorGenerate a SHA-384 hash of text or a file. 96-character hex digest, computed in your browser.
- Compare Two Hash ValuesCompare two hex hashes and see if they match. Useful when a vendor checksum and your local digest disagree.
- Hash Text Online FreeFree online text hasher. MD5, SHA-1, SHA-256, SHA-384 and SHA-512 as you type. No signup, nothing uploaded.
- Checksum Generator for DownloadsGenerate a SHA-256 or MD5 checksum to publish next to a download. Hash the release file locally and copy the digest.