สร้าง Hash
สร้างแฮช MD5, SHA-1, SHA-256 และ SHA-512 จากข้อความ
Hash Values
Note: MD5 is not available in the Web Crypto API. For MD5, a JavaScript implementation would be needed.
Hash Generator — MD5, SHA-1, SHA-256, SHA-512
Generate cryptographic hash values from any text using MD5, SHA-1, SHA-256, SHA-512, and more — instantly, in your browser. Use hashes to verify file integrity, store passwords, or build checksums.
Hash algorithms explained
MD5 (128-bit)
Fast but cryptographically broken. Use only for non-security checksums.
SHA-1 (160-bit)
Deprecated for security. Still common in legacy systems and git commits.
SHA-256 (256-bit)
Current standard for secure hashing. Part of SHA-2 family.
SHA-512 (512-bit)
Stronger than SHA-256, used where maximum collision resistance is required.
FAQ
What is a hash function?
A hash function takes any input and produces a fixed-length string of characters. The same input always produces the same hash, but even a tiny change in input produces a completely different hash.
Can you reverse a hash back to the original text?
No — hashing is a one-way function. You cannot mathematically reverse a hash. Attackers use precomputed tables (rainbow tables) or brute force, which is why strong algorithms and salting matter.
Which hash algorithm should I use?
For security (passwords, signatures): SHA-256 or SHA-512. For checksums and file integrity: SHA-256. Never use MD5 or SHA-1 for security — both have known collision vulnerabilities.
สำรวจต่อ
เครื่องมือนักพัฒนา อื่นๆ ที่คุณอาจชอบ...
จัดรูปแบบ JSON
จัดรูปแบบ ตรวจสอบ และย่อข้อมูล JSON พร้อม syntax highlighting
เข้ารหัส/ถอดรหัส Base64
เข้ารหัสข้อความเป็น Base64 และถอดรหัสสตริง Base64
เข้ารหัส/ถอดรหัส URL
เข้ารหัสและถอดรหัสส่วนประกอบ URL และ query strings
สร้าง UUID
สร้างตัวระบุ UUID v4 แบบสุ่ม
ทดสอบ Regex
ทดสอบและดีบัก regular expressions พร้อมไฮไลท์การจับคู่
ถอดรหัส JWT
ถอดรหัสและตรวจสอบ header และ payload ของ JWT token
จัดรูปแบบ HTML
จัดรูปแบบโค้ด HTML พร้อมการเยื้องที่เหมาะสม
ย่อ CSS
ย่อโค้ด CSS โดยลบช่องว่างและ comments