Argon2id Hash Generator and Verifier
NewGenerate Argon2id password hashes with random salts, choose memory and pass settings, or verify an encoded hash. Local processing, bounded memory and cancellation.
Password
Fresh 16-byte random salt and a 32-byte digest. Lanes are an Argon2 parameter, not a promise of browser CPU threads.
19 MiB · 2 passes · 1 lane · version 19
Encoded Argon2id hash
Use test passwords, not live secrets. Hashing is local, with no tool uploads or saved inputs. This page is not an authentication service and does not guarantee erasure from JavaScript memory.
References: OWASP password storage · RFC 9106 · Engine license
Processed on your device — nothing is uploaded.
How to use Argon2id Generator
- 1Choose Generate or Verify and enter a test password.
- 2Use the default preset or choose bounded settings; for verification, paste the full encoded hash.
- 3Generate or verify, then copy the hash or read the match result. Cancel stops the worker.
What this page covers
- Argon2id version 19 with a fresh random 16-byte salt
- OWASP minimum and RFC 9106 memory-constrained presets
- Readable parameters, standard PHC output and TXT download
- Separate worker with cancel, deadline and memory limits
About Argon2id Generator
Argon2id combines memory and repeated passes to make password guessing more expensive. Generate a standard encoded hash for a development fixture, or inspect and verify a hash you already have. The encoded string contains the version, costs, salt and digest; hashing cannot recover a forgotten password.
Common uses
- Create salted password hashes for development fixtures.
- Verify that a known test password matches a stored Argon2id hash.
- Understand the memory, pass and lane values inside a PHC string.
- Compare elapsed hashing time on your device before separately tuning a production server.
Example
Input
password
Result
$argon2id$v=19$m=65536,t=2,p=1$c29tZXNhbHQ$CTFhFdXPJO1aFaMaO6Mm5c8y7cJHAph8ArZWb2GRPPc
Good to know
- The default uses 19 MiB, two passes and one lane. The RFC preset uses 64 MiB, three passes and four lanes. Browser timing does not establish the right cost for a production server.
- Generation always creates a fresh random salt and a 32-byte digest. The fixed-salt example is an Argon2 reference-implementation vector for the word password, not a production password suggestion.
- Use nonempty test passwords rather than live secrets. This tool does not upload or save inputs, but a web page cannot guarantee erasure from JavaScript memory or isolation from every other script.
- Verification supports Argon2id v=19, up to 128 MiB, ten passes, four lanes and a 512 MiB-pass work budget. Higher-cost or unsupported hashes need a trusted local implementation; settings are never silently reduced.
Argon2id Generator FAQ
Is Argon2id encryption?
No. It is a password hashing function. Verification derives a candidate digest and compares it with the stored digest; it does not decrypt the original password.
Why does the same password produce different hashes?
Generation uses a fresh cryptographically random salt each time. The salt and parameters are included in the encoded hash so it can later be verified. The salt is not secret.
What settings should I use?
The initial preset follows OWASP’s 19 MiB, two-pass, one-lane minimum configuration. The second preset follows RFC 9106’s 64 MiB recommendation for memory-constrained environments. Tune production costs on your own server for its latency and concurrency requirements.
Why can a valid hash be rejected?
The browser tool has resource and format limits. It accepts version-19 Argon2id hashes with bounded memory, passes, lanes, salt and digest lengths. Unsupported formats and excessive costs are reported as errors rather than incorrect-password results.
Are long passwords or spaces truncated?
No. The tool preserves UTF-8 password bytes, including spaces and NUL characters, up to its 4096-byte input limit. It does not apply bcrypt’s 72-byte truncation or Unicode normalization.