Skip to content
TextArray
100% local

Permutation generator

List every ordering of your items — full permutations, k-permutations or letter anagrams.

Input
Output

Permutation generator

Paste a list, one item per line, and get every possible ordering, one permutation per line. Unlike combinations, order matters here: red–green–blue and blue–green–red are two different results. Three items give 6 orderings, four give 24, five give 120 — the tool computes the count up front and shows it in the live tally, so you always know what you are about to generate.

The size option turns full permutations into k-permutations: from ten candidates, size 3 lists all 720 ways to fill first, second and third place. With repetition switches to positional tuples, where the same item may appear more than once — n^k results, useful for enumerating PIN-style sequences or test inputs. The letters mode permutes the characters of a single word instead of lines, which is the classic anagram expansion: pasting "cat" yields act, atc, cat, cta, tac, tca. Separators are configurable — comma, space, tab, nothing, or a custom string with \t escapes.

Factorials explode quickly, and the tool is honest about it: it computes the exact count before generating anything, and when the result would blow past the 10 MB output limit it refuses with the count in the message instead of freezing the tab. Duplicate items are removed by default so a repeated line does not silently multiply the output.

Typical uses: brute-force orderings for scheduling puzzles, exhaustive test-case orders, seating or ranking enumeration, anagram exploration. Everything runs locally in your browser — your lists never leave your device.

FAQ

What is the difference between permutations and combinations?
Order. Combinations treat red–blue and blue–red as one selection; permutations count them separately. If you only need which items are picked, not their order, use the combination generator instead.
How many permutations will my list produce?
Without repetition, n items at size k give n·(n−1)·…·(n−k+1) results — all n items means n!, so 10 items already yield 3 628 800. The tally shows the exact count, and oversized requests are refused with the number in the message.
What does "with repetition" change?
Each position may reuse any item, so the count becomes n^k. Two items at size 3 give 8 tuples: aaa, aab, aba, abb, baa, bab, bba, bbb.
Does letters mode treat repeated letters as identical?
Repeated letters are deduped by default, so "moon" permutes m, o, n. Turn off duplicate removal to keep both o's — the output then contains identical-looking anagrams, because the two o's are distinct positions.
Is my list uploaded anywhere?
No. Generation runs entirely in your browser and your data never leaves your device.