Skip to content
Menu
Theme

List Tools

Duplicate, group, rotate, shorten or unwrap the items of a list in one place. Free, and it runs entirely in your browser.

TextRuns in your browser
One item per line by default. The result updates as you type.
What to do
From 0.5 to 100. A decimal adds part of the list.

What is the List Tools page?

This page collects five small jobs you sometimes need to do to a list. Each one changes the list in a single, predictable way, so you do not have to open a spreadsheet or write a formula for it. You paste your list, pick a mode, set one or two options and copy the result.

The five modes are:

  • Duplicate repeats the list. Two copies give you the list twice. You can also ask for part of a copy, so 2.5 gives the list twice plus the first half once more. Interleave puts each copy right next to its original, and reverse copies writes the extra copies backwards.
  • Group splits the list into groups of a fixed size, like turning thirty names into teams of five. You choose what goes between items in a group and what goes between groups, and you can fill the last group up to full size.
  • Rotate moves items from one end of the list to the other. Rotating “a, b, c, d” one step to the left gives “b, c, d, a”. This is useful for duty rosters where everyone moves up one place each week.
  • Keep first or last keeps only a number of items from the start or the end of the list and drops the rest, like a top ten.
  • Unwrap removes the same text from the start and end of every item. It strips the quotes from a list of values, the brackets around numbers, or the bullet characters you copied from a document. With repeat on, it keeps removing for as long as the item still starts or ends with that text.

Items do not have to be on separate lines. You can split them by comma or by any other character, and choose a new line, a comma or a space between items in the result. Everything runs in your browser. Your list is not sent anywhere and is gone when you close the page.

How to use the list tools

  1. Click inside Your list. It holds a short sample so you can see a result straight away.
  2. Replace the sample with your own list, one item per line. If your items are separated by commas or something else, change the separator setting under the box.
  3. Pick a mode from the row of options: duplicate, group, rotate, keep first or last, or unwrap.
  4. Fill in the options that appear for that mode, such as the number of copies or the group size.
  5. Read the new list in the Result box. It updates as you type.
  6. Press Copy result to copy it, then paste it wherever you need it.

FAQ

How do decimal copies work in Duplicate?

The whole part sets how many full copies you get, and the decimal part adds that share of the list from the start. With a list of four items, 1.5 gives the four items plus the first two again. The result can hold up to 20,000 items.

How do I make teams from a class list?

Use Group and set the items per group to the team size. Pick a blank line between groups so each team stands apart. If you want random teams, shuffle the list first with a list randomizer and paste the shuffled list here.

What if I rotate by more steps than the list has items?

The rotation wraps around. Rotating a list of five items by seven steps gives the same result as rotating it by two. Rotating by the exact length of the list gives back the original order.

Can Unwrap remove different text on each side?

Yes. Set the start and end fields separately, for example an opening bracket at the start and a closing bracket at the end. Leave one field empty to change only one side. Items that do not start or end with that text stay as they are.

Is my list stored or sent anywhere?

No. Every mode works inside the page on your own device. Nothing is uploaded and nothing is kept after you close the tab.

Related tools