Code tool

Hash Text

Turn text into a standard cryptographic digest without sending it to a server. Choose an algorithm, compare the hexadecimal result, and copy it when ready.

In-browser processingNo account requiredPrivacy details ↗

Text is encoded as UTF-8 and processed locally in your browser.

Enter text to begin.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter or paste text into the input field.
  2. Choose SHA-1, SHA-256, SHA-384, or SHA-512.
  3. Generate the digest, then copy the hexadecimal hash.

Standard Web Crypto algorithms

The page uses the browser’s built-in SubtleCrypto digest operation for SHA-1, SHA-256, SHA-384, and SHA-512. The output is lowercase hexadecimal.

Text stays on your device

Your input is encoded as UTF-8 and hashed locally. Nothing is uploaded, stored, or sent to a third-party service.

Hashes are one-way digests

A hash can help compare or identify data, but it is not encryption and cannot be reversed reliably to recover the original text.

GOOD TO KNOW

Common questions

Which hash algorithms are available?

You can generate SHA-1, SHA-256, SHA-384, and SHA-512 digests.

Does whitespace affect the result?

Yes. Every character, including spaces and line breaks, is part of the input bytes.

Is my text uploaded?

No. Hashing runs locally in your browser through the Web Crypto API.

Should I use SHA-1 for passwords?

No. SHA-1 is included for compatibility checks. Passwords should use a password-specific KDF such as Argon2id, scrypt, or PBKDF2 with a salt.