Edit a List

The Edit a List Tool processes your line-based text lists with live preview. It trims, sorts, removes duplicates and empty lines, adds prefixes/suffixes, and even replaces parts of each item with custom find/replace logic. All operations happen instantly on the same page with no reloads.

Paste your input above or import a file below.
No file chosen
Supported file types: .txt, .csv, .tsv, .log, .json, .xml, .md, .ini, .yaml, .yml, .html, .htm, .css
Total items: 0
Options
Trim lines
Remove empty lines
Remove duplicates

How to Use:

  1. Paste or type your list into the Input Text box.
  2. Optionally import a file below the input field.
  3. Choose settings in the Options section toggle switches or edit prefix/suffix/replacement fields.
  4. See the results update live in the Formatted Output box.
  5. Use the Copy Output or Export to File buttons to save your changes.
  6. Click Clear All to reset everything.

Example:

Input:

apple
banana
apple

orange
grape
Banana

Settings:

  • Trim lines: ON
  • Remove duplicates: ON
  • Sort: A-Z
  • Prefix: Item:
  • Find: a
  • Replace: @

Output:

Item: B@n@n@
Item: gr@pe
Item: or@nge

Common Use Cases:

Use this tool to clean up lists of words, usernames, product IDs, email addresses, or any text entries. It’s perfect for tidying raw data, applying consistent formatting, deduplicating, or preparing lists for spreadsheets or JSON files.

Useful Tools & Suggestions:

If you’re editing a list, Replace List Items is perfect for swapping out old entries with updated ones. Then, if you’re cleaning things up during the process, Trim List Items helps remove extra spaces so your final result looks polished. Together, they make it easy to revise content, correct mistakes, or reformat your list without starting from scratch.