Pgpass Inspector
Paste a .pgpass PostgreSQL password file and inspect it without uploading it. The tool reads each line as the five colon-separated fields hostname, port, database, username and password, and reports the matching host, port and database for every entry. It flags a line that does not have exactly five fields, an empty field, and a malformed line, so a broken or incomplete pgpass entry can be found before psql silently skips it. The password value is never printed, only that an entry exists. The summary view gives the counts, the entries view lists every line, and the issues view lists structural problems.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
Questions
What is a .pgpass file?
It is the password file libpq reads when connecting to PostgreSQL without a password prompt. Each line holds hostname, port, database, username and password, each field separated by a colon, with an optional leading host or line comment.
What does the inspector report?
It reports the number of credential entries, flags lines with the wrong number of fields or an empty password where one is not permitted, and notes the use of the * wildcard in host, port or database.
Does the inspector display my passwords?
It reports the structure, not the secrets. The password fields are masked so a .pgpass shown on screen or shared as evidence never exposes credentials.
How it works
Pgpass Inspector runs entirely in your browser tab. Your input is processed by JavaScript on this device. Nothing is uploaded, and the page works offline once it has loaded.
Related tools
See category.env <-> JSON
Parse a .env file into JSON, or turn a JSON object into .env text. Runs entirely on your device.
Netrc File Inspector
Inspect a .netrc file on-device: machines, default entry, login, password and account.
SSH Key Fingerprint
Compute the SHA256 and MD5 fingerprints of an SSH public key, with key type and size.
Properties Converter
Convert Java .properties config to JSON or serialize JSON back to .properties.