Skip to content

Hash Generator

Compute MD5, SHA-1, SHA-256, and SHA-512 hashes from any text — all at once, in your browser.

Install Hash Generator

  1. 1Tap the Share button — in Safari's toolbar or its ⋯ menu.
  2. 2Scroll down and tap Add to Home Screen.
  3. 3Tap Add. Hash Generator then opens from your Home Screen like an app and keeps working offline after your first visit.
  1. 1 Enter text
  2. 2 Compare hashes
  3. 3 Paste it

Step 1 of 3: Type or paste the text you want to hash.

  • MD5 · Checksums only — broken for security

    —

  • SHA-1 · Legacy — collisions are practical

    —

  • SHA-256 · The usual choice

    —

  • SHA-512 · Longer output, same family

    —

bcrypt (for storing passwords)

bcrypt is deliberately slow and salted, so it is calculated on request rather than as you type. Every run gives a different string for the same input — that is the salt, and it is expected.

Related: encode data with the Base64 converter, create strong secrets with the password generator, or inspect a token with the JWT decoder.

All Developer Tools

Free Online Hash Generator — MD5, SHA-1, SHA-256, SHA-512

Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from any text — all four computed at the same time, updating as you type. UtilHub's hash generator uses the browser's built-in Web Crypto API so your input never touches a server; even sensitive strings, tokens, and password-test material stay local. Use it to verify file integrity checksums, generate fingerprints for caching, compare hash outputs across algorithms, or pre-compute test vectors. Unicode text, emojis, and multi-line input are handled correctly. Unlike emn178's page or md5hashgenerator.com, you see every common digest at once instead of switching tools.

Which algorithm to reach for is a question of what the hash is protecting. MD5 and SHA-1 are broken for anything security-related — practical collisions exist for both — but remain perfectly fine for what they are still widely used for: checksums against accidental corruption, cache keys, and deduplication. SHA-256 is the default for signatures, integrity verification, and anything an adversary might try to forge. What none of them are is a password store: passwords need a deliberately slow function like bcrypt or Argon2, because a fast hash is exactly what makes brute forcing cheap.

How to use Hash Generator

  1. Type or paste your text into the input area.
  2. MD5, SHA-1, SHA-256, and SHA-512 outputs update instantly.
  3. Switch between hex and Base64 representation if needed.
  4. Click "Copy" next to any hash to send it to your clipboard.
  5. Clear input to wipe local state when finished.

Features

  • Multiple algorithms at once — MD5, SHA-1, SHA-256, and SHA-512 computed simultaneously from the same input. No tab-switching.
  • Real-time hashing — Output updates as you type — no "Calculate" button to press, no server round-trip.
  • 100% client-side — Web Crypto API runs locally. No text is sent to any server, logged, or stored.
  • Unicode safe — Handles any Unicode text including emojis, CJK characters, and multi-line strings with correct UTF-8 byte sequences.

Frequently Asked Questions

Which hash algorithm should I use?

It depends on your use case. SHA-256 is the current standard for security-sensitive applications like digital signatures, JWT signing, and blockchain. SHA-512 is similar but faster on 64-bit systems. SHA-1 is still used for non-security checksums (Git, for example) but is cryptographically broken. MD5 is fast and fine for non-security file integrity checks but unsafe for passwords or security purposes due to known collisions.

Is my text safe when generating hashes here?

Yes. All hashing happens in your browser via the Web Crypto API. Your input never leaves your device, is never logged, and is never transmitted. This is verifiable — disconnect from the internet after page load and the tool keeps working. Safe for passwords during local testing, API keys, and internal payloads.

Can I hash a file with this tool?

This tool focuses on text input. For file hashing, use the same algorithms via your terminal: on macOS/Linux, shasum -a 256 file.zip for SHA-256 or md5 file.zip for MD5. On Windows, Get-FileHash -Algorithm SHA256 file.zip in PowerShell. The hex output should match what UtilHub produces for the same byte content.

Is it safe to hash a password with SHA-256?

No — not for storing one. General-purpose hashes are designed to be fast, and speed is precisely what lets an attacker test billions of guesses per second against a leaked table. Password storage needs a deliberately slow, salted function: bcrypt, scrypt, or Argon2. SHA-256 is the right tool for integrity, and the wrong one for credentials.

Is MD5 still usable for anything?

Yes, as long as no adversary is involved. Practical collisions mean MD5 cannot prove a file has not been tampered with, but it remains fine for detecting accidental corruption in a transfer, as a cache key, and for deduplication. It is also still the checksum many older tools publish, which is why it is here alongside the others.

Search tools

  • Merge PDFPDF Tools
  • Sign PDFPDF Tools
  • Compress PDFPDF Tools
  • PDF to WordPDF Tools
  • PDF to TextPDF Tools
  • PDF to ImagePDF Tools
  • Image CompressorImage Tools
  • Background RemoverImage Tools
  • Image to Text (OCR)Image Tools
  • HEIC to JPG ConverterImage Tools