Combinations and Permutations Generator
Generate combinations, permutations, selections with repetition, or Cartesian products from pasted lists with exact counts and safe output limits.
Generate selections safely without accidental output explosions
Combinations ignore order, while permutations treat different orders as different outcomes. Repetition modes allow an input value to appear more than once in one generated result.
The exact result count is calculated before generation. A configurable hard limit prevents enormous result sets from locking the browser.
Combinations and Permutations Generator FAQ
What is the difference between combinations and permutations?
In combinations, red plus blue is the same selection as blue plus red. In permutations, those two orders are different.
What does Cartesian product mean?
It chooses one value from each separate input group and generates every possible cross-group tuple.
Why was my output truncated?
The exact possible count exceeded your selected generation limit. Increase the limit carefully or reduce the input size.
Continue working with your data
Parse JSON arrays and safe JavaScript, Python, or PHP-style scalar arrays into text lines, CSV, or a custom-delimited list without executing code.
JSON to TypeScript and ZodInfer TypeScript interfaces, type aliases, and Zod schemas from JSON objects or arrays using every sample record and explicit conflict diagnostics.
JSON and PHP Array ConverterConvert nested JSON to modern or legacy PHP array syntax and safely parse supported PHP scalar arrays back to JSON without executing code.
Compare ListsCompare two lists and find values only in A, only in B, shared values, union, or symmetric difference with configurable matching rules.