Combination builder
Generate pairs, Cartesian products or combinations from lists.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Use two lists for a Cartesian product or the first list for combinations and permutations.
- Combinations disregard order; permutations retain it.
- 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 & listsText-between extractor
Extract each piece of text between a pair of delimiters.
Remove duplicate lines
Remove repeated lines while retaining their original order.
List chunker
Split a long list into fixed-size groups or separate text files.
List comparer
Find shared, missing and combined items across two lists.
List shuffler
Randomise the order of lines using unbiased cryptographic randomness.
Sort a list
Sort lines alphabetically, naturally or as numbers.
Delimiter converter
Turn lines or separated values into SQL lists, arrays and custom delimited text.
Random word generator
Draw random English words for prompts and word games, with length, starting-letter and no-repeat filters.
Text diff
Compare two texts and produce a readable unified line diff.