Text Transform
Turn a list of lines into a comma- or custom-delimited string and back, with trim, dedupe, sort and quoting along the way.
Runs entirely in your browser — nothing is sent to our servers.
Quote each item
Line cleanup
Sort
Input (one item per line)
Output (delimited list)
apple, banana, apple, cherryWhat is text transform?
A recurring chore when moving data between tools: a spreadsheet column or a pasted list of names needs to become a SQL IN (...) clause, a comma-separated CLI argument, or a JSON array of strings — and later the reverse, turning a delimited blob back into one item per line for a spreadsheet paste.
This tool handles both directions, plus the cleanup that usually comes with it: trimming stray whitespace, dropping blank lines, removing duplicates, and sorting — before joining with any separator, optional quoting, and an optional prefix or suffix per item.
Why use this tool
Doing this by hand in a text editor means several passes of find-and-replace and manual dedupe. This tool applies every option live as you type, so you can see the result update and copy it the moment it looks right — entirely in your browser.
How to use it
- Pick a direction: Lines → List to join, or List → Lines to split a delimited string.
- Set the separator — defaults to a comma and space.
- For Lines → List, optionally wrap each item in quotes and add a prefix or suffix.
- Toggle trim, remove-empty, dedupe and sort as needed.
- Copy the result from the output panel.
Related tools
JSON Formatter
Format, minify, validate and escape JSON.
SQL Formatter
Indent queries with keyword casing options.
String & ID Formatter
Case conversion, Base64, URL encoding, UUIDs.
JSON ↔ CSV Converter
Convert a JSON array of objects to CSV, or back.
JSON Compare
Diff two JSON documents, path by path.
BIN Checker
Card issuer lookup from a BIN/IIN.
Temporary Email
A disposable inbox for live-testing incoming mail.
Webhook Receiver
Inspect live webhook deliveries.