Skip to content
QueenNexa

Free tool

Password & API Key Generator

Generate strong random passwords and API keys with your browser's cryptographic random number generator. Nothing is sent or stored.

Click Generate

Runs entirely in your browser. Nothing you type or upload is sent to our servers.

Password basics that actually matter

  • Use a unique password for every account, because reuse is how one breach becomes many.
  • Prefer length over complexity: 16+ random characters.
  • Store them in a password manager and turn on two-factor authentication.
  • Never share passwords or API keys by email or chat.

About API keys and tokens

Keep keys out of source code and public repositories, load them from environment variables or a secrets manager, and rotate them if they might have leaked.

Frequently asked questions

Is it safe to generate passwords in a website?

This generator runs entirely in your browser and uses the Web Crypto API (crypto.getRandomValues), the same source of randomness browsers use for security features. The password is never sent to our servers or stored, and our analytics only record that the tool was used, never its output.

How long should a password be?

For accounts that matter, 16 or more random characters is a sound default. A longer password is stronger than a more complicated short one. Use a password manager so you never need to memorise them.

What is the entropy shown?

Entropy estimates how hard the password is to guess if an attacker knows how it was generated: length × log2(number of possible characters). Higher is stronger. The figure applies to randomly generated passwords, not human-chosen ones.

Can I use the API key generator for production secrets?

It produces random URL-safe tokens suitable as secrets or keys for your own systems. Services that issue their own keys (such as cloud and AI providers) should be used through their dashboards instead. Store secrets in a secrets manager, never in code or chat.

Link to this tool

Found it useful? Copy a link for your page, newsletter or documentation.

Get new tools and guides by email

Optional. The tool above works without signing up.

One email every Tuesday. Free, and you can unsubscribe in one click.

More free tools

Browse all developer tools or the full list of free tools.