Lösenordsgenerator
Ord från detta fält ersätter standardordlistan. Du kan ange ord på vilket språk som helst.
Introduktion
Toollect Lösenordsgenerator är ett webbläsarbaserat säkerhetsverktyg som skapar starka, kryptografiskt slumpmässiga lösenord och lösenordsfraser. Den är till för alla som behöver säkra inloggningsuppgifter — från vanliga användare som hanterar flera onlinekonton till säkerhetsmedvetna yrkespersoner som kräver granskningsbar lösenordsgenerering.
Weak passwords remain the leading cause of account compromise. The Toollect Password Generator eliminates human bias from password creation by using the Web Crypto API's cryptographically secure random number generator. Every password is produced from true entropy, not predictable algorithms or human patterns.
Unlike server-based password tools that transmit your potential credentials over the network, the Toollect Password Generator operates entirely within your browser. No data is sent to any server, stored in any database, or logged in any session. This privacy-first approach ensures that your generated passwords remain known only to you.
Hur det fungerar
The Password Generator operates in two distinct modes, each powered by cryptographically secure random number generation.
Slumpmässigt-läge
In Random mode, the generator builds a password character by character from your selected character sets:
-
Character selection pool: The generator combines your chosen sets — uppercase letters (A-Z), lowercase letters (a-z), digits (0-9), and symbols (!@#$%^&*). You may also enable the "Exclude ambiguous" option to remove characters that are easily confused (i, l, 1, L, o, 0, O).
-
Guaranteed coverage: The generator ensures at least one character from each selected set appears in the final password. This prevents passwords like "AAAAAAAA12" when you selected uppercase, lowercase, and digits — even random selection must include each type.
-
Cryptographic randomness: Each character is selected using
crypto.getRandomValues(), which draws from the operating system's entropy sources. This is the same source used by TLS/SSL and disk encryption systems. -
Fisher-Yates shuffle: After assembly, the password undergoes a unbiased Fisher-Yates shuffle to randomize character order, eliminating any positional bias from the guaranteed-coverage step.
Lösenordsfras-läge
Passphrase mode uses a curated word list rather than individual characters:
-
Word list: The built-in list is the EFF Short Word List #1 (1296 short, common English words). Each word contributes approximately 10.3 bits of entropy (log2(1296)).
-
Custom words: You may supply your own words via the custom words field. The generator uses your words instead of the default list, enabling passphrases in any language.
-
Assembly: The generator randomly selects the requested number of words, optionally capitalizes each, joins them with your chosen separator, and appends a random digit and/or symbol if configured.
Styrkeberäkning
Password strength is measured in bits of entropy:
- Random passwords: entropy = length × log2(charset size)
- Passphrases: entropy = word count × log2(word list size)
Styrka mäts i bitar entropi: Svagt (0-29), Hyfsat (30-49), Bra (50-69), Starkt (70-99), Mycket starkt (100+).
Användning
Using the Toollect Password Generator requires no setup or registration. Follow these steps:
-
Välj läge — Select either Random or Passphrase using the tabs at the top of the tool.
-
Konfigurera Slumpmässigt:
- Adjust the length slider (8-128 characters)
- Check or uncheck character sets: Uppercase, Lowercase, Numbers, Symbols
- Optionally enable "Exclude ambiguous characters" to remove easily confused characters
-
Konfigurera Fras:
- Adjust the word count slider (3-12 words)
- Select a word separator (Space, Hyphen, Underscore, Dot, or None)
- Optionally enable Capitalize, Add a random number, or Add a random symbol
- Optionally enter custom words in the text area to replace the default word list
-
Generera — Click the Generate button. A password or passphrase appears in the output area.
-
Check strength — Review the strength indicator below the password to evaluate its security level.
-
Kopiera — Click Copy to copy the password to your clipboard, then paste it into your account registration or password manager.
-
Clear to reset — Click Clear to reset the output and start over.
Tutorial
This tutorial walks through two complete workflows — creating a random password for a social media account and creating a passphrase for your email.
Scenario 1: Slumpmässigt lösenord för sociala medier
-
Open the Password Generator. The tool opens in Random mode by default.
-
Set the length to 16 by dragging the slider. The current value displays next to the Length label.
-
Ensure the following checkboxes are checked: A-Z (Uppercase), a-z (Lowercase), 0-9 (Numbers). Leave Symbols unchecked — many social media platforms accept alphanumeric passwords.
-
Check "Exclude ambiguous characters" to prevent confusion between similar-looking characters like
1(one) andl(lowercase L). -
Click Generate. A 16-character password appears in the output area. The strength indicator should display "Strong" or "Very Strong".
-
Click Copy to copy the password. Paste it into your social media account's password field.
-
Click Clear to reset when you are satisfied.
Scenario 2: Lösenordsfras för e-post
-
Switch to Passphrase mode by clicking the Passphrase tab.
-
Set the word count to 5. A 5-word passphrase from the EFF word list provides approximately 51 bits of entropy.
-
Select "Space" as the word separator for the classic xkcd-style passphrase format.
-
Check "Capitalize each word" and "Add a random number". Leave "Add a random symbol" unchecked — most email services accept alphanumeric passwords with spaces.
-
Click Generate. A passphrase like "Plank Lunch Quilt Ivory Sunset7" appears.
-
Review the strength — it should show at least "Strong" for 5 words.
-
Click Copy and use the passphrase for your email account. The spaces and capitalization make it easier to type correctly on both desktop and mobile devices.
Proffstips
-
Use passphrases for master passwords: Your password manager's master password is the single most important credential you manage. Use Passphrase mode with 6-7 words for a master password that is both secure and memorable.
-
Match password length to account sensitivity: Use 8-12 characters for low-risk accounts (forum registrations, newsletters), 14-20 characters for standard accounts (social media, shopping), and 24+ characters for high-value accounts (email, banking, password manager).
-
Combine modes for Wi-Fi passwords: Generate a random password of 20+ characters for your Wi-Fi network. Wi-Fi passwords are entered once and stored on devices, so memorability is not important — maximum entropy is.
-
Leverage custom words for personal passphrases: In Passphrase mode, enter words from your own life (pet names, street names, hobbies) in the custom words field. The generator creates a passphrase from words you already know, making it nearly impossible to forget.
-
Generate multiple passwords at once: Click Generate repeatedly to produce several candidate passwords. Compare them and pick the one that is easiest for you to use while maintaining the desired strength level.
-
Use the strength indicator as a minimum threshold: Aim for at least "Strong" (70+ bits of entropy) for any password protecting sensitive data. "Very Strong" (100+ bits) is appropriate for encryption keys and master passwords.
Alternativ
While the Toollect Password Generator excels at browser-based password creation with privacy-first processing, several alternatives exist for different use cases.
| Verktyg | Bäst för | Begränsningar |
|---|---|---|
| Toollect Generator | Webbläsare, fraser, integritet | Internet för laddning |
| Inbyggd hanterare | Synkronisering enheter | Bunden till ekosystem |
| Diceware manuellt | Isolerade miljöer | Kräver fysiska tärningar |
| Command-line tools (openssl rand, pwgen) | Scripted generation in development environments | No GUI, requires terminal access, no strength visualization |
| xkcd-style method | Creating memorable passphrases manually | Relies on human randomness, which is predictable and biased |
| Online password generators | Quick generation without installation | Privacy risk — passwords are transmitted over the network |
For most users who need instant, secure, and private password generation with the flexibility of both random and passphrase modes, the Toollect Password Generator offers the best balance of features, security, and convenience.
Felsökning
| Problem | Orsak | Lösning |
|---|---|---|
| Tvetydiga tecken | Alternativ inaktiverat | Aktivera uteslutning |
| Svagt vid kort | Längd < 10 | Öka längden |
| Kopiera fungerar inte | Behörighetsproblem | Använd Ctrl+C |
| Passphrase uses unexpected words | Custom words field is empty, defaulting to EFF word list | The tool defaults to the English EFF list. Fill in the custom words field with your own words |
| Cannot type in the output field | The output field is read-only by design | Click Generate to create a password, then use the Copy button |
| Generated password is rejected by a website | Website has specific character restrictions | Check the website's password policy and adjust character sets accordingly. Try disabling Symbols |
| Passphrase exceeds maximum length allowed by a service | Word count or separator choices produce a very long string | Reduce word count, use "None" separator, or switch to Random mode with a shorter length |
| The tool does not work offline | The page must be loaded first while online | Load the page while connected to the internet. Once loaded, it works offline for that session |
Tekniska specifikationer
The Toollect Password Generator is engineered for security, performance, and broad compatibility.
Performance Benchmarks
| Password Length | Generation Time | Memory Usage |
|---|---|---|
| 16 characters | < 1 ms | < 1 MB |
| 64 characters | < 1 ms | < 1 MB |
| 128 characters | < 2 ms | < 1 MB |
Technical Details
- Random Number Generator:
crypto.getRandomValues()(Web Crypto API) — cryptographically secure, backed by operating system entropy - Word List: EFF Short Word List #1 (1296 words), embedded in the application code
- Shuffle Algorithm: Fisher-Yates (unbiased, O(n))
- Strength Algorithm: Entropy-based calculation: For random passwords, entropy = length × log2(charset size). For passphrases, entropy = word count × log2(1296).
- Strength Thresholds: Weak 0-29, Fair 30-49, Good 50-69, Strong 70-99, Very Strong 100+ bits
- Clipboard API:
navigator.clipboard.writeText()with visual feedback - Event Model: Button click triggers generation; slider inputs update configuration in real-time
Browser Compatibility
| Browser | Minimum Version | Status |
|---|---|---|
| Google Chrome | 80+ | Full support |
| Mozilla Firefox | 75+ | Full support |
| Apple Safari | 13+ | Full support |
| Microsoft Edge | 80+ | Full support |
| Samsung Internet | 13+ | Full support |
| Opera | 67+ | Full support |
Privacy & Security
- Zero data transmission: all password generation occurs in the browser's memory
- No cookies, localStorage, or sessionStorage used
- No analytics or tracking scripts on the tool page
- Fully functional in offline mode after initial page load
- No registration, login, or API keys required
- Uses cryptographically secure random number generation (not Math.random())
Funktioner
- Slumpmässig lösenordsgenerering med konfigurerbar längd (8-128) och teckenuppsättningar
- Lösenordsfrasläge med EFF-ordlista för minnesvärda men säkra lösenord
- Stöd för anpassade ord på valfritt språk
- Realtidsstyrkeindikator baserad på entropiberäkning
- Kryptografiskt säker slumpgenerering (crypto.getRandomValues)
- 100% klientbaserad bearbetning utan dataöverföring