Gratis å bruke, uten konto

Tilfeldig laggenerator

Lag balanserte lag fra en navneliste. Legg til personer som ikke skal være på samme lag, og bruk samme startverdi på nytt for å gjenskape trekningen.

Oppgi ett par per linje, for eksempel: Alex | Sam. Navnene må samsvare med listen ovenfor.

La feltet stå tomt for en ny tilfeldig trekning. Bruk samme frø med de samme navnene, lagantallet og reglene for å gjenskape de samme lagene.

Kjøres lokalt i denne nettleseren. Ingen konto, opplasting eller serverbehandling.

Hvordan lager jeg tilfeldige lag?

Skriv inn 2–60 navn, velg 2–12 lag, og oppgi eventuelt par som skal holdes adskilt med «Navn A | Navn B». Generer lag for å balansere størrelsene. La frøet stå tomt for en ny trekning, eller oppgi et frø for å gjenskape et resultat.

Veiledning

Slik bruker du Tilfeldig laggenerator

This page splits a list of names into random teams. You paste one name per line, choose how many teams you want, and press the button. Team sizes come out as even as possible. You can also name pairs who must land on different teams, and you can reuse a seed to get the same split again. It handles from 2 up to 500 names and from 2 to 12 teams. It does not rate skill, so the teams are even in size only.

Slik gjør du

  1. Type or paste the names into the first box, one name on each line. Names can be up to 80 characters, and no two may match, even in different letter case.
  2. Set the number of teams, from 2 to 12. You cannot ask for more teams than there are names.
  3. If some people must be kept apart, write one pair per line in the second box, such as Alex | Sam. Spell each name as it is in your list.
  4. Leave the seed box empty for a fresh draw, or type your own text in it. Then press Generate teams.
  5. Use Copy teams for plain text or Download CSV for a spreadsheet file. Note the seed shown under the teams if you want to repeat the draw.

Eksempler

Eight people, two teams, one pair kept apart

Du skriver inn
Navn
Alex, Sam, Jordan, Taylor, Morgan, Riley, Casey, Jamie
Lag
2
Hold adskilt
Alex | Sam
Frø
demo-1
Du får
Lag 1
Alex, Taylor, Morgan, Casey
Lag 2
Sam, Jordan, Riley, Jamie

Eight names over two teams gives four and four, and Alex and Sam are on different sides. With the seed demo-1 the same input gives this split again. The Load example button uses the same names and an empty seed.

Kjørt med verktøyets egen kode.

Ten people into three teams

Du skriver inn
Navn
Ana, Ben, Cal, Dee, Eli, Fay, Gus, Hal, Ivy, Jon
Lag
3
Frø
week-7
Du får
Størrelser
3, 3 and 4
Lag 3
Cal, Ivy, Hal, Dee

Ten does not divide by three, so one team gets the extra person. Sizes never differ by more than one. Which team is the larger one depends on the seed, here the third.

Kjørt med verktøyets egen kode.

A large group: 500 names into 12 teams

Du skriver inn
Navn
Person 1 to Person 500
Lag
12
Frø
big-1
Du får
Lagstørrelser
eight teams of 42 and four teams of 41
Hver person én gang
500

500 divided by 12 is 41 with 8 left over. Those 8 extra people go to 8 different teams. Every person appears exactly once, so 8 times 42 plus 4 times 41 equals 500.

Kjørt med verktøyets egen kode.

Rules that cannot be met

Du skriver inn
Navn
A, B, C
Lag
2
Hold adskilt
A | B, B | C, A | C
Du får
Melding
These rules cannot fit into the chosen number of teams. Add teams or remove some rules.

Three people who must all be apart need at least three teams. With only two teams, one pair has to share, so the tool stops and says so instead of breaking a rule.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Dividing a class, club or workshop into groups for a game or a project.
  • Forming sports teams for a casual match with a quick, neutral draw.
  • Splitting event guests or volunteers into shifts or tables while keeping some people apart.
  • Making work breakout groups with a seed that can be shown to others as proof of the draw.
  • Running a party game where friends are sorted into rival sides.

Begrensninger

  • It accepts 2 to 500 names, with up to 12 teams. Each name is at most 80 characters and cannot contain a vertical bar.
  • Teams are matched on size only. The tool has no idea of skill, age, height or any other trait.
  • It can only keep pairs apart. It cannot force people to be together, and it allows up to 2,000 pairs.
  • With very tight rules it may stop searching and ask you to add teams or drop rules, even if a solution exists.
  • The seed fixes the result only for the same names, order, team count and rules. Change any of them and the split changes.
  • A team count outside 2 to 12, or higher than the number of names, gets only the general message to check the names, number of teams and keep-apart pairs. It does not say which of them is wrong.

Tips

  • Check the seed box before you press the button again. After a draw it holds the seed that was used, so another press repeats the same teams until you clear it.
  • Copy the seed with the teams. Anyone with your list, rules and seed can reproduce the draw and check it.
  • If a rule seems to break, check the spelling first. A name in a pair must match a name in the list, though letter case does not matter.
  • For uneven groups, pick a team count that divides your list evenly when you want equal sizes.

Vanlige spørsmål

How many names can the random team generator handle?

From 2 up to 500 names, one per line, with 2 to 12 teams. Older text on the page mentions a smaller limit, but the tool itself accepts a list of 500. Each name can be up to 80 characters long.

Are the teams the same size?

As close as possible. Sizes differ by at most one person. If the number of names does not divide evenly, a few teams get one extra member. Which teams are the larger ones is picked by the draw.

How do I keep two people on different teams?

Use the second box and write one pair per line, with the two names separated by a vertical bar, like Alex | Sam. Each name must be in your list. Letter case is ignored. The tool checks the rules before it shows any result.

What is the seed for?

It starts the random process. The same seed with the same names, team count and rules gives the same teams again. Leave the box empty and the page makes a new seed for you and shows it under the results.

Why did I get the same teams twice?

After a draw, the seed box is filled with the seed that was used. Pressing Generate teams again then repeats that draw. Clear the seed box to get a fresh random split, or press Reset to start over.

What happens if the number of teams is not valid?

If the count is below 2, above 12, not a whole number or larger than the number of names, the page shows the general message Check the names, number of teams, and keep-apart pairs. It does not name the team count, so check that box first, then the names and the seed.

Can I make teams based on skill level?

No. The page only looks at names and your keep-apart pairs. For skill-balanced teams you would have to split the list into levels yourself and run each level through the tool in turn.

What does the CSV file contain?

One row per person with the team label, the name and the seed, under a header row. It is saved as random-teams.csv. Names that start with an equals sign, plus, minus or at sign get a leading quote so a spreadsheet will not treat them as a formula.

Are the names uploaded or saved?

No. The page says it runs in your browser, with no account, upload or server work, and that names and rules are not saved. Copying or downloading the result is something you choose to do yourself.

Hvordan lager jeg tilfeldige lag?

Skriv inn 2–60 navn, velg 2–12 lag, og oppgi eventuelt par som skal holdes adskilt med «Navn A | Navn B». Generer lag for å balansere størrelsene. La frøet stå tomt for en ny trekning, eller oppgi et frø for å gjenskape et resultat.

Lastes navn opp eller lagres?

Nei. Laginndelingen lages i nettleseren. Navn og regler lastes ikke opp eller lagres av denne siden.

Kan jeg plassere to personer på forskjellige lag?

Ja. Skriv ett par per linje i det valgfrie feltet for regler, og bruk de nøyaktige navnene fra listen adskilt med en loddrett strek. Generatoren kontrollerer reglene før resultatet vises.

Kan jeg få de samme lagene igjen?

Ja. Kopier det viste frøet, og bruk det igjen med de samme navnene, lagantallet og reglene. Et tomt frø gir en ny trekning.