Random String & API Key Generator

Generate random tokens, API keys and secrets in hex, Base64 or alphanumeric. Free, no sign-up, runs in your browser.

Loading tool…

About this tool

Choose a format and length to create secure random strings for API keys, session secrets, webhook secrets or test data.

How to use it

  1. Enter or paste your values in the fields above.
  2. The result updates as you type.
  3. Use the Copy button to copy the result.

Frequently asked questions

How many bytes should a secret have?

32 bytes (256 bits) is a common choice for signing secrets.

Let’s talk

Need a team to build it?

We build the software behind tools like this: web apps, APIs, SaaS products and AI features.