NX-31 · Security & Privacy Tools

API Key Generator

Cryptographically random API keys or tokens, hex or base64url.

Processed on our server over your connection. Avoid submitting confidential data. Privacy details

Settings

Generated server-side with .NET's RandomNumberGenerator — the same cryptographic source used by the Password Generator.

Key

Click "Generate key" to create one.

About API Key Generator

Generate a random API key or token in hex or base64url format, with an optional prefix like sk_live_.

How this is processed

Your chosen settings (length, format, and prefix) are sent to our server, which generates the key and returns it to your browser — the same server-side approach used by the password generator. This is not a purely client-side tool: the generated key is transmitted back to you over the network as part of that request.

Format options

Choose hex or base64url encoding, and optionally add a prefix (like sk_live_) to match the format a specific API or service expects.

How to use it

Choose a length, format, and optional prefix, then generate. Copy the result and store it wherever your key management process requires.

Use cases

Generate a placeholder or test API key for local development. Create a random token for a service that lets you supply your own key format. Generate a random secret for signing or authentication purposes.

Limitations

Generation happens on our server, not entirely in your browser — see the processing note above for exactly what that involves. This tool generates the key; it doesn't register it with any API or service.

Does the generated key ever leave my browser... in the other direction?

Yes, in the sense that it's generated on our server and transmitted to your browser as part of the request — it doesn't stay purely client-side the way some of the other generator tools here do.

Can I use this as my actual production API key?

You can, but treat it like any secret: this tool doesn't store, log, or register it anywhere on your behalf — storing and protecting it afterward is up to you.

Is this actually free?

Yes.