# Divide a List into Groups > Divide a list into groups after shuffling the entries. Create fixed-size groups or random-sized groups, then copy the groups separated by blank lines. **Divide a list into groups** after shuffling its entries. Choose a fixed number of elements per group or let the tool produce groups of varying sizes for informal assignments and sample batches. ## Overview & Metadata - **Canonical URL:** https://million.tools/split-list-into-groups/ - **Markdown Copy (.md.txt):** https://million.tools/split-list-into-groups.md.txt - **Plain Text Copy (.txt):** https://million.tools/split-list-into-groups.txt - **API Endpoint:** https://million.tools/api/v1/run/split-list-into-groups (POST, Keyless, 60 req/min) - **SEO Title:** Divide a List into Groups Online | Random List Groups - **Alternative Names:** Random List Groups, Group Shuffled List Items, split a list into groups, random group generator, group list items - **Category:** [Merge and split](https://million.tools/merge-and-split/) - **Application Category:** `UtilitiesApplication` - **Platform:** Web (All modern desktop and mobile browsers, requires JavaScript) - **Price:** Free ($0.00 USD, no registration or sign-up required) - **Live Calculation:** Supported (`Auto / Live` toggle enabled by default) - **Usage Statistics:** 3 uses · 508 views - **Published:** 2026-10-30 - **Last Updated:** 2026-10-30 - **Author:** Egor Volchenko (Developer & Author) ## Key Features - Shuffle source entries before grouping - Choose a fixed number of elements per group - Optionally produce random-sized groups - Separate output groups with blank lines - Copy each result output - Clear text fields without resetting options ## Parameters & Interface Controls ### Input Parameters & Options - `count`: Number. Elements per group - `input_text`: Insert list. - `random`: Boolean. Divide into random-sized groups. ### Output Fields & Metrics - `result`: Result. - **Controls:** `Divide`, `Clear`, `Copy`, `Fill test data`, `Auto / Live` ## Interactive Example (Test Vector) **Insert list:** ```text Alexander Smith Emily Johnson Michael Brown Sarah Davis Daniel Wilson Emma Taylor ``` **Result:** ```text Alexander Smith Emily Johnson Michael Brown Sarah Davis Daniel Wilson Emma Taylor ``` ## How to use Divide a List into Groups Choose group sizes for shuffled assignments, then review the membership of each group. ### Random List Groups 1. **Enter the source:** Paste one item per row into *Insert list*. Remove unintended empty rows if they should not be treated as list items. 2. **Choose the settings:** Set *Elements per group* for a fixed group size. Select *Divide into random-sized groups* when group lengths should vary instead. 3. **Run the tool:** Click *Divide* to process the current input. 4. **Review the output:** Read *Result*. Blank lines separate the groups, and the input entries are shuffled in both fixed-size and random-size modes. 5. **Copy or clear:** Click *Copy* under the output you want to keep. Use *Clear* where shown to clear the text fields; option selections stay as set. For three distinct rows `A`, `B`, and `C` with Elements per group set to `2`, the result has one two-item group and one one-item group. Their membership and order can vary. ### Fixed size does not preserve the source order The tool shuffles the list before forming groups in either mode. It is suitable for random assignments, but not for splitting an ordered process into consecutive batches. ### Group size versus group count Elements per group controls how many entries go into a fixed-size group, not how many groups are created. The last group can be shorter when the total is not evenly divisible. ### Use random-sized groups Select *Divide into random-sized groups* and click *Divide*. *Elements per group* does not control group sizes in this mode; review the blank-line-separated groups before copying them. ## Frequently asked questions ### Does a fixed group size keep the original order? No. The entries are shuffled before grouping in both modes. ### Does Elements per group choose the number of groups? No. It sets the number of entries in each fixed-size group. The number of groups depends on the input length. ### Can the last fixed-size group be smaller? Yes. If entries remain after the complete groups are formed, they make a smaller final group. ### How are groups separated in the output? A blank line separates neighboring groups. Entries inside each group occupy separate rows. ### Will random-sized groups always have different sizes? No. Random draws can produce equal group sizes, and another run can produce a different grouping. ## Related Tools - [Replace Spaces with Line Breaks](https://million.tools/replace-spaces-with-line-breaks/): Replace spaces with line breaks to put one word per line. Use spaces to newlines conversion with optional capitalization and copy the resulting list. - [Replace Line Breaks with Spaces](https://million.tools/replace-line-breaks-with-spaces/): Replace line breaks with spaces to join text lines. Remove line breaks from pasted lists with optional lowercase conversion, then copy the single-line result. - [Repeat Text](https://million.tools/repeat-text/): Repeat text with a text repeater. Duplicate text a specified number of times, separate copies with line breaks or commas, and copy the result. - [Move Words to a Column](https://million.tools/words-to-column/): Move words to a column with a words to lines converter. Split text into rows by whitespace or a custom separator, with optional capitalization. - [Split a List into Columns](https://million.tools/split-list-into-columns/): Split a list into columns with a text to columns tool. Split rows by delimiter or whitespace into up to six outputs, with optional capitalization. ## About the Author **Egor Volchenko** — *Developer & Author* Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience. - **Links:** [x.com](https://x.com/egorleet) · [github.com](https://github.com/egorleet) · [t.me](https://t.me/egorleet) · [instagram.com](https://www.instagram.com/egorleet) · [facebook.com](https://www.facebook.com/egorleet/) · [egorleet.blog](https://egorleet.blog/) · [mastodon.social](https://mastodon.social/@egorleet) · [twitch.tv](https://www.twitch.tv/egorvolchenko) · [stackoverflow.com](https://stackoverflow.com/users/31679135/egor-volchenko) · [reddit.com](https://www.reddit.com/user/Vegetable_Window9185/) · [youtube.com](https://youtube.com/@egor-volchenko)