Password & Auth Tools100% Client-Side

Generate a PostgreSQL MD5 Test Verifier

Enter a synthetic password and the role name associated with the compatibility fixture. The legacy format hashes the UTF-8 password followed by the exact role name and prefixes the result with md5. The role is part of the calculation, so changing it can change the output even when the test password stays the same. Use the page for fixtures that explicitly call for the historical MD5 verifier.

For legacy compatibility testing only. Use test credentials and prefer your database’s current authentication method for new accounts.

Configuration Options
Password
Output

How to Use the Legacy PostgreSQL MD5 Password Hasher

  1. 1Enter the exact PostgreSQL role name used by the test fixture.
  2. 2Enter the synthetic password or use Load Sample to fill both known values.
  3. 3Compare the result with the reference, including its md5 prefix.
  4. 4Check spaces and capitalization in both fields if the reported value differs.

Input & Output Examples

Use the public role name demo with the test value to reproduce this verifier.

Input Sample
test
Expected Output
md53228a40bcb748bdd8943c5ecbee706af

Use role Demo. The initial capital changes the bytes hashed even though the password is unchanged.

Input Sample
test
Expected Output
md52ca462657296d815978f0c0ff1a025ac

Practical Developer Workflows

  • Reproduce a compatibility value for a fixture with a named role.
  • Compare the same synthetic password under two distinct role names.
  • Confirm that the stored text includes the prefix used by the historical format.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The role name is used exactly as entered. Changing demo to Demo changes the bytes used in the hash. Use the role string recorded in the fixture rather than guessing its spelling from a label in an interface.

Explore Other Tools

10 suggested tools

View all tools