Clean, sort, and wrap list items
Paste input, tune options, and copy the result — all in your browser

The List converter takes one item per line (your input) and produces a single formatted output string. It is designed for the practical tasks people do every day: dedupe a list, sort it, add wrappers, and copy the result.
Who is this for?
The tool runs locally in your browser. Your data stays on your device.
If you are doing text cleanup more broadly, pairing this with the Case Converter can help you standardize capitalization, and the JSON to YAML converter is handy when your "list" is actually configuration data.
Sharing tip
Use the Share button if you want to send someone the same configuration. For large inputs, sharing may omit the raw list to keep the URL short.
Dedupe + join with a comma
Input two lines with duplicates, keep trimming and deduping on, set Separator to a comma and space.
This is great for converting a pasted column into a single line you can use in a search query, config value, or message.
Wrap each item for HTML
Turn lines into a list of <li> items and wrap the whole output. Enable Keep line breaks so the output is readable.
If you need to adjust capitalization first, run your values through the Case Converter and then paste the cleaned list here.
Conceptually: split into lines, transform each item, then join.
Cleaning a pasted column
Background: You copied a spreadsheet column with duplicates and extra spaces.
Inputs: trim on, dedupe on, separator .
Result: a single clean line you can paste into docs or a message.
Making stable, sorted outputs
Background: You need deterministic output for a config review or checklist.
Inputs: sort ascending, trim on, keep line breaks on.
Result: a clean list that is easy to diff.
Generating HTML or Markdown fragments
Background: You have plain text items, but you need <li> tags or Markdown links.
Inputs: wrap item prefix/suffix, optionally wrap list.
Result: copy/paste-ready markup.
Building an allowlist block
Background: You want to turn one-per-line items into a comma-separated allowlist.
Inputs: trim on, dedupe on, lowercase optional.
Result: a compact format you can paste into settings.
For identifiers and tokens, you may also like UUIDs Generator and ULID Generator.
Dedupe a list
Remove repeated lines while keeping the first occurrence.
Sort for stability
Make outputs deterministic for reviews and diffs.
Wrap for markup
Generate HTML/Markdown snippets from plain values.
Trim stray spaces
Fix inconsistent copy/paste with leading/trailing spaces.
Copy-ready output
Turn a column into a single line you can paste elsewhere.
When not to use
If items contain newlines inside a single item, this tool treats them as separate items.
Keep line breaks for readability
If you are generating code blocks or markup, enabling Keep line breaks makes the output easier to review before you paste it.
Avoid accidental sorting
If order matters (for example, priority lists), leave sorting off and only trim/dedupe.
Use wrappers to build templates
Wrap item and Wrap list are a lightweight templating trick. You can produce snippets for HTML, SQL, Markdown, and more.
The converter follows a consistent pipeline. Conceptually, it turns your input string into an array of lines, applies selected transformations, then joins the list back into a single output.
Pipeline (high level)
Note: options are applied in a specific order so results are predictable.
Key variables
One item per line is a common interchange format
Many apps and spreadsheets export a column as newline-separated text. The List converter treats each line as one item. If your data uses commas or tabs, you may need to pre-format it before pasting.
For more structured transformations, you may prefer dedicated converters such as YAML to JSON or JSON to YAML.
By default, the tool joins items into a single line. Enable Keep line breaks if you want the output to stay multi-line.
Yes. Dedupe removes repeated lines while keeping the first time each value appears.
It sorts your items as strings (A→Z or Z→A). If order has meaning (priorities, ranking), leave sorting off.
You can approximate it by setting and, then wrapping the list. For true JSON validation, use a dedicated converter like YAML to JSON.
No. The conversion runs locally in your browser.
Input assumptions
This tool treats each newline as a separate item. If your data includes multi-line values, you will need a different format.
The output is plain text. If you generate snippets for code or markup, review them before using them in production.
This tool implements straightforward text transformation patterns (split, map, filter, join). For background reading on list processing and string handling:
Normalize email addresses to a standard format for easier comparison. Useful for deduplication and data cleaning. Runs locally in your browser.
Transform text into the NATO phonetic alphabet for oral transmission. Convert letters A–Z into Alpha/Bravo/Charlie… and copy instantly.
Convert text to ASCII (8-bit) binary and convert ASCII binary back to text. Clean input automatically and copy results instantly.
Convert text to Unicode decimal HTML entities (e.g., A) and convert them back to text. Runs locally in your browser with one-click copy.
Escape and unescape HTML entities for <, >, &, ", and ’. Runs locally in your browser with instant copy.
Convert an integer between bases 2–64 (binary, octal, decimal, hexadecimal, base64, and custom). Runs locally in your browser.