Text Hash Generator

Compute the hash of any text with a selectable algorithm — MD5, SHA-1, the SHA-2 family, SHA-3, BLAKE2 and BLAKE3 — in hex or base64. Runs entirely in your browser, no server, no sign-up.

Hash digest

About this tool

This text hash generator computes a cryptographic hash of any text right in your browser, with the algorithm of your choice. The hashing runs locally in WebAssembly — your input is never uploaded to a server, which makes it safe for passwords, keys, and other sensitive strings.

A hash is a fixed-length fingerprint of its input. The same text always produces the same digest, but the digest cannot be reversed back into the original — so hashes are ideal for verifying that data has not changed, fingerprinting content, and deriving identifiers.

Supported algorithms

Options

Notes

FAQ

Why doesn't my digest match what sha256sum prints?

Almost always a trailing newline. echo "abc" | sha256sum hashes abc\n (four bytes), while this tool hashes exactly the characters you typed — abc — with no newline appended. Use printf '%s' "abc" | sha256sum to compare like-for-like.

Can I hash raw bytes instead of text?

Yes. Set Interpret input as to hex or base64 and the tool decodes your input to bytes before hashing — handy for hashing a key, a ciphertext, or another digest. The default text mode hashes the input as UTF-8.

Does the algorithm name have to be written exactly?

No — names are normalized, so SHA-256, sha_256 and sha256 are all the same algorithm, and blake2b is accepted as shorthand for BLAKE2b-512. Leaving the algorithm blank falls back to the default, SHA-256.

Can I get the original text back from a hash?

No. All of these are one-way functions — the digest can verify or fingerprint data but cannot be reversed. If you need something reversible, you want encryption (e.g. the aes-cipher tool), not a hash.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool hash-text "Hello, world!"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/hash-text/?text=Hello%2C%20world%21&algorithm=sha256&input_encoding=text&output_format=hex&uppercase=true

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.