← Lösenord och säkerhet

Lösenord / säkerhetsverktyg

Slumpmässig stränggenerator

Generera slumpmässiga strängar med en förinställd eller anpassad teckenuppsättning.

Körs i din webbläsare

Längd: 1–1 024 tecken. Batch: 1–100 strängar, upp till 10 000 tecken totalt. En anpassad uppsättning behöver 2–256 distinkta tecken utan blanksteg eller kontrolltecken. Dubletter ignoreras.

Varje tecken väljs med en kryptografisk slumpmässig källa och avvisningssampling för att undvika partiskhet. Styrkan beror på längden och teckenuppsättningen du väljer. Resultat genereras endast när du trycker på knappen.

English guide · Ghid în română

Practical guide

Create random strings with a preset or custom alphabet for test data and application identifiers. Choose an alphabet that the receiving system can store without alteration.

Steps that matter

  1. Set the length, quantity and allowed character set.
  2. Generate and check whether case sensitivity or punctuation affects the destination.
  3. For production tokens, also implement expiry, permissions and secure storage in your application.

Worked example

With 16 possible hexadecimal characters and 8 independent positions, there are 16⁸ = 4,294,967,296 possible strings. This counts possibilities; it does not guarantee uniqueness for a generated batch.

Check before using the result

  • Short strings and small alphabets have fewer combinations. Enforce uniqueness where your application requires it.
  • A generated string alone is not a complete session or API-key design. Do not treat an example value from a guide as a secret.