Secure Password Generator

Strength:
Weak

Settings

A strong password should be long and combine different character types.

Use as API

Generate secure passwords programmatically via our REST API. Perfect for automation and integration into your applications!

API Endpoint

POST https://toolteeno.com/api/password

Request Body

{
  "length": 16,
  "uppercase": true,
  "lowercase": true,
  "numbers": true,
  "symbols": true,
  "count": 1
}

length: Password length (optional, 4-128, default: 16)

uppercase: Include A-Z (optional, default: true)

lowercase: Include a-z (optional, default: true)

numbers: Include 0-9 (optional, default: true)

symbols: Include !@#$%^&* (optional, default: true)

count: Generate multiple passwords (optional, 1-50, default: 1)

Example Response (Single)

{
  "success": true,
  "config": {
    "length": 16,
    "uppercase": true,
    "lowercase": true,
    "numbers": true,
    "symbols": true,
    "count": 1
  },
  "passwords": "aB3!xY7@mK9#pQ2$",
  "entropy": "95.27",
  "charPoolSize": 94
}

Example Response (Multiple)

{
  "success": true,
  "config": { ... },
  "passwords": [
    "aB7mK2pQ9xYz3R4!",
    "xR4nL8sT3wMk@9P#",
    "pQ6mY1hJ9cVb$2X&"
  ],
  "entropy": "95.27",
  "charPoolSize": 94
}

cURL Example

curl -X POST https://toolteeno.com/api/password \
  -H "Content-Type: application/json" \
  -d '{
    "length": 20,
    "uppercase": true,
    "lowercase": true,
    "numbers": true,
    "symbols": true
  }'

JavaScript Example

fetch('https://toolteeno.com/api/password', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    length: 20,
    uppercase: true,
    lowercase: true,
    numbers: true,
    symbols: false,
    count: 5
  })
})
.then(res => res.json())
.then(data => {
  console.log('Passwords:', data.passwords);
  console.log('Entropy:', data.entropy, 'bits');
});

Python Example

import requests

response = requests.post(
    'https://toolteeno.com/api/password',
    json={
        'length': 20,
        'uppercase': True,
        'lowercase': True,
        'numbers': True,
        'symbols': False,
        'count': 5
    }
)
result = response.json()
print('Passwords:', result['passwords'])
print(f"Entropy: {result['entropy']} bits")

🔐 Security Features:
• Uses cryptographically secure random number generation (crypto.getRandomValues)
• Entropy calculation included for password strength assessment
• Character pool size provided for security analysis
• At least one character from each selected type is guaranteed

💡 Free & No Rate Limits: This API is completely free to use with no authentication required. Generate single or bulk passwords for your applications!