client_id / client_secret Validator
Validate the format of an OAuth client_id and client_secret, checking valid characters and minimum length. Useful for debugging auth integrations and APIs.
Analysis
—
Checking the format of client_id and client_secret
The OAuth 2.0 client credential pair has no format defined by the specification: each provider picks its own. That means no universal validation exists — but there are characteristics separating a healthy credential from one that will cause trouble, and those are what you can check before pasting them into a configuration file.
Paste both values and the page flags what stands out: an identifier that is too short, a secret below the length expected of a value with reasonable entropy, and characters outside the URL-safe set. That last one matters because credentials may travel encoded in the authorisation header or in a form body, and a character needing escapes is a recurring source of intermittent failure.
Be clear about what the check does not do: it measures shape, not secrecy. A long, well-formatted secret can be weak for having been generated from a predictable source, and no inspection of the value reveals that. Real security comes from the provider generating it with a cryptographic source, from the secret never reaching a repository or a browser, and from rotating it periodically.
Frequently asked questions
Can a single-page application have a secret?
What secret length is reasonable?
Where should the secret live?
Related Tools
PayPal Client ID Validator
Validate PayPal Client ID format: 80 alphanumeric chars (prefix A for sandbox/live). Format only.
JWT JTI Format Validator
Validate the format of the JTI (JWT ID), the unique identifier of a JWT token. Check whether it follows security best practices like minimum length and UUID.
OAuth Scope Checker
Check whether a requested scope is present in the space separated list a token came back with, matched literally as OAuth 2.0 requires.
US SSN Format Validator
Validate the format of a US SSN (Social Security Number) in the 3-2-4 digit pattern. Useful for forms, sign-ups and data validation in the United States.
BIC / SWIFT Validator
Validate the format of a bank BIC/SWIFT code (8 or 11 characters) used in international transfers. Check the bank code before sending money abroad.
CNPJ Validator
Validate Brazilian CNPJ numbers instantly using the official algorithm. Useful for testing fiscal document validation. No data sent to servers.