Browser-based developer tools

Hash Generator

Generate SHA-1, SHA-256, SHA-384 and SHA-512 text digests with the browser Web Crypto API.

Input

0 bytes

Digests

Ready

Base64 EncoderEncode UTF-8 text URL EncoderEscape query strings Timestamp ConverterUnix time and ISO dates

Reference notes

Text digests for quick checks

SHA algorithms

Formalint generates SHA-1, SHA-256, SHA-384 and SHA-512 digests through the browser Web Crypto API.

Checksums

Hashes are useful for comparing text values, fixtures, examples and API payloads during development.

Not password storage

Plain SHA hashes are not enough for password storage. Production systems need salted, slow password hashing algorithms.

Frequently asked

Hash generator questions

Which SHA variant should I use?

SHA-256 is the standard general-purpose choice for checksums and integrity checks. SHA-1 is considered weak for security purposes and should only be used for legacy compatibility, not for anything security-sensitive.

Can a hash be reversed back to the original text?

No. Cryptographic hash functions are one-way. The only way to check if a piece of text matches a hash is to hash that text again and compare the two digests.

Is this suitable for hashing passwords?

No. Plain SHA hashes are unsuitable for password storage because they are fast to compute, making brute-force attacks feasible. Password storage should use a slow, salted algorithm such as bcrypt or Argon2 instead.