Password Generator

Copied to clipboard!
16
Image Settings

Watermark

40
14
11
45%

Image Size

720
260

Password Display

30
50%
Saved!

Security Guide

Why strong passwords matter

Your password is the first line of defense. A weak password can be cracked in seconds using modern tools.

What makes a password strong?

  • Length — At least 12 characters.
  • Complexity — Mix uppercase, lowercase, numbers and symbols.
  • Randomness — Avoid dictionary words, names or patterns.
  • Uniqueness — Never reuse passwords across accounts.
🔐
Password manager
Bitwarden, 1Password or KeePass store and autofill passwords securely.
🛡️
Enable 2FA / MFA
Extra protection even if your password is compromised.
🔄
Rotate breached passwords
Check Have I Been Pwned regularly.
🚫
Avoid personal info
Never use names, birthdays, or info from social media.

Common attack methods

  • Brute force — Try every possible combination.
  • Dictionary attacks — Common words and leaked passwords.
  • Credential stuffing — Pairs from one breach on other services.
  • Phishing — Fake sites trick you into entering credentials.

FAQ

Is this password generator safe to use?

Yes. Passwords are generated entirely in your browser using the Web Crypto API (crypto.getRandomValues). Nothing is sent to the server. No data is stored or logged.

How long should my password be?

We recommend at least 16 characters for most accounts. For high-security accounts (banking, email, admin panels), use 20 or more.

Does this tool have an API? Can I use it from the command line?

Yes. This tool also works as a REST API — you can generate passwords directly from your terminal, scripts or applications. Send a simple GET request and receive a plain-text password. The only required parameter is ajax=1; everything else is optional.

GET /proyectos/genpass/?ajax=1&long=20&alpha=on&numbers=on&symbol=on&base=MyApp

Parameters:

  • ajaxRequired. Must be present (any value) to activate the API mode. Without it the HTML page is returned instead.
  • long — Password length. Integer between 4 and 128. Defaults to 16 if omitted.
  • alpha — Include uppercase and lowercase letters (a-zA-Z). Set to on to enable.
  • numbers — Include digits (0-9). Set to on to enable.
  • symbol — Include special characters (!@#$%&*-+?=). Set to on to enable.
  • base — A word to embed inside the password (e.g. base=Gmail). It will be inserted at a random position. Must be shorter than or equal to the password length.

If none of alpha, numbers or symbol are specified, the API defaults to letters + numbers. The response is text/plain with CORS enabled (Access-Control-Allow-Origin: *), so it can be called from any origin.

Examples (Linux / macOS — curl):

# 32-char password with all character sets
curl "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=32&alpha=on&numbers=on&symbol=on"

# 12-char numeric-only PIN
curl "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=12&numbers=on"

# 20-char password with "Slack" embedded
curl "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=20&alpha=on&numbers=on&symbol=on&base=Slack"

Examples (Windows — PowerShell):

# 32-char password with all character sets
Invoke-RestMethod "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=32&alpha=on&numbers=on&symbol=on"

# 12-char numeric-only PIN
Invoke-RestMethod "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=12&numbers=on"

# 20-char password with "Slack" embedded
Invoke-RestMethod "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=20&alpha=on&numbers=on&symbol=on&base=Slack"

# Save to clipboard directly
Invoke-RestMethod "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=24&alpha=on&numbers=on&symbol=on" | Set-Clipboard

Windows — CMD (Command Prompt):

curl "https://www.sinologic.net/proyectos/genpass/?ajax=1&long=24&alpha=on&numbers=on&symbol=on"
What is the "Base word" option?

It lets you embed a memorable word inside the random password, helping associate it with a specific service while keeping the rest random and strong.

What is the visual image for?

The canvas image renders your password as a graphic with watermark distortion. You can download and share it safely — it cannot be copied as text by automated tools.

Should I use a password manager?

Absolutely. A password manager lets you use a unique, strong password for every account. Popular options include Bitwarden (free/open-source), 1Password and KeePass.