The API key generator is an online tool for generating secure API keys. It supports three formats — Base62, hexadecimal, and UUID v4 — and can generate API keys with optional prefixes in bulk.
How to Use
Select the format in Format: Base62 / Hex / UUID v4.
Specify the key length in Length (for Base62 and Hex formats).
Set the prefix string in Prefix (optional).
Specify the generation count in Count.
Click the "Generate" button.
Specifications & Glossary
Base62 Format: Uses 62 characters [0-9A-Za-z]. URL-safe and achieves high entropy; adopted by many services such as Stripe.
Hex Format: Uses 16 hexadecimal characters [0-9a-f]. Highly compatible with cryptographic libraries and easy to combine with hash functions such as SHA-256.
UUID v4 Format: Generates in RFC 4122-compliant UUID v4 format (xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx). Standard format with high compatibility with existing systems.
Prefix: Adding prefixes such as sk_, pk_, or api_ makes it easy to identify the purpose and permissions of a key (e.g., OpenAI's sk-... format).
Entropy & Security: A 32-character Base62 key has approximately 190 bits of entropy, providing extremely high resistance against brute-force attacks.
Use Cases
Generating authentication tokens and API keys for REST APIs.
Generating webhook secrets.
Issuing customer API keys for multi-tenant SaaS applications.
keyboard_arrow_rightAPI Key Generator
keyboard_arrow_rightResults
1
Overview
The API key generator is an online tool for generating secure API keys. It supports three formats — Base62, hexadecimal, and UUID v4 — and can generate API keys with optional prefixes in bulk.
How to Use
Select the format in Format: Base62 / Hex / UUID v4.
Specify the key length in Length (for Base62 and Hex formats).
Set the prefix string in Prefix (optional).
Specify the generation count in Count.
Click the "Generate" button.
Specifications & Glossary
Base62 Format: Uses 62 characters [0-9A-Za-z]. URL-safe and achieves high entropy; adopted by many services such as Stripe.
Hex Format: Uses 16 hexadecimal characters [0-9a-f]. Highly compatible with cryptographic libraries and easy to combine with hash functions such as SHA-256.
UUID v4 Format: Generates in RFC 4122-compliant UUID v4 format (xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx). Standard format with high compatibility with existing systems.
Prefix: Adding prefixes such as sk_, pk_, or api_ makes it easy to identify the purpose and permissions of a key (e.g., OpenAI's sk-... format).
Entropy & Security: A 32-character Base62 key has approximately 190 bits of entropy, providing extremely high resistance against brute-force attacks.
Use Cases
Generating authentication tokens and API keys for REST APIs.
Generating webhook secrets.
Issuing customer API keys for multi-tenant SaaS applications.