Hash Generator

Generate cryptographic hashes from text or files without uploading your content.

Browser onlyText and filesSHA family

Text input

SHA-256 hash

Enter text or choose a file

The generated digest will appear here automatically.

Integrity checking

Use hashes to detect changed data

Hash values are useful for comparing files, verifying downloads, detecting modifications, and generating deterministic identifiers.

File verification

Compare the generated hash with a value published by a trusted source to verify that a downloaded file has not changed.

Not password storage

General-purpose SHA algorithms are too fast for secure password storage. Use a slow, password-specific algorithm instead.

Guide

About Hash Generator

A cryptographic hash function converts arbitrary input into a fixed-length digest.

This tool generates SHA-family hashes for text and local files without uploading their contents.

Hashes are useful for integrity and identification, but general-purpose hashes are not suitable for password storage.

Supported algorithms

Choose an algorithm based on compatibility and security requirements.

  • SHA-1 for legacy compatibility only
  • SHA-256
  • SHA-384
  • SHA-512
  • Hexadecimal or Base64 output

Integrity verification

Compare a locally generated digest with a value published by a trusted source to detect changed files.

Hashing is not encryption

A hash is designed to be one-way and cannot be decrypted back into the original input.

Password warning

Passwords should use Argon2, scrypt, bcrypt, or another password-specific function with salts and an appropriate work factor.

FAQ

Frequently asked questions

Which hash should I use?

SHA-256 is a common default. SHA-384 and SHA-512 are also modern SHA-2 options.

Why is SHA-1 discouraged?

SHA-1 has known collision weaknesses and should not be used for security-sensitive signatures or certificates.

Can a hash be reversed?

A secure cryptographic hash is designed to be one-way.

Will identical input always produce the same hash?

Yes, when the same bytes and algorithm are used.

Can hashes verify file integrity?

Yes, if you compare against a trusted expected digest.

Are files uploaded?

Hashing is intended to occur locally in your browser.

Continue exploring

Useful tools for the next step in the same workflow.