# Client ID & Secret Generator

> Generate random OAuth2 Client ID and Client Secret pairs, 1 to 20 at a time, with an optional client_ / secret_ prefix. Uses secure browser randomness.

- Page: https://mondaytool.com/tools/client-credential-generator
- Category: security
- Price: free, no sign-up. Most tools run in the browser, so input is not uploaded.
- Use it: open https://mondaytool.com/tools/client-credential-generator. It is an interactive web page; this file is its documentation.

Last updated: 16 October 2026

## Generate OAuth2 client ID and secret pairs

This **client ID and client secret generator** creates random credential pairs for OAuth2 client credentials. Choose how many pairs you want, click generate, and copy them one at a time or all together. It is handy for test setups, seeding a dev database or filling in an app registration.

## How to use it

1. Enter the **Number of Pairs**, from 1 to 20. The default is 5.
2. Tick the prefix box if you want `client_` and `secret_` added to the start of each value.
3. Click **Generate Credentials**.
4. Use **Copy** next to a Client ID or Client Secret, or **Copy All** to copy every pair.

## How it works

The tool uses `crypto.getRandomValues()` in your browser. Each Client ID is 16 random bytes written as 32 hex characters. Each Client Secret is 32 random bytes written as a URL-safe Base64 string, which is 43 characters with no padding. The ID and the secret are drawn separately, so they are never the same value.

## What you see

- A list of numbered pairs, each with a Client ID and a Client Secret.
- A copy button per value.
- A Copy All button that gives you text in this form: `client_id=...` and `client_secret=...`, one block per pair.

## Assumptions and limits

- The count is limited to 1–20 pairs per click.
- Values are not saved. If you generate again or leave the page, the old pairs are gone.
- The tool does not register anything with an OAuth provider. You still need to store the pair and configure your authorization server yourself.
- Some providers issue their own IDs and secrets and will not accept custom ones.

## Frequently asked questions

### Are the values really random?

They come from the browser's cryptographic random number generator, not from `Math.random()`. The page states that nothing is sent to a server.

### What do the prefixes do?

They only add `client_` or `secret_` in front of the generated text. This makes the two values easy to tell apart in logs or config files.

### Can I use these in production?

Format-wise, yes, if your system accepts self-chosen credentials. Store the secret safely, as you would any password, and do not paste it into shared chats or tickets.
