Hash Generator
Client-sidePopularFeaturedNewGenerate SHA-1 / SHA-256 / SHA-384 / SHA-512 digests of text with Web Crypto — fully client-side.
Der Hash-Generator berechnet kryptografische Digests von Text (SHA-1 bis SHA-512) in Ihrem Browser mit SubtleCrypto. Der Text wird nicht auf einen Server hochgeladen.
Examples
Key takeaways
- SHA-1 and SHA-2 family via SubtleCrypto
- Hex digest output
- Input stays in the browser
- Not a substitute for password hashing KDFs
What is a cryptographic hash?
A hash function maps input to a fixed-length digest. Small input changes produce very different outputs; the original input cannot be recovered from the digest alone.
Hashes are for integrity checks and fingerprints, not confidentiality. Do not store passwords as raw SHA digests — use a dedicated password KDF. MD5 is not offered here because Web Crypto does not expose it.
Features
Multiple algorithms
Switch between SHA-1 and the SHA-2 family in one workspace.
Hex output
Lowercase hexadecimal digests ready for configs and comparisons.
Input limits
Enforces shared character limits to keep the tab responsive.
Private by default
Hashing stays on-device via SubtleCrypto.
How it works
Paste text
Enter the string you want to hash (UTF-8 bytes).
Pick an algorithm
Choose SHA-1, SHA-256, SHA-384, or SHA-512.
Hash & copy
Generate the digest and copy the hex string.
Example walkthroughs
Hello
SHA-256 of “hello” is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824.
hello
Pangram
A longer ASCII sample — SHA-256 is d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592 when the algorithm is set to SHA-256.
The quick brown fox jumps over the lazy dog
Supported algorithms
| Algorithm | Digest size (bits) | Typical use |
|---|---|---|
| SHA-1 | 160 | Legacy checksums only |
| SHA-256 | 256 | Common integrity / fingerprints |
| SHA-384 | 384 | Higher-security SHA-2 |
| SHA-512 | 512 | Higher-security SHA-2 |
Use cases
Cache keys
Derive stable keys from request bodies or query strings.
Integrity checks
Compare digests when verifying copied payloads.
Debug pipelines
Confirm hashing matches between services during local testing.
Code snippets
SHA-256 with Web Crypto
jsHash Generator uses SubtleCrypto the same way for SHA algorithms.
const data = new TextEncoder().encode(text); const digest = await crypto.subtle.digest("SHA-256", data); const hex = [...new Uint8Array(digest)] .map((b) => b.toString(16).padStart(2, "0")) .join("");
Common errors
Digest does not match another service
Cause: Different algorithms, encodings, or trailing newlines in the input.
Fix: Confirm UTF-8 text, trim consistently, and match SHA-1 vs SHA-256.
Looking for MD5
Cause: Web Crypto does not expose MD5.
Fix: Prefer SHA-256 for new work; MD5 is intentionally not offered here yet.
About Hash Generator
Der Hash-Generator berechnet kryptografische Digests von Text mit der Web Crypto API — SHA-1, SHA-256, SHA-384 oder SHA-512 — und gibt Kleinbuchstaben-Hex aus, bereit für Configs und Vergleiche. Nutzen Sie ihn für Prüfsummen, Cache-Keys und Debugging zwischen Diensten.
Hashes sind Einweg-Fingerabdrücke, keine Verschlüsselung. Kleine Eingabeänderungen erzeugen sehr unterschiedliche Ausgaben; den Originaltext können Sie aus dem Digest allein nicht zurückgewinnen. Speichern Sie Passwörter nicht als rohe SHA-Digests — nutzen Sie eine dedizierte Passwort-KDF. MD5 fehlt absichtlich, weil Web Crypto es nicht exponiert.
Die Digest-Berechnung bleibt im Browser über SubtleCrypto. Fügen Sie Request-Bodies oder Fixture-Strings ein, ohne sie an eine gehostete Hash-Seite zu senden. Kodierungen sorgfältig abstimmen: nachgestellte Newlines und UTF-8 vs. andere Encodings sind häufige Gründe, warum zwei „identische“ Strings nicht übereinstimmen.
Best Practice: bevorzugen Sie SHA-256 oder stärker für neue Integritätsprüfungen; behandeln Sie SHA-1 nur als Legacy. Algorithmus und Normalisierung mit dem anderen Dienst abstimmen, bevor Sie Abweichungen debuggen. Nutzen Sie den UUID-Generator für Zufalls-IDs und Base64, wenn Sie reversible Kodierung statt eines Digests brauchen.
Frequently asked questions
Ist Hashing Verschlüsselung?
Nein. Hashes sind Einweg-Digests. Nutzen Sie rohes SHA nicht zur Passwortspeicherung ohne eine passende KDF.
Warum kein MD5?
Web Crypto exponiert MD5 nicht. Bevorzugen Sie SHA-256+ für neue Arbeit; MD5 kann später über eine reine Implementierung kommen, falls nötig.
Wird mein Text hochgeladen?
Nein. Digests werden in Ihrem Browser mit SubtleCrypto berechnet.
Welche Algorithmen sind verfügbar?
SHA-1, SHA-256, SHA-384 und SHA-512. Wählen Sie den, der zum anderen Ende Ihrer Pipeline passt.
Related tools
Popular tools
JSON Formatter
Format, beautify, and minify JSON in your browser. Free, private, and instant — no upload to a server.
JSON Validator
Validate JSON instantly in your browser. See type, size, and node counts — or exact parse errors with line and column.
JSON Viewer
Explore JSON as an interactive tree with paths, types, and expandable nodes — all processed locally in your browser.
URL Encode / Decode
Percent-encode text for URLs or decode encoded query strings — private and instant.
Newest tools
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more.
Word Counter
Count words, characters, sentences, and paragraphs with reading time — live and private.
Text Diff
Compare two texts line by line — see added and removed lines with a unified-style diff.
Slug Generator
Turn titles into clean, SEO-friendly URL slugs — lowercase, hyphenated, accents stripped.
Explore more
Guides & articles
Privacy model (client-side tools)
How Toolverse by RS handles data: browser-first processing, what we do not upload, and how that claim maps to product behavior.
SHA digests on the RS Roshi blog
Checksum and digest guidance related to sha digests.
Privacy & client-side hashing
How digests stay on-device with Web Crypto.