Registry auth checker
Generate npm, pnpm and Yarn authentication setup. Inspect redacted .npmrc configuration for routing and credential mistakes.
Runs in your browser. Inputs stay on this page and are cleared when you reload. No uploads, analytics or session replay. Use placeholders instead of real secrets.
Enable JavaScript to run this local tool, or follow the step-by-step guide.
Your result
Choose your inputs, then run the tool.
Understand the route and the credential
A scope mapping chooses the registry. A host/path-scoped credential chooses where a token may be sent. A mismatch can leave a request unauthenticated even when the token is valid.
This checks common settings in the one file you supply. Command-line flags, environment variables and other config files can override it. It does not contact your registry or prove a key has access. Generated output uses an environment variable placeholder.
Profiles target npm 11, pnpm 12 and Yarn 4. pnpm restricts variable expansion in project auth settings; Yarn uses its own YAML configuration. Consult the version-specific npm, pnpm and Yarn references.
Continue with Configure registry authentication or explore all developer tools.