Hash Generator (SHA-256, SHA-1, SHA-512)
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes of text in your browser with Web Crypto. Nothing is uploaded.
What is a hash?
A hash (digest) is a one-way function: it takes an input of any length and returns a fixed-length output, and the same input always gives the same output. It is useful for integrity checks, reference IDs, and checksums. A hash is not encryption: you cannot get the input back from it. This tool is not for protecting passwords; for password storage use purpose-built algorithms like bcrypt, Argon2, or scrypt on the server.
The text is hashed in your browser and never sent to a server. The tool uses the browser’s standard Web Crypto (SubtleCrypto) and is not an AI engine. MD5 is not included: it is not supported by Web Crypto and is considered cryptographically weak.
A free hash generator that creates SHA-1, SHA-256, SHA-384, and SHA-512 digests of any text, right in your browser. Type or paste text and all four digests appear at once, computed with the browser’s built-in Web Crypto (SubtleCrypto). Text is encoded as UTF-8, so English, other languages, emoji, and mixed text all hash the same way they would in Node or OpenSSL. You can toggle upper-case hex and copy any digest. A hash is a one-way fingerprint, not encryption, and this tool is not for password storage. Nothing you type is uploaded or stored.
How to use this tool
- 01Enter your textType or paste the text you want to hash. The digests update as you type.
- 02Choose a display optionToggle upper-case hex if you prefer it. The digest itself does not change, only how it is shown.
- 03Copy a digestCopy any single algorithm’s digest, or copy all of them at once.
When is this useful?
- Verify integrityHash a string or file contents to compare against a known checksum.
- Generate reference IDsUse a digest as a stable, fixed-length identifier for a piece of content.
- Learn and testCheck what a given input hashes to while developing or debugging.
Examples
- A short stringHashing "abc" gives a well-known SHA-256 digest you can compare against other tools.
- The same input, same outputThe same text always produces the same digest, which is what makes hashes useful for checks.
- Mixed text and emojiText with letters, numbers, and emoji hashes consistently because it is encoded as UTF-8.
Formula or how the tool works
The tool encodes your text as UTF-8 bytes and passes them to the browser’s SubtleCrypto.digest for each algorithm, then formats the result as hexadecimal. The same input always yields the same digest; the upper-case toggle is a display-only transform, not a re-hash.
Inputs, outputs, and assumptions
You enter text and choose hex case. The tool returns SHA-1, SHA-256, SHA-384, and SHA-512 hex digests. It assumes UTF-8 encoding, matching common command-line tools. MD5 is not offered because Web Crypto does not support it and it is considered weak.
Supported modes or scenarios
Use it for integrity checks, reference IDs, and checksums. Copy a single digest or all four. It hashes text you enter; it does not read files directly.
Limitations and common mistakes
A hash is not encryption and cannot be reversed to the input. This tool is not suitable for storing passwords; use purpose-built algorithms like bcrypt, Argon2, or scrypt on the server. It also does not include MD5.
Privacy and local processing
The text is hashed entirely in your browser using Web Crypto. It is never uploaded, stored, or sent to analytics, so even sensitive text stays on your device.
Frequently asked questions
Which algorithms are supported?
SHA-1, SHA-256, SHA-384, and SHA-512, all via the browser’s Web Crypto. MD5 is not included because Web Crypto does not support it and it is weak.
Is a hash the same as encryption?
No. A hash is one-way: you cannot recover the input from it. Encryption is reversible with a key.
Can I use this for password storage?
No. Use bcrypt, Argon2, or scrypt on the server. A plain SHA hash is not safe for passwords.
Why does emoji hash fine?
The text is encoded as UTF-8 before hashing, so any Unicode characters, including emoji, are handled consistently.
Is my text uploaded?
No. Hashing happens in your browser and nothing you type is sent anywhere.
Related tools
- Base64 Encoder and DecoderEncode text to Base64 or decode Base64 back to text, right in your browser. Full UTF-8 support, with one-click copy.Open
- UUID GeneratorGenerate random UUID v4 identifiers in your browser, one or several at a time, and copy them. Nothing is uploaded.Open
- URL Encoder and DecoderPercent-encode text and query values for safe use in links, or decode percent-encoded URLs back to readable text. Runs in your browser, with full UTF-8 support.Open
- Text Diff CheckerCompare two texts line by line and see what was added, removed, or unchanged. Runs in your browser, nothing uploaded. Great for drafts, lists, messages, and code snippets.Open

