Skip to content

API Key Generator

Generate random strings for application secrets or testing, with selectable formats, prefixes, and bulk export.

Updated

What is the API Key Generator?

How it works

Examples

Prefixed random value

Format: Hex (lowercase), Length: 32, Prefix: sk_live_, Count: 1
sk_live_a1b2c3d4e5f6789012345678abcdef01

UUID v4 access token

Format: UUID v4, Prefix: none
550e8400-e29b-41d4-a716-446655440000

Base64URL JWT-style secret

Format: Base64URL, Length: 43, Prefix: none
xK9mP2qR7sT4vW8yZ1aB3cD5eF6gH0jL2nM4pQ6rS8tU

Bulk test values with a prefix

Format: Alphanumeric, Length: 36, Prefix: ghp_, Count: 5
ghp_AbCdEfGhIjKlMnOpQrStUvWxYz012345
ghp_ZyXwVuTsRqPoNmLkJiHgFeDcBa987654
…

Frequently asked questions