Combination builder

Generate pairs, Cartesian products or combinations from lists.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.
Open a second UTF-8 text file5 MiB maximum. The file opens in the second text box.Or drop a file here.

Options

Options
Combinations ignore order; permutations treat each order as different. Cartesian product pairs each item from the first list with each item from the second.

How to use this tool

  1. Use two lists for a Cartesian product or the first list for combinations and permutations.
  2. Combinations disregard order; permutations retain it.
  3. Choose the number of items and separator.

Things to know

  • Output is limited to 10,000 combinations to prevent accidental memory exhaustion.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
  • Line-based modes accept up to 100,000 lines, including a trailing empty line.
  • Output is limited to 25 MiB of UTF-8 text. Shorten the input, separators or replacement settings if it exceeds the limit.

You might also need

More in text & lists