Hash Generator

Updated July 2026

Paste or type any text to instantly generate its SHA-256, SHA-1, SHA-384 and SHA-512 hashes. Every digest is computed privately in your browser with the Web Crypto API — your input is never uploaded.

A hash is a fixed-length fingerprint of your text. Paste text to generate its SHA-256, SHA-1, SHA-384 and SHA-512 hashes — computed in your browser, never uploaded. (MD5 isn't included because browsers don't provide it natively, and it's insecure anyway.)
Hashes update as you type. Everything stays on your device.
SHA-256
SHA-1
SHA-384
SHA-512

How this hash generator works

A hash function turns any input — a single word or an entire document — into a fixed-length string of characters known as a hash or digest. The same input always produces the same digest, yet changing even one character produces a completely different result. That property makes hashes ideal for verifying that data has not been altered.

This tool reads the text you type, encodes it as UTF-8 bytes, and feeds those bytes to the browser's built-in Web Crypto API (crypto.subtle.digest) for the SHA-1, SHA-256, SHA-384 and SHA-512 algorithms. The raw output is a block of bytes, which we convert to a lowercase hexadecimal string. Because all of this runs locally, your text is never sent anywhere.

Worked example: the SHA-256 hash of the text hello is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 — a 64-character hex string. Type hello in the box above and you will see exactly that value.
AlgorithmOutput sizeHex charactersStatus
SHA-1160-bit40Legacy — broken, avoid for security
SHA-256256-bit64Recommended
SHA-384384-bit96Secure
SHA-512512-bit128Secure

Reference note: hashing uses the UTF-8 encoding of your text and runs in a secure (HTTPS) context, which the Web Crypto API requires. MD5 is intentionally absent — it is insecure and the browser API does not expose it.

Frequently asked questions

What is a hash function?
A hash function takes any input — a word, a file, a whole book — and produces a fixed-length string called a hash or digest. The same input always gives the same output, but even a one-character change produces a completely different result.
What is SHA-256 used for?
SHA-256 verifies file integrity, fingerprints passwords, signs software and secures blockchains such as Bitcoin. Its 256-bit output makes collisions effectively impossible with current technology.
Is a hash reversible?
No — a cryptographic hash is one-way. You cannot recover the original text from the hash; the only way to match a hash is to try candidate inputs and hash each one.
What's the difference between SHA-1 and SHA-256?
SHA-1 produces a 160-bit (40 hex) digest and is now broken — practical collisions exist. SHA-256 produces a 256-bit (64 hex) digest and remains secure, so it is the recommended choice.
Why is MD5 not here?
MD5 is cryptographically insecure, and the browser's Web Crypto API does not provide it at all. Since this tool relies on that native API, MD5 is simply unavailable — which is just as well.
Are my inputs sent to a server?
No. All hashing happens locally in your browser. Your text never leaves your device and is never uploaded, logged or stored.
⚡ Hash Generator — by larely ↗

Related tools

JWT Decoder

Decode a JSON Web Token's header and payload .

Sort Text Lines

Sort, deduplicate, reverse, shuffle and clean a list of lines.

JSON to CSV Converter

Convert a JSON array to CSV and CSV back to JSON.

URL Encoder / Decoder

Percent-encode and decode text, and parse a URL into its parts.

Word Frequency Counter

Find the most-used words and keyword density in any text.

Image to Base64 Converter

Encode an image to a Base64 data URI for HTML or CSS, in your browser.

What Is My Browser?

Detect your browser, OS, screen resolution, window size and more.

Chmod Calculator

Convert file permissions between octal , symbolic and the chmod command.

Password Strength Checker

Estimate password entropy and crack time, entirely in your browser.

UTM Link Builder

Build campaign tracking URLs with UTM parameters for Google Analytics.

Meta Tag Generator

Generate HTML meta, Open Graph and Twitter Card tags for any page.

HTTP Status Codes

Searchable reference of every HTTP status code and what it means.

Browse all 251 free tools →