⚙ Text Mechanic

Permutation Generator

Calculate and generate all unique permutations of words, lines, or items. Set custom item separators and output formatting.

How to Use Permutation Generator

  1. Enter Items: Enter items separated by lines, commas, or spaces.
  2. Select Delimiters: Choose the input separator and how permutations should be formatted.
  3. Generate Permutations: Click Generate to calculate and display every distinct permutation.

Key Features & Capabilities

  • Exact Mathematical Factorial: Computes total permutations (N!) and displays exact counts.
  • Unique Permutations: Deduplicates identical permutations if input items contain repeats.
  • Safety Safeguards: Includes safe computation limits to prevent browser lockups on large lists.
  • 100% In-Browser Privacy: Your text never leaves your device or touches an external server.

Common Use Cases

  • Password & Security Testing: Generate word combinations for testing dictionary attacks and entropy.
  • Math & Logic Puzzles: Solve anagrams, schedule orderings, and combinatorics homework problems.

Frequently Asked Questions

How many permutations are generated for 4 items?
For 4 unique items, there are 4! = 4 × 3 × 2 × 1 = 24 unique permutations.
Why is there a limit on input items?
Factorials grow exponentially (e.g. 10! is 3.6 million combinations), so limits protect your browser memory.

Related Text Utilities

Combination Generator
Generate all unique subsets and combinations (n choose k)
Shuffle / Randomize Lines
Randomize the order of lines using the Fisher-Yates shuffle algorithm
Random Line Picker
Draw random winners, sample lines, or select items with or without replacement
Word Scrambler / Anagram
Scramble internal letters of words or randomize word ordering within lines