Free Online Argon2 Hash Generator – Argon2id, Argon2i & Argon2d
Select your algorithm, configure parameters, and generate a secure hash in seconds.
What is Argon2?
Argon2 is a memory-hard password hashing algorithm that won the Password Hashing Competition (PHC) in 2015. It is the current gold standard for securely hashing passwords, recommended by OWASP and used in production by major security-focused applications worldwide.
Unlike older algorithms like MD5, SHA-1, or bcrypt, Argon2 is specifically designed to be resistant against GPU-based brute-force attacks by consuming large amounts of memory during hashing — making parallel attacks exponentially more expensive.
Argon2 Variants Explained
Hybrid of Argon2i and Argon2d. Provides the best balance of security — resistant to both side-channel and GPU attacks. Use this for most applications.
Data-independent memory access. Best for situations where side-channel attacks are a concern (e.g., password hashing in shared environments).
Data-dependent memory access. Provides maximum resistance to GPU cracking, suitable for cryptocurrency and backend server applications.
Understanding Hashing Parameters
Argon2's strength comes from its configurable parameters. Increasing any parameter increases the cost for an attacker to crack the hash — at the expense of more computation time or memory on your side.
| Parameter | Default | Description | Recommendation |
|---|---|---|---|
| Time Cost (t) | 3 | Number of iterations the algorithm runs. Higher = slower hashing = harder to crack. | 3–10 for web apps; higher for offline storage. |
| Memory Cost (m) | 4096 KB | Amount of RAM consumed during hashing. Higher = harder GPU attacks. | Minimum 4096 KB (4 MB). Use 64 MB+ for high-security needs. |
| Parallelism (p) | 1 | Number of parallel threads. Should match your server's core count. | 1–4 for most use cases. |
| Hash Length | 32 bytes | Length of the output hash in bytes. Longer = more entropy. | 32 bytes (256-bit) is sufficient for most applications. |
How to Use This Tool
Type or paste the password you want to hash. Use the eye icon to toggle visibility.
Select Argon2id (recommended), Argon2i, or Argon2d based on your use case.
Adjust time cost, memory cost, parallelism, and hash length if needed.
Click "Generate Hash" and wait a moment — Argon2 is intentionally slow for security.
Copy the encoded hash and store it in your database or use it for verification.
Who Should Use Argon2?
Store user passwords securely in your database with the industry-recommended algorithm.
Understand modern cryptographic hashing in security and computer science courses.
Test and compare Argon2 parameter configurations for your security assessments.
Verify Argon2 hash outputs and test configurations before deploying to production.