Swap List Items Online
Swap two items in a list by their positions, counting from 1, leaving the rest in place.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Processed locally in your browser. Your text never leaves this tab.
How to Use Swap List Items Online
- Paste your list. One item per line.
- Set the two positions. Positions count from 1. Choose the two items you want to swap.
- Swap them. The two items trade places and the rest of the list stays where it is.
- Copy the result. Click Copy result. It all runs in your browser.
Frequently Asked Questions
How do positions count?
From 1, so the first item is position 1. Enter the two positions you want to exchange.
What if a position is outside the list?
The tool shows the valid range so you can pick positions that exist in your list.
What if both positions are the same?
The list comes back unchanged, since an item swapped with itself stays in place.
Does it move any other items?
No. Only the two chosen items trade places; everything else keeps its position.
Is my list uploaded?
No. The swap runs in your browser and your list never leaves the tab.
Related Tools
Add Suffix to List Items →
Add suffix to list items instantly. Periods, commas, punctuation, or custom text. Free, secure,…
Append List Items - Merge Lists →
Append and merge lists instantly. Combine multiple lists with duplicate removal. Free, secure, client-side…
Count List Items →
Count list items with frequency analysis, duplicates, unique-only output, TSV export. Free, client-side, instant.
Delete Empty List Items →
Remove empty / whitespace-only / Unicode-whitespace items from any list. Trim-before-check and invert (show-only-empties)…
Delete List Items →
Delete list items by pattern (5 match modes), line numbers, or ranges with live…
Delete Repeating List Items →
Remove duplicates from any list. 3 modes (consecutive, all, run-length collapse to N). 6…
Extract Unique List Items →
Dedupe a list, find duplicates, or keep only singles - newline/comma/tab/pipe input, 5 modes,…
Find Duplicate List Items →
Find the items that appear more than once in a list, each with its…
Group List Items →
Group identical items in a list and count how many times each one appears,…
Map List Items with a Template →
Rewrite every list item with a template, using {} where each item should go.
Quote List Items →
Wrap each item in a list with quotes, or remove them, using double, single,…
Skip List Items →
Skip the first few items of a list and keep the rest, choosing how…