สร้างแฮช SHA-1, SHA-256, SHA-384 และ SHA-512 ของข้อความใดก็ได้ ในเบราว์เซอร์ของคุณ
วิธีใช้ สร้างแฮช
พิมพ์หรือวางข้อความของคุณ
เลือกอัลกอริทึมแฮช
คัดลอกผลลัพธ์เป็นเลขฐานสิบหก
A hash function takes any input, a word or a whole document, and produces a fixed-size string of characters called a digest. SHA-256, for example, always returns 256 bits written as 64 hexadecimal characters, whether you feed it one letter or a megabyte of text.
Two properties make hashes useful. They are deterministic, so the same input always produces the same digest, and they show the avalanche effect, so changing a single character produces a completely different result. That makes a hash a compact fingerprint of the exact content.
This tool computes SHA-1, SHA-256, SHA-384 and SHA-512 digests of your text locally using the browser's Web Crypto API, then shows the hex result ready to copy. SHA-256 is the sensible default for most purposes.
Hashing is one-way: you cannot reverse a digest back into the original input. That is the point. It is used to verify integrity (has this file or message changed?), to build checksums, to deduplicate content, and as a building block inside signatures and version-control systems like Git.
SHA-1 is broken for security-critical uses because collisions can be engineered, though it is still fine as a non-security checksum. Prefer SHA-256 or stronger when security matters. MD5 is intentionally not offered because it is considered insecure.
Hashing is not encryption and is not, by itself, the right way to store passwords. Raw SHA functions are deliberately fast, which helps attackers guess passwords quickly. For passwords use a slow, salted scheme such as bcrypt, scrypt or Argon2; the bcrypt generator here is built for that.
คำถามที่พบบ่อย
SHA-1, SHA-256, SHA-384 และ SHA-512 ผ่าน Web Crypto API ของเบราว์เซอร์ SHA-256 เป็นค่าเริ่มต้นที่ดี
ไม่มี MD5 ถือว่าไม่ปลอดภัยและ Web Crypto API ไม่จัดให้ ควรใช้ SHA-256 หรือแข็งแกร่งกว่า
ฝังเครื่องมือนี้
เพิ่มเครื่องมือนี้ลงในเว็บไซต์ของคุณเอง คัดลอกสคริปต์ด้านล่าง โดยจะอัปเดตให้เป็นปัจจุบันโดยอัตโนมัติ
<iframe src="https://monu.tools/embed/th/hash-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>เครื่องมือที่เกี่ยวข้อง
เข้ารหัสข้อความเป็น Base64 หรือถอดรหัส Base64 กลับเป็นข้อความ ปลอดภัยกับ UTF-8 พร้อมตรวจจับทิศทางอัตโนมัติ
เข้ารหัสและถอดรหัสแบบเปอร์เซ็นต์สำหรับ URL และส่วนประกอบ URL ปลอดภัยกับ UTF-8
ถอดรหัส JSON Web Token เพื่อตรวจสอบส่วนหัวและข้อมูล พร้อมแสดงเวลาหมดอายุและเวลาออกในรูปแบบที่อ่านได้ ทำงานทั้งหมดในเบราว์เซอร์ของคุณ ไม่มีการอัปโหลด token
สร้าง HMAC สำหรับข้อความและคีย์ความลับโดยใช้ SHA-1, SHA-256, SHA-384 หรือ SHA-512 ในเบราว์เซอร์ของคุณ