How to use the API Key & Token Generator
- Adjust the options (bytes of randomness, format, prefix, how many) to fit your needs.
- The result updates instantly as you change the options.
- Copy the result or download it as a text file.
About this tool
Generate secure random API keys, secrets and tokens in hex, Base64 or Base64URL. It is part of the free Passwords & Security collection on Online Tools Harbor. Everything happens locally in your browser, so it is fast and private.
Frequently asked questions
Is the API Key & Token Generator free?
Yes. The API Key & Token Generator is completely free to use, with no sign-up and no limits on normal use.
Is my data safe?
Yes. This tool runs entirely in your web browser using JavaScript. Your text is never uploaded to our servers.
Does it work on mobile?
Yes, it works in any modern browser on phones, tablets and computers. No app to install.