᠎᠎᠎          

List rotator

World's simplest list tool
This is a super simple browser-based application that rotates all items in a list either forward or backward. Rotating items forward moves them to the right (or down if the list is vertical) and rotating items backward moves them to the left (or up if the list is vertical). You can specify the number of items to rotate in the options, as well as customize the separator of the items in input and output lists. Created by list geeks from team Browserling.
Item Split Mode
A mode that splits a list into
items by a delimiter symbol.
A mode that splits a list into
items by a regular expression.
Delimiter symbol or regular
expression.
Rotation Direction and Count
Rotate list items to the right.
(Down if a vertical column list.)
Rotate list items to the left.
(Up if a vertical column list.)
Number of items to rotate.
Rotated List Joining Symbol
Enter the character that goes
between items in the rotated list.

What is a list rotator?

learn more about this tool
This online tool rotates the items in a list. It does not change the items themselves and does not delete any of them, but it only cyclically shifts the items from one side of the list to the other side. For example, if the input list is a horizontal list of digits "1, 2, 3, 4, 5, 6" then we can rotate it to the right (forward) or left (backward). If we rotate this list to the right by two items, we'll get a new list "5, 6, 1, 2, 3, 4". Similarly, rotating this list to the left by one item will move the first digit to the last position "2, 3, 4, 5, 6, 1". If the input list is vertical (the items are separated by a newline character "\n"), then rotating it forward, moves the items down and rotating it backward, moves the items up. You can choose the direction of rotation in the second block of options, as well as indicate how many items at once to rotate. To make it work with all types of lists, you can use two modes for separating list items. The "Character Split Mode" is used when the input list has a single character delimiter such as a comma, dash, or space. The "Regexp Split Mode" is used when the input list has several different separators. For example, a comma mixed with a space or a semicolon mixed with a tab. For the output rotated list, you can set any new separator in the third block of options. Setting a new separator for the output list lets you create a consistent list with no mixed item separators. Listabulous!

List rotator examples

Click to use
Rotate the Hungarian Alphabet to the Right
In this example, we rotate a list with 44 letters of the Hungarian alphabet to the right. Since the original list is a simple comma-separated list, we split the items by commas via the "Character Split Mode". We select the "Rotate Forward" direction (this direction shifts items to the right) and rotate exactly a half of the alphabet. The last 22 letters on the right are now shifted to the beginning and appear on the left side.
A, Á, B, C, Cs, D, Dz, Dzs, E, É, F, G, Gy, H, I, Í, J, K, L, Ly, M, N, Ny, O, Ó, Ö, Ő, P, Q, R, S, Sz, T, Ty, U, Ú, Ü, Ű, V, W, X, Y, Z, Zs
Ny, O, Ó, Ö, Ő, P, Q, R, S, Sz, T, Ty, U, Ú, Ü, Ű, V, W, X, Y, Z, Zs, A, Á, B, C, Cs, D, Dz, Dzs, E, É, F, G, Gy, H, I, Í, J, K, L, Ly, M, N
Required options
These options will be used automatically if you select this example.
A mode that splits a list into
items by a delimiter symbol.
Delimiter symbol or regular
expression.
Rotate list items to the right.
(Down if a vertical column list.)
Number of items to rotate.
Enter the character that goes
between items in the rotated list.
Rotate a Tree List to the Left
In this example, we rotate a list of tree names to the left. Since the items of the input list are delimited by tabs and newlines, we use the regex splitting mode with a regular expression "/\s+/". We move four items backward (the first four items get moved to the end of the list) and print the rotated list separated by the vertical pipe symbol.
Beech Sycamore Spruce Basswood Maple Hornbeam Birch Chestnut Pine Arborvitae Larch Oak
Maple | Hornbeam | Birch | Chestnut | Pine | Arborvitae | Larch | Oak | Beech | Sycamore | Spruce | Basswood
Required options
These options will be used automatically if you select this example.
A mode that splits a list into
items by a regular expression.
Delimiter symbol or regular
expression.
Rotate list items to the left.
(Up if a vertical column list.)
Number of items to rotate.
Enter the character that goes
between items in the rotated list.
Rotate a List of Alt Codes Up
In this example, we load a vertical list of alt codes and perform the cyclic shift operation on it. We move the items by 6 positions up (backward) and now they appear at the bottom. We use a newline character on input and output data to separate the list items.
☺ — Alt+1 ☻ — Alt+2 ♥ — Alt+3 ♦ — Alt+4 ♣ — Alt+5 ♠ — Alt+6 • — Alt+7 ◘ — Alt+8 ○ — Alt+9 ◙ — Alt+10 ♂ — Alt+11 ♀ — Alt+12 ♪ — Alt+13 ♫ — Alt+14 ☼ — Alt+15 ► — Alt+16 ◄ — Alt+17 ↕ — Alt+18
♠ — Alt+6 • — Alt+7 ◘ — Alt+8 ○ — Alt+9 ◙ — Alt+10 ♂ — Alt+11 ♀ — Alt+12 ♪ — Alt+13 ♫ — Alt+14 ☼ — Alt+15 ► — Alt+16 ◄ — Alt+17 ↕ — Alt+18 ☺ — Alt+1 ☻ — Alt+2 ♥ — Alt+3 ♦ — Alt+4 ♣ — Alt+5
Required options
These options will be used automatically if you select this example.
A mode that splits a list into
items by a delimiter symbol.
Delimiter symbol or regular
expression.
Rotate list items to the left.
(Up if a vertical column list.)
Number of items to rotate.
Enter the character that goes
between items in the rotated list.
Pro tips Master online list tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinetools.com/list/rotate-list?input=A%2C%20%C3%81%2C%20B%2C%20C%2C%20Cs%2C%20D%2C%20Dz%2C%20Dzs%2C%20E%2C%20%C3%89%2C%20F%2C%20G%2C%20Gy%2C%20H%2C%20I%2C%20%C3%8D%2C%20J%2C%20K%2C%20L%2C%20Ly%2C%20M%2C%20N%2C%20Ny%2C%20O%2C%20%C3%93%2C%20%C3%96%2C%20%C5%90%2C%20P%2C%20Q%2C%20R%2C%20S%2C%20Sz%2C%20T%2C%20Ty%2C%20U%2C%20%C3%9A%2C%20%C3%9C%2C%20%C5%B0%2C%20V%2C%20W%2C%20X%2C%20Y%2C%20Z%2C%20Zs&string-separator=true&input-separator=%252C%20&join-character=%252C%20&rotate-right=true&count=22
All list tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly print all distinct items of a list.
Quickly print all repeating items of a list.
Quickly count the number of items in a list.
Quickly display list items in multiple colors.
Quickly generate a list of arbitrary length with arbitrary items.
Quickly generate a random length list with random items.
Quickly find certain items in a list.
Quickly find how many times each item appears in the list.
Quickly replace certain items in a list with new items.
Quickly remove items from a list that match a pattern.
Quickly print all list items in reverse order.
Quickly sort list items alphabetically or numerically.
Quickly shuffle list items and make it random.
Quickly randomly pick one or more items from a list.
Quickly create a downloadable image from a list.
Quickly set a new delimiter for items in a list.
Quickly remove the symbol that separates list items.
Quickly change list item delimiters to the same symbol.
Quickly remove items from the beginning or end of a list.
Quickly join all items of a list together.
Quickly create groups of multiple list items.
Quickly extract a part of a list.
Quickly remove all empty items from a list.
Quickly remove whitespace characters around list items.
Quickly create multiple copies of a list.
Quickly rotate list items to the left or right (or up and down).
Quickly enumerate list items and add a counter to them.
Quickly add bullet markers to all items in a list.
Quickly remove all bullet markers from list items.
Quickly wrap all list items in quotes.
Quickly remove all quotation marks from around list items.
Quickly add text on the left and right sides of all list items.
Quickly remove text from the left and right sides of all list items.
Quickly prepend a prefix before each list item.
Quickly delete any prefix from the beginning of all list items.
Quickly append a suffix after each list item.
Quickly delete any suffix from the end of all list items.
Quickly add or remove list items to make it a certain length.
Quickly create multiple columns from a single list.
Quickly create a palindromic list from the given list.
Quickly add new items at the beginning or end of a list.
Quickly left-pad a list with one or more items.
Quickly right-pad a list with one or more items.
Quickly remove items that repeat in a list.
Quickly apply a filter on all list items (extract certain items).
Quickly analyze a list and print its item statistics.
Coming soon These list tools are on the way
Edit a List
View and edit lists in a neat browser-based list editor.
Split a List
Split list items into chunks.
Generate the Powerlist
Create the powerlist of the given list.
Find the Car of a List
Extract the first item from a list.
Find the Cdr of a List
Extract all items except the first of a list.
Apply a Function on a List
Run a JavaScript function on every list item (map function).
Reduce a List
Run the reduce function on a list.
Find Certain List Items
Quickly find and print items that interest you in a list.
Find Repeating List Items
Quickly find and print items that repeat in a list.
Delete Unique List Items
Quickly find and remove items that are unique in a list.
Extract a Sublist from a List
Given start and stop indexes, extract a sublist from a list.
Shift List Items
Shift list items to the left or right (or up and down).
Indent List Items
Add indentation to all list items.
Skew List Items
Make a list go increasingly sideways (to the left or right).
Mirror a List
Quickly create a mirror copy of a list.
Invert a List
Invert the order of items in a list (last becomes first, etc).
Convert a List to Rows
Create multiple rows from a single list.
Convert a List to Excel
Create an Excel (XLS/XLSX) file from a list.
Convert a List to PDF
Create a PDF file from a list.
Convert a Text List to a LaTeX List
Create a LaTeX list from a regular text list.
Convert a Text List to a HTML List
Create a HTML list from a regular text list.
Convert a Text List to a Markdown List
Create a Markdown list from a regular text list.
Compare Two Lists
Find the difference between two lists.
Compare Three Lists
Find the difference between three lists.
Remove One List from Another
Remove elements from a list that appear in the other list.
Find Common Items in Lists
Find items that are shared between two or more lists.
Find Distinct Items in Lists
Find items that are unique in two or more lists.
Zip Two Lists
Join two or more lists together item by item.
Unzip Two Lists
Split an interleaved list into two or more separate lists.
Merge Two Lists
Append a second list at the end of the first list.
Pair List Items
Create pairs from all list items.
Pop List Items
Remove list items at certain index positions.
Push List Items
Add new items at the end of a list.
Splice a List
Modify a list in-place by adding, replacing, or removing items.
Flatten a List
Remove all indentation levels from a list and make it flat.
Make List Items Bold
Quickly apply the bold effect to all list items.
Make List Items Italic
Quickly apply the italic effect to all list items.
Make List Items Cursive
Quickly rewrite all list items in cursive.
Change List Item Font
Quickly change the font of all list items.
Add an Underscore to List Items
Quickly add an underscore to all list items.
Add a Strikethrough to List Items
Quickly add a strikethrough to all list items.
Make List Items Title Case
Quickly change the letter case of all items to title case.
Make List Items Proper Case
Quickly change the letter case of all items to proper case.
Make List Items Random Case
Quickly randomly change the letter case of all items.
Make List Items Lowercase
Quickly change the letter case of all items to small letters.
Make List Items Uppercase
Quickly change the letter case of all items to capital letters.
Remove List Item Counter
Quickly remove any numeration from a list of items.
Create an Empty List
Generate a list with no items (just bullet points).
Visualize a List
Quickly create a graphical representation of a list.
Create a List Cloud
Create an image with a cloud of list items.
Create a Spiral List
Create an image with list items going in a spiral.
Create a ZigZag List
Make list items go in a zigzag.
Add Errors to a List
Add errors and corruption to a list.
Base64-encode a List
Convert any list to base64 encoding.
Base64-decode a List
Convert any list from base64 encoding back to a list.
URL-encode a List
Convert any list to URL encoding.
URL-decode a List
Convert any list from URL encoding back to a list.
Convert a List to JSON
Create a JSON array from a list.
Convert JSON to a List
Create a list from a JSON array.
Convert a List to XML
Create an XML document from a list.
Convert XML to a List
Create a list from an XML document.
Convert a List to YAML
Create a YAML file from a list.
Convert YAML to a List
Create a list from a YAML file.
Convert a Text List to a Binary List
Create a binary list from a text list.
Convert a Binary List to a Text List
Create a text list from a binary list.
Compress a List
Compress a list so it uses less space.
Scroll a List
Create an animation with a list being scrolled.
Let Zalgo Destroy a List
Let Zalgo loose on a list and create list-chaos.