Password Generator

Include

8–128 characters · At least one character type

Generated on your device. Never stored.

A random password.
A fresh start.

Generate a password from 8 to 128 characters, with the character types your account accepts. With JavaScript on, a result is ready when the page loads. It is built in your browser and kept only until you copy it or replace it.

How to generate a password

  1. Choose a length between 8 and 128 characters. The field starts at 18.
  2. Select uppercase letters, lowercase letters, numbers or symbols. Keep at least one type selected.
  3. Click or tap the password to copy it. Use “Generate again” when you want another result with the same settings.

Use the minus and plus buttons beside the length, or type a number. A length already inside 8 to 128 rebuilds the password as you edit it. When you leave the field, a length from 1 to 7 is raised to 8 and a length above 128 is lowered to 128. An empty field, a value that is not a number, or 0 returns to 18, the default. The note then reads “Length adjusted to … Choose between 8 and 128 characters.” When the length is valid, the note reads “8–128 characters · At least one character type,” unless you have just tried to turn off every character type. The minus button stops at 8 and the plus button stops at 128.

The four switches start on: A–Z, a–z, 0–9, and symbols. The symbols switch is marked !@#; the characters it actually includes are listed below, and they are more than those three. Clearing the last switch turns it back on and the note says “Keep at least one character type selected.” Changing any switch replaces the password immediately. “Generate again” is only for a new draw with the switches left as they are.

Every result contains at least one character from each type you left on. Those characters are not stuck at the front. The generator shuffles the whole string before it shows it.

With a mouse or trackpad the caption reads “Click to copy.” With a coarse pointer, such as a fingertip, it reads “Tap to copy.” A successful copy changes the caption to “Copied” for about a second and a half, then the hint returns. If the browser blocks the clipboard interface, the tool selects the password and tries the older copy command. If that fails too, the caption reads “Copy unavailable. Select the text and copy manually.” Selecting the password selects the whole string, including when it wraps onto more than one line.

Match the length to the account

Eighteen characters from the full set is the default because it is long enough to store in a password manager and short enough for most current sign-up forms. Longer is better when the site will keep it. This page stops at 128 characters. A password of that length, drawn from all 75 characters, is on the order of 800 bits. You rarely need that much. Eight is only the minimum.

Eight is the shortest this tool will generate. Many sites refuse fewer than eight, and eight characters is still a modest search space: with all four types on, it is about 50 bits. The line under the password, “Try a longer password for more randomness.”, appears for every result under 12 characters. It also appears at 12 characters or more when the estimate is under about 64 bits, which happens if you have turned most types off. The line is a nudge about this result. It is not a rating, and its absence does not mean the account, the site, or your device is safe. There is no “weak / strong” meter, and nothing on the page scores a password you already use.

Read the site’s own limit before you rely on a long password. Some forms cap length at 16, 20, 32, or 64 characters and reject anything past that. Use the longest length they actually accept. A few older systems do something quieter: they let you choose a long password, then store or check only the first 8 or 16 characters. A later login can fail, or two long passwords can match, because only the prefix was kept. This page cannot detect truncation. If a site never states a maximum, a long password is still the right default. If login then fails, set a shorter length and generate again, and assume the site kept a prefix.

Many current guidelines ask sites to accept long passwords, to allow paste, and to stop requiring a particular mix of symbols and capitals. Plenty of forms still do the opposite: a short maximum, a blocked paste, and a rule that a symbol must appear. Use the longest length the form will actually keep, and turn on the character types it demands. Do not raise the length and then edit the result by hand. Hand edits are where names, years, and keyboard walks creep back in. If the site refuses the password, change the settings and generate again.

Symbols, and when to leave them off

Symbols on this page are exactly these 13 characters: ! @ # $ % ^ & * _ - + = ? There is no list to edit, and no switch that drops look-alike characters. Letters and digits are the ordinary ASCII sets: 26 uppercase, 26 lowercase, and 10 digits. With all four types on, the pool has 75 characters. Turn symbols off and the pool has 62.

The list is narrow on purpose. The generator never inserts a space, quote, apostrophe, backslash, slash, period, comma, colon, semicolon, bracket, brace, tilde, pipe, or backtick. Those characters are a common reason a pasted password is rejected, trimmed, or misread by a shell, a spreadsheet, or an older form. Leaving them out avoids that class of trouble. It does not mean every site will accept the 13 symbols that remain. A bank, an airline, a payroll system, or a government portal may ask for “a symbol” and still refuse ^, &, or #. When that happens, click “Generate again”, or turn symbols off and add length. Deleting one character yourself, or swapping it for a word or a year, throws away the part that made the password random.

Turn symbols off when a person has to type the password rather than paste it. A Wi-Fi key entered on a television, a printer panel, or a phone with an awkward symbol keyboard is the usual case, and some routers reject particular symbols as well. Letters and digits carry slightly less randomness per character than the full set, and length makes up for it. Each character from the 75-character pool is about 6.2 bits, so the default 18 is roughly 112 bits, and 12 characters from that pool are about 75 bits. Each character from the 62-character pool of letters and digits is just under 6 bits: 18 of them are about 107 bits, and 20 of them are about 119 bits. For something you must type, a longer password without symbols is both easier and harder to guess than a short password crowded with symbols.

Digits alone are a different bargain. Ten digits hold about 3.3 bits each. Eight digits is about 27 bits, small for an account password, and the hint stays up. The hint clears for digits only once the password reaches 20 characters, about 66 bits. A single letter case is 26 characters, about 4.7 bits each; the hint stays through 13 characters and clears at 14. Symbols alone are 13 characters, about 3.7 bits each, and need 18 characters to clear the same bar. If a site forces one of those narrow sets, use the longest length it allows. If it lets you mix letters and digits, do that instead of digits alone.

Look-alike characters stay in the pool: 0 and O, and 1, l, and I. Pasting makes that irrelevant. Reading the password aloud, or typing it from this screen into another device, does not. For those moments, one letter case plus digits, made longer, is less confusing than the full set. There is still no filter that strips the look-alikes, so check them if you have to dictate the password.

Some sign-up forms also block pasting into the confirmation box. A long password full of symbols is then easy to mistype. If you cannot paste, turn symbols off, pick a length you can type accurately, and compare the characters before you submit. Where the site allows a password manager to fill the form, that avoids the retyping. This page does not type into other sites for you.

One password per account

Creating an account is the ordinary case. Leave the length at 18, leave all four types on, copy the password into a password manager, and paste it into the site’s password field and its confirmation field. Generate again when the next account needs its own password. This page will not remind you of the previous one.

A random string like this is a poor thing to memorize and a good thing to store. Use a different password for each account. Reuse is the failure that shows up in practice: one leaked database, one phishing page, or one reused password opens the other accounts. A longer random password has more possible combinations, but no generator can see your other accounts, and this one does not compare its result with breach lists. It only makes a new string. It also cannot make the account, the website, or your device trustworthy. A unique password does not help if you approve a sign-in you did not start, if the site stores passwords carelessly, or if the computer in front of you is shared or compromised.

The few secrets you actually have to remember should not be this kind of string. The main password for a password manager, and sometimes a device login, have to live in your head or on paper you control. Several randomly chosen words are easier to type and to recall than 18 mixed characters. This tool does not build passphrases. If you generate a master password here anyway, copy it out before you leave, because the page keeps no history. Write it down and store the paper safely if you have nowhere else to put it. Emailing it to yourself, or dropping it in a chat, copies it to places this page no longer has anything to do with.

On a public or borrowed machine, prefer not to create a password you care about. Someone can read the screen, and a machine you do not administer may keep a clipboard history or run software you did not choose. Generate on a device you trust, then save the password in the manager.

Copy it, then leave on purpose

The clipboard belongs to your device, not to this page. After a copy, the password sits there until some other copy replaces it. A password manager watching for passwords, another app, a remote desktop, or a clipboard that syncs between your phone and your computer can all read it. The page does not clear the clipboard when you generate again, when “Copied” fades, or when you close the tab. Paste into the manager, then copy some harmless text if the device will not clear the clipboard itself.

Generating again, editing the length, or changing a character type replaces the password on screen and sets the caption back to the copy hint. It does not change a value you already copied. If the screen and the clipboard might disagree, copy again after the settings are final. Past 36 characters the type gets smaller so the password can wrap; that is only layout. Copy still takes every character.

Nothing generated here is stored. There is no list of earlier passwords, on the device or at DSOOU. Reload the page, follow a link, or close the tab and the string is gone. If you still need it, put it in the manager first. If you do not need it, choose “Generate again” before you go, so an unused password is not the last one left on screen. Do not move a password by putting it in the address bar, a screenshot, an email, or a chat message.

How the generator works

Each character is picked with your browser’s Web Crypto random number generator, crypto.getRandomValues, not with Math.random(). The browser supplies a 32-bit value. Wrapping that value straight into a pool of 75, or into any other pool size this page uses, would make a few characters slightly more likely, because a 32-bit range does not divide evenly by those sizes. The generator discards values in that leftover slice and draws again, so each draw is uniform across the pool it is using. The page does not ask DSOOU for a password, and the password is not sent as a tool request. After the page has loaded, another password does not need a round trip to the server. Building it locally removes the server as a place the password could be logged. It does not protect you from a malicious extension, from malware, or from someone looking at the screen. The password is visible in the page for as long as you leave it there.

Three steps shape the string. First the generator takes one character from each selected type, so a type you left on cannot be missing. Then it fills the rest of the length from the combined pool, so later characters may repeat a type. Then it shuffles the whole list with the same unbiased draw, so the required characters are not parked at the front. With all four types and the default length of 18, that is four characters reserved for the four types and fourteen drawn from all 75, then a shuffle. With only one type selected, every character comes from that type.

A practical estimate treats each position as a draw from the alphabet you selected. All four types are 75 characters, about 6.2 bits each, and 18 of them are roughly 112 bits. The “at least one of each type” rule removes the combinations that would have skipped a type. For a long password from a large pool, that slice is small, so 112 bits is the right order of magnitude. It is an estimate of the pool, and it is not a promise about your account. The hint under the password uses a simpler test on the same estimate: it shows “Try a longer password for more randomness.” when the length is under 12, or when the length times the bits per character is under 64. An 11-character password from the full set is already about 69 bits, and the hint still shows, because 11 is under 12. From 12 characters upward with all four types on, the hint stays hidden.

The generator does not build passphrases, pronounceable passwords, or a separate PIN mode. It does not offer a custom symbol set or a way to exclude ambiguous characters. The only password it shows is the one it just created, and the next change replaces it. Website access logs and any optional page analytics are described in the privacy policy. Those logs do not include the password, which stays in the browser.

Common questions

Is the password generated only on my device?

Yes. JavaScript on this page builds it with crypto.getRandomValues, the browser’s cryptographically secure random source. It is not sent to DSOOU, and no password history is kept, so copy the result before you generate another one or leave the page. Copying places it on your device’s clipboard. This page does not clear that clipboard afterwards.

How long should a password be?

For a password you save in a password manager, 16 characters or more with all four character types is a sensible baseline; this tool starts at 18 and allows up to 128. Longer is better when a site actually stores the whole password. If a site caps the length, use the longest it keeps — some older systems quietly store only a prefix. The page asks you to try a longer password when the result is under 12 characters or under about 64 bits. That line is a nudge about length and alphabet size. It does not look the password up in a breach list.

What makes a password strong?

It is random, long and used for only one account. Names, dates, keyboard patterns and reused passwords are much easier to guess, even when they look complex. This tool only creates new random passwords; it does not check passwords you already use or look them up in breach lists.

Should I use a passphrase or a random password?

A passphrase is several randomly chosen words. It is easier to type and remember, which suits the few passwords you need to memorize, such as the main password for a password manager. A random character password packs more randomness into each character and suits accounts saved in a password manager. This tool generates random character passwords only, not passphrases. If you generate a master password here anyway, save it somewhere else before you leave: the page will not remember it.

Can I generate a password without symbols?

Yes. Deselect symbols and keep the character types you need. The password updates as soon as you change a type, and at least one type must stay selected. When symbols stay on, the set is fixed at the 13 characters listed in the guide. A site that rejects one of them will reject some results: generate again, or leave symbols off and use a longer password. There is no control for a custom symbol list.

Why did the password change before I clicked Generate again?

A length from 8 to 128, and any change to the character types, builds a new password immediately so the screen matches the settings. Generate again is for a new password with those settings left alone. The previous password is not kept. If you had already copied it, the clipboard still holds the old value until you copy again or something else overwrites the clipboard.