Independent development & design From a useful idea to a working project.
Security · Free browser tool

Strong Password & API Key Generator

Generate random passwords or key-like tokens with your browser’s cryptographic random source. Choose length and character sets, then copy or download.

Your inputs stay in this browser tab. No account or upload to our server is required.

Generate a value to see its options.

Save securely. Clipboard history and downloaded text files can retain secrets. This does not issue a vendor’s API key.

The practical guide

Generate credentials with useful defaults

By Mubsir · Updated November 17, 2026

How to create a random password

Choose a length and select the character groups you want to include: lowercase letters, uppercase letters, digits and symbols. The default uses a long password with several groups enabled. Select Generate, then copy the result into a trusted password manager or the account’s password field. Each enabled group is represented in the output. If an account rejects particular symbols, change the selected options to match that account’s rules instead of manually making the same predictable edit each time.

Passwords and API tokens are different

Password mode creates a string from your selected character sets. Token mode generates a requested number of random bytes and presents them as hexadecimal or URL-safe Base64 text. This is useful for a local application secret or a test configuration when you control how the secret will be checked. It does not create a working Google, payment-provider or other vendor API key. Those credentials must be issued by the provider with the correct permissions and account controls.

How the randomness works

The generator uses the browser’s cryptographic random API rather than a timestamp or an ordinary pseudo-random convenience function. Character selection uses rejection sampling so alphabet sizes that do not divide evenly into a byte range are not given a modulo bias. Passwords are resampled until every chosen group appears. If the cryptographic API is unavailable, generation stops and displays an error; the tool does not silently fall back to a weaker random method.

Choosing length and handling the result

A longer random string generally offers more possible combinations, but security also depends on how the service stores passwords and limits guesses. Use a unique password for every account and enable appropriate multifactor authentication. The possible-combination figure shown here is only an upper bound based on the alphabet and length. Group requirements and the environment change the effective model; it is not a promise of resistance to every attack. Treat tokens as secrets and rotate them if they are exposed.

Privacy, storage and device safety

Generated values are not sent to our server or intentionally saved in browser storage. This page does not load advertising scripts. The result is still visible on your screen, and copying can leave it in operating-system clipboard history or expose it to browser extensions. Clear the output when finished, avoid shared devices for important credentials and keep recovery methods secure. A downloadable file is plain text, so store or remove it carefully rather than leaving production secrets in a general downloads folder.

Frequently asked questions

Can I recover a password after clearing it?

No. The tool does not keep a server copy. Save it securely before clearing the output or leaving the page.

Is a generated token a real vendor API key?

No. It is random secret material. A vendor-issued key must be created in that vendor’s account.

Why use a password manager?

A password manager helps keep unique credentials securely and reduces the need to memorize or reuse them.

Try another tool

  • JSON Formatter, Validator & Minifier — Format or minify JSON, find syntax errors and copy a clean result. A free browser tool for checking API responses and configuration files.
  • SEO Meta Tag & OpenGraph Generator — Create escaped HTML meta tags and preview search and social-card text for a page. Enter a title, description, canonical URL and optional image URL.
  • Word, Character & Reading-Time Counter — Count words, characters, sentences and paragraphs as you type, with an estimated reading time and a clear explanation of the counting method.
  • Text & Image Base64 Converter — Encode UTF-8 text or an image as Base64, decode valid text and image data, and download the result locally. Base64 is encoding, not encryption.