Skip to content
Text Mechanic
Merge & Compare

Cartesian Product

Produce every combination taking one line from each list.

Produces every combination taking one line from each list — all sizes crossed with all colours, every environment crossed with every region. The row count is the product of the list lengths, so it grows very fast; the estimate above the editors tells you the size before anything is generated.

Options

Placed between the values taken from each list.

Off varies the last list fastest, like an odometer.

Hard ceiling of 500,000.

List A
0lines0words0characters0 B
List B
0lines0words0characters0 B

2 of up to 6.

Output
0lines0words0characters0 B

Options explained

  • SeparatorPlaced between the values taken from each list.
  • Vary the first list fastestOff varies the last list fastest, like an odometer.
  • Maximum rowsHard ceiling of 500,000.