Personvern · verktøy

Passordgenerator

Velg alternativer, lag et passord og kopier det. Ingenting lastes opp.

Kjøres i nettleseren. Ingen opplasting.

Generated locally with your browser's secure random generator.

Om verktøyet

Passordgenerator sem complicação.

Passordet genereres i nettleseren med Web Crypto API. Bruk aldri samme passord på flere kontoer.

Veiledning

Slik bruker du Passordgenerator

The Password Generator makes a random password in your browser. You pick a length from 8 to 64, choose which kinds of characters to allow, and press Generate. A label next to the result shows Strong, Good or a dash, from a simple count of bits. Every character is picked with the browser's Web Crypto random generator, not with Math.random. The password is never sent anywhere. It cannot remember the password for you and it cannot check whether a site accepts it, so keep the result in a password manager.

Slik gjør du

  1. Move the length slider. It runs from 8 to 64 and starts at 16. Longer is better where the site allows it.
  2. Tick the kinds of characters you want: uppercase, lowercase, numbers and symbols. All four start ticked. At least one must stay ticked.
  3. Tick Exclude similar characters if you will type the password by hand. It removes I, l, 1, O and 0.
  4. Press Generate password. The new password appears in the box with a short label: Strong, Good or a dash.
  5. Press Copy password and paste it into your password manager or the site's form. Generate again if the site rejects it.

Eksempler

The default settings

Du skriver inn
Lengde
16
Store bokstaver
ja
Små bokstaver
ja
Tall
ja
Symboler
ja
Utelat like tegn
nei
Du får
Tegnpott
85
Bit
102.6
Etikett
Strong
Resultat
16 random characters, each type used at least once

The sets hold 26 + 26 + 10 + 23 characters, so 85 in all. Each of the 16 spots draws from those 85. The label comes from 16 x log2(85), which is about 102.6 bits, and 70 or more is Strong. A different password appears each time, so the tool cannot show a fixed answer.

Kjørt med verktøyets egen kode.

Short and long with all four types

Du skriver inn
Lengder
8; 12
Store bokstaver
ja
Små bokstaver
ja
Tall
ja
Symboler
ja
Utelat like tegn
nei
Du får
8 tegn
about 51.3 bits, Good
12 tegn
about 76.9 bits, Strong

The pool is 85 characters, so each character adds about 6.41 bits. Eight characters reach the Good level of 40 bits, and twelve pass the Strong level of 70 bits. The label does not test the password against leaked lists.

Kjørt med verktøyets egen kode.

Exclude similar characters

Du skriver inn
Lengde
12
Store bokstaver
ja
Små bokstaver
ja
Tall
ja
Symboler
nei
Utelat like tegn
ja
Du får
Tegnpott
57
Forbudte tegn
I l 1 O 0
Bit
69.99
Etikett
Good

Uppercase drops from 26 to 24, lowercase from 26 to 25 and numbers from 10 to 8. That leaves 24 + 25 + 8 = 57 characters to draw from. The code strips I, l, 1, O and 0 from each ticked set before any character is drawn. 12 x log2(57) is 69.99 bits, just under 70, so the label is Good, not Strong.

Kjørt med verktøyets egen kode.

Digits only is a small pool

Du skriver inn
Lengde
8
Store bokstaver
nei
Små bokstaver
nei
Tall
ja
Symboler
nei
Utelat like tegn
nei
Du får
Tegnpott
10
Mulige kombinasjoner
100000000
Bit
26.6
Etikett
—

Eight digits give 10 to the power of 8, which is 100 million possible strings, or about 26.6 bits. That is below 40 bits, so the label shows a dash. Use digits only when a site forces you to, and then choose a much longer length.

Kjørt med verktøyets egen kode.

One letter makes the difference

Du skriver inn
Lengder
14; 15
Små bokstaver
ja
Store bokstaver
nei
Tall
nei
Symboler
nei
Du får
Tegnpott
26
14 tegn
about 65.8 bits, Good
15 tegn
about 70.5 bits, Strong

Lowercase letters give 26 choices, or about 4.70 bits per character. Fourteen letters fall just short of 70 bits and fifteen pass it. The labels move at fixed bit counts, so one more character can change the label.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Create a new password for an account when you sign up, and save it straight into a password manager.
  • Replace a password you reused on several sites with a different random one for each.
  • Make a random Wi-Fi password to share with guests, using the exclude similar option so it is easy to read out.
  • Produce a random value for a test account or a temporary login.
  • Get a starting string for a site that insists on a mix of upper case, lower case, numbers and symbols.

Begrensninger

  • Length is limited to 8 to 64 characters. The tool makes one password at a time and does not make word-based passphrases.
  • The symbol set is fixed: ! @ # $ % ^ & * ( ) - _ = + [ ] { } : , . ? /. A site that bans some of these will reject the result, so untick Symbols or generate again.
  • The label is length times log2 of the number of allowed characters: 70 bits or more is Strong, 40 or more is Good, and less shows a dash. It does not test the password against lists of leaked or common passwords.
  • NIST's password rules call for at least 15 characters when a password is the only login step. Passwords of 8 to 14 characters are meant for accounts that also use a second factor. A Strong label does not mean this rule is met: 11 characters with all four types already show Strong.
  • The tool does not save passwords. If you close the page without copying it, that password is gone.

Tips

  • Use a password manager so you only need to remember one strong master password and never reuse the others.
  • Pick 16 or more characters when the site lets you, and go longer for accounts that matter most, such as email.
  • Turn on two-step login wherever it is offered. A good password and a second factor protect each other.
  • Do not email or message a password to yourself. Paste it straight into the manager.
  • Change a password at once if a site tells you it was part of a leak.

Kilder

Vanlige spørsmål

Sobre Passordgenerator.

What random source does this password generator use?

It calls crypto.getRandomValues, the browser's Web Crypto function, and never Math.random. To pick from a list it rejects numbers that would favor some characters, so each allowed character has an equal chance. The shuffle at the end uses the same source.

Is the password sent to a server?

No. The page says it is generated locally in your browser, and nothing is uploaded. The password exists only in the box on your screen until you copy it. Be careful when copying on a shared or public computer, where the clipboard may be visible.

How long should my password be?

NIST's current guidance for passwords used alone says at least 15 characters. A password used with a second login step can be shorter, with eight as the lowest limit. Where a site allows it, longer is better. The slider goes up to 64.

Do I need uppercase, numbers and symbols?

Not for safety in general. NIST says sites must not require mixes of character types and that length matters more. Some sites still demand them, which is why the tool offers all four. Leave the boxes ticked when a site asks for a mix.

What do the Strong and Good labels mean?

They come from one number: the length times log2 of how many different characters are allowed, which counts bits for random characters. 70 or more shows Strong, 40 or more shows Good, and less shows a dash. With all four types ticked, 8 characters is Good and 11 or more is Strong. It is a rough guide.

Why does the tool always include every type I tick?

The code first takes one random character from each ticked set. It then fills the rest from the combined pool and shuffles everything. That makes sure a site that insists on one of each kind will accept the result. It slightly narrows the possible outputs.

What does Exclude similar characters do?

It removes I, l, 1, O and 0 from the sets before drawing. Those characters look alike in many fonts. It helps when you must read or type the password by hand. It makes the pool a little smaller, so add a few characters of length.

Can this password be cracked?

Any password can be guessed in theory. A random one of enough length makes guessing by machine very costly, but no tool can promise it will never be found. Real risks are often reuse, phishing and leaks. A unique password per account and a second login step reduce them.

Where should I store the password?

Use a reputable password manager. OWASP's guide for site builders says sites should allow pasting into password fields so managers can work. If you cannot use a manager, do not reuse one password across sites, and keep any written copy somewhere private.

Why do some sites reject my generated password?

Some sites set a maximum length, ban certain symbols, or block spaces and other characters. Try fewer symbols, a shorter length or untick Symbols. Also check that the site did not cut the password when you pasted it.

Hvordan bruker du Passordgenerator?

Velg alternativer, lag et passord og kopier det. Ingenting lastes opp.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.