Skip to main content

Reverse List

Reverse the order of items in a list — one per line, comma-separated, or space-separated. Empty entries are dropped. Runs entirely in your browser.

Input

Empty lines/entries are dropped.

Output

Reversed List
Was this helpful?

Guides

Flip the order of items in a list — last becomes first, first becomes last. Works on a newline-separated list, a comma-separated one, or a space-separated one.

How to use it

  1. Paste your list into the input box.
  2. Choose the Separator that matches how your list is delimited — New Line (default), Comma, or Space.
  3. Copy or download the reversed result.

Empty entries (blank lines, or two separators in a row) are dropped before reversing, so the output never has a leading or trailing gap.

Privacy

Everything runs entirely in your browser. Your list is never uploaded to a server.

reverselistordertext

Use it from code

From 3 credits per call

REST API

curl -X POST https://api.iotools.cloud/v1/tool/reverse-list \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "originalList": "Monday\nTuesday\nWednesday",
    "separator": "\n"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `reverse-list` tool (Reverse List) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.