# Password generator > How strong should your new password be? A random password made on your device, with its strength in bits and nothing sent anywhere. Make a strong random password with the length and characters you choose. It is made in your browser, never sent or saved, and its strength is shown in bits. - Page: https://how.box/password/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/password/?len={len}&lower={lower}&upper={upper}&digits={digits}&symbols={symbols}&clear={clear} - `len` (whole number 4 to 128): Password length in characters, 4–128. Example: `16`. - `lower` (boolean): Use a–z: 1 or 0. Example: `true`. - `upper` (boolean): Use A–Z: 1 or 0. Example: `true`. - `digits` (boolean): Use 0–9: 1 or 0. Example: `true`. - `symbols` (boolean): Use symbols: 1 or 0. Example: `true`. - `clear` (boolean): Leave out look-alike characters: 1 or 0. Example: `false`. Example answer: https://how.box/password/?len=16&lower=1&upper=1&digits=1&symbols=1&clear=0 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `password_strength`: Measures how strong the passwords are that the generator makes with the given settings. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"password_strength","arguments":{"length":16,"lowercase":true,"uppercase":true,"digits":true,"symbols":true,"exclude_similar":false}}}` - GET: https://how.box/mcp/run/password_strength?length=16&lowercase=true&uppercase=true&digits=true&symbols=true&exclude_similar=false ## How it works A strong password is one nobody can guess, and the best guesser-proof choice is one picked by chance. This tool draws every character at random from your device's secure random generator, so there is no pattern to find. It is made in your browser, shown only to you, and never sent, saved or put in the link. Strength is counted in bits. If a password could be any one of N equally likely strings, its strength is log2(N) bits, and each extra bit doubles the number of guesses an attacker needs (Shannon, 1948). A password of L characters from a pool of P gives about P^L possibilities, so 16 characters from a pool of 86 gives about 100 bits. The tool counts the possibilities exactly, including the rule that every chosen kind of character appears at least once. Length matters more than variety: adding a character multiplies the possibilities by the whole pool, while adding a kind of character only grows the pool a little. A random password is also only as safe as its use. Keep a different one for every account and store them in a password manager, because a strong password that is reused is only as safe as the weakest site. ## FAQ **Is the password sent or stored anywhere?** No. It is made in your browser and disappears when you close or reload the page. It is never in the address, so sharing the link shares your settings, not a password. **How many bits are enough?** The more the better, since every extra bit doubles the guesses needed. The default of 16 characters gives about 100 bits, far more than anyone can try. A long random password costs you nothing when a password manager remembers it. **Why can the password start with a symbol or digit?** Because every position is chosen at random, with no fixed pattern. Forcing a letter first would make the passwords slightly easier to guess. **Why can't an AI assistant ask this tool for a password?** A password an assistant saw would no longer be private. The assistant can only ask how strong your settings are; you read the password on the page. **How long should a password be?** At least 12 characters for everyday accounts and 16 or more for email, banking and your password manager, with a different password for every account. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)