1. All tools
  2. List Tools
  3. Reverse List

Reverse List

This is a super simple browser-based application prints all list items in reverse. The input items can be separated by any symbol and you can also change the separator of the reversed list items.

What Is a List Reverser?

With this utility, you can reverse the order of items in a list. The utility first splits the input list into individual items and then iterates through them from the last item to the first item, printing each item to the output during the iteration. The input list may contain anything that can be represented as textual data, which includes digits, numbers, strings, words, sentences, etc. The input item separator can also be a regular expression. For example, the regex /[;,]/ will allow you to use items that are either comma- or semicolon-separated. The input and output list items delimiters can be customized in the options. By default, both input and output lists are comma-separated. Listabulous!

Reverse List Examples

Click to try!

Reverse a List of Digits

In this example, we load a list of digits in the input. The digits are separated by a mix of dot, comma, and semicolon characters, so we use the regular expression split mode and enter a regular expression that matches all these characters as the input item separator. In the output, we get a reversed list of digits that all use the semicolon as a separator.

Splitter Mode

Use a Symbol for Splitting

Delimit input list items with a character.

Use a Regex for Splitting

Delimit input list items with a regular expression.

Item Separator

Set a delimiting symbol or regular expression.

Output List Options

Output list item separator.

Reverse a Column of Words

This example reverses a column of twenty three-syllable nouns and prints all the words from the bottom to top. To separate the list items, it uses the character as input item separator, which means that each item is on its own line..

Splitter Mode

Use a Symbol for Splitting

Delimit input list items with a character.

Use a Regex for Splitting

Delimit input list items with a regular expression.

Item Separator

Set a delimiting symbol or regular expression.

Output List Options

Output list item separator.

Reverse a Random List

In this example, the list elements are random cities, zip codes, and weather conditions. To reverse list elements, we first need to identify them and separate them apart. The input list incorrectly uses the dash symbol to separate the elements but the output list fixes this and uses commas.

Splitter Mode

Use a Symbol for Splitting

Delimit input list items with a character.

Use a Regex for Splitting

Delimit input list items with a regular expression.

Item Separator

Set a delimiting symbol or regular expression.

Output List Options

Output list item separator.

Related tools