This tool transforms a list of lines: sort it, remove duplicates, reverse it, trim whitespace, add a prefix or suffix to each line, and join the result with any separator — all live, in your browser.
How to use it
- Paste your list, one item per line.
- Toggle the transformations you want (sort, dedupe, reverse, trim).
- Optionally add a prefix, suffix or join separator.
- Copy the result.
About List Converter
Cleaning up lists is a constant small chore: a pasted column from a spreadsheet, a set of IDs, a list of emails that needs deduplicating and turning into a comma-separated string for a query. Doing it by hand is slow and mistakes slip in. This tool chains the common operations so you can go from a messy list to exactly the format you need in one step. Everything runs locally.
FAQ
Can I turn a list into a comma-separated string?
Yes. Set the join separator to a comma (or anything else) and the lines are joined into a single string.
Does dedupe keep order?
Yes. Duplicate removal keeps the first occurrence of each line in its original position unless you also sort.
What can I do with a list of lines?
You can sort alphabetically or numerically, remove duplicates, reverse the order, trim whitespace and add prefixes or suffixes. It is handy for cleaning up exports, building SQL IN clauses, or tidying any line-separated data.