Combination generator
Generate every combination of k items from a list, with or without repetition.
Related tools
Combination generator
Paste a list with one item per line, pick a combination size, and the tool prints every combination of that size. Combinations ignore order: from a, b, c at size 2 you get "a, b", "a, c" and "b, c" — never "b, a", because that is the same pair. Use it to draw up round-robin fixtures, list every pairing of test variants, build tasting flights, enumerate lottery tickets, or work out which subsets an experiment has to cover.
The size field is the k in "n choose k". Turn on "Allow repetition" to switch from plain combinations to multisets, where an item may appear more than once inside one line — that is what you want for dice rolls, topping choices or anything where the same option can be picked twice. "Remove duplicate items" cleans your list before combining, so a value pasted twice does not quietly double every row. The separator controls how items are joined on each line: comma, space, tab, nothing at all, or your own string, where \t stands for a tab.
Combination counts grow fast — 40 items at size 5 is already 658,008 rows, and 60 items at size 5 runs to millions. The tool therefore counts the combinations before generating a single line. If the result would pass the 10 MB output limit it names the exact count and stops instead of freezing the tab, so you can lower the size or shorten the list and try again.
Everything runs inside your browser and your list is never uploaded, which keeps product codenames, customer names and unreleased SKUs on your own device. The tally under the output shows how many items you gave it and how many combinations came back, and it recomputes live as you type.