PostgreSQL Password Hash screenshot

PostgreSQL Password Hash

Generate the md5 password hash PostgreSQL stores, from the password and the role name.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this postgresql password hash does

PostgreSQL's md5 format is md5 followed by the MD5 of the password concatenated with the role name. The role name is part of the hash, so the same password hashes differently for another user.

How to use it

PostgreSQL Password Hash: paste the password into the box above, set Role name (default "app_user"), and press Run to get the hash below.

Worked example

Input:

correct horse battery staple

Output:

md58d572a089a73b734c1b85a488c1e0507

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns hash; reloading the page discards both.

PostgreSQL's md5 format is md5 followed by the MD5 of the password concatenated with the role name. The role name is part of the hash, so the same password hashes differently for another user.

Generate the md5 password hash PostgreSQL stores, from the password and the role name.

How to use it

PostgreSQL Password Hash: paste the password into the box above, set Role name (default "app_user"), and press Run to get the hash below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns hash; reloading the page discards both.

What to Expect

Best for

  • Converting password to hash when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

correct horse battery staple

Sample output

md58d572a089a73b734c1b85a488c1e0507

Frequently asked questions

How do I use the postgresql password hash?

PostgreSQL Password Hash: paste the password into the box above, set Role name (default "app_user"), and press Run to get the hash below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.