πŸ”
πŸ”‘

Generate a Secure API Key

Create random, high-entropy strings for use as API keys, secret tokens, and signing secrets.

Nid oes angen mewngofnodi
16
464

API Keys tips

πŸ”‘

API keys should be at least 32 characters of random data. Use all character types (uppercase, lowercase, numbers, symbols) for maximum entropy.

πŸ”’

Store generated API keys in environment variables or a secrets manager β€” never hard-code them in source files.

πŸ’‘

For JWT signing secrets and OAuth client secrets, 64+ character random strings are recommended to prevent brute-force attacks.

πŸ”„

Rotate API keys regularly. Generate a new key, update your application, then revoke the old key β€” always in that order to avoid downtime.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin