Netrc File Inspector
Paste a .netrc credentials file and inspect it without uploading it. The tool reads each machine entry and the default entry, and reports the host, the login name, whether a password is present and any account field. It flags a machine with no login, a machine with no password, a default entry with no login or password, a line that does not start with a known token, and a macdef block, so a broken or malformed netrc can be found before curl or git silently ignores it. Passwords are never printed, only whether one is set.
🔒 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 .netrc file?
It is a Unix credentials file used by curl, ftp and other network tools. Each machine block lists the host, and the login and password credentials to use with it, with an optional default machine block.
What does the inspector report?
It reports the machine entries, flags a line with the wrong number of tokens, and warns about a default machine that is not last or a machine block with no password.
Are my credentials shown?
The inspector reports the structure and masks the password fields, so a .netrc pasted as evidence or reviewed on screen never exposes a stored secret.
How it works
Netrc File 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 categorySSH Config Auditor
Audit an SSH client config: resolve host options, flag risky settings and ordering mistakes.
PGP Tool
Generate OpenPGP keys, and encrypt, decrypt, sign and verify text or files — fully on-device.
SSH Key Fingerprint
Compute the SHA256 and MD5 fingerprints of an SSH public key, with key type and size.
sudoers Auditor
Audit a sudoers file for NOPASSWD shells, wildcard commands, env_keep leaks and unused aliases.