Network · Made a little simpler

API Key Generator

Choose random byte length, Base64URL, Base64 or hex, and an optional application label. Generate up to 50 keys locally and copy the batch.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

A label adds an app_ prefix with your label, such as app_inventory_. The service you operate must register the resulting key before it can authorize requests.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

API Key Generator: how to use it

  1. Enter the number of random bytes per key and the number of keys your service needs.
  2. Select an encoding that matches the accepted character set. Optionally add a label to produce a prefix such as app_inventory_.
  3. Choose Generate keys. Reveal the results to inspect them, copy the batch, or reset the workspace.

Limits and notes

Each batch contains 1 to 50 keys of 16 to 128 random bytes each. Labels up to 20 lowercase ASCII letters, digits or hyphens use the app_ namespace. This creates opaque tokens for services you operate. Generated values stay in this tab until you choose to copy them.

How your privacy works →

API Key Generator: common questions

How long is a 32-byte API key?

The random portion takes 43 unpadded Base64URL characters, 44 standard Base64 characters including padding, or 64 hexadecimal characters.

What does the application label change?

It adds a readable prefix such as app_inventory_. The label changes how the key looks and adds no random bytes.

When can I use the generated key?

Register the entire string with your own service’s key-management process. Provider-issued credentials come from the provider’s issuer or console.

Guides