← All tools

Text Hasher

Generate MD5, SHA-1, and SHA-256 hashes from text.

SHA-1
SHA-256
SHA-384
SHA-512

使用浏览器原生 Web Crypto API 计算,文本不会上传到任何服务器。哈希是单向不可逆的摘要,无法从结果还原出原文—— 这也是它适合用来处理密码这类敏感信息的原因:即使哈希值泄露,也推不出原始密码。

Overview

This tool computes common hash digests (MD5, SHA-1, SHA-256) from any text input, useful for checksums, cache keys, or verifying data integrity.

How to Use

  1. Type or paste your text.
  2. View the generated hashes for each algorithm.
  3. Copy the digest you need.

Common Use Cases

  • Verifying a file or string matches an expected checksum
  • Generating a deterministic cache key from input text
  • Learning how different hash algorithms produce different digest lengths

FAQ

Is MD5 safe to use for passwords?

No — MD5 and SHA-1 are not suitable for password storage. Use a dedicated password hash like bcrypt instead.

Related Tools