---
title: "Password Generator"
method: GET
path: "/api/calc/password-generator"
tags: ["Everyday"]
---

# Password Generator

`GET /api/calc/password-generator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/password-generator`
- Auth: none declared

Make a random 8–64 character password from letters, digits and symbols and see its entropy in bits. Created on your device with crypto.getRandomValues.

## Query parameters

- `length` number: Password length (characters)
- `upper` 'yes' | 'no': Uppercase (A–Z)
- `lower` 'yes' | 'no': Lowercase (a–z)
- `digits` 'yes' | 'no': Numbers (0–9)
- `symbols` 'yes' | 'no': Symbols (!@#…)
- `similar` 'yes' | 'no': Exclude look-alike characters (I l 1 | O 0 o)

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
