🍋
Menu
🍋 Developer Tools

Hash Generator

Generate SHA-1, SHA-256, SHA-384, SHA-512 hashes from text

Free Browser-only No sign-up Popular
chars words sentences lines

Options

Results

Result

About Hash Generator

Generate cryptographic hash digests from text using the Web Crypto API. Supports SHA-1, SHA-256, SHA-384, and SHA-512 algorithms with hex or Base64 output. All hashing is done in your browser — your data never leaves your device.

How It Works

This tool uses the browser's built-in Web Crypto API to compute cryptographic hash digests. The input text is encoded as UTF-8, then passed to the SubtleCrypto.digest() method. The resulting ArrayBuffer is converted to hex or Base64 format for display.

Step by Step

  1. 1 Paste or type text in the input area
  2. 2 Select the hash algorithm (SHA-256 is the default)
  3. 3 Choose output format: Hex (lowercase) or Base64
  4. 4 Toggle 'Hash per line' to hash each line separately
  5. 5 Click Generate to compute the hash

Tips

  • SHA-256 is the most widely used algorithm for checksums and data integrity
  • SHA-1 is considered weak for security — use SHA-256 or higher for new projects
  • Enable 'Hash per line' to quickly generate checksums for a list of values

Frequently Asked Questions

Is this tool secure?
Yes. All hashing uses the Web Crypto API in your browser. No data is sent to any server.
Can I reverse a hash back to the original text?
No. Cryptographic hashes are one-way functions. You cannot derive the original input from a hash.