Toolbox / List converter Runs in your browser中文
Converter

List converter

Trim, deduplicate, sort, lowercase, and wrap line-based lists with custom separators.

Ctrl / ⌘ + Enter Run

Ready when you are

01

Add your contentPaste text or try a sample

02

Choose an actionClear options. Predictable results.

03

Take it with youCopy, download and carry on

Less switching. More focus.Functional build · Validation in progress

Using this tool

Clean line-based data by trimming, lowercasing, deduplicating and sorting, then add separators and wrappers.

Actions: Convert

Example

Keep default trimming and empty-line removal; lowercase, deduplicate and sort ascending, then wrap the two remaining items.

Example action and settings

Action: Convert
Convert to lowercase: On
Remove duplicates: On
Sort: Ascending
Separator: , 
Item prefix: "
Item suffix: "
List prefix: [
List suffix: ]

Input / action

 B
a
B

Result / expected behavior

["a", "b"]

Available options: Trim items · Remove duplicates · Remove empty lines · Convert to lowercase · Keep line breaks · Sort · Natural numeric sort · Separator · Item prefix · Item suffix · List prefix · List suffix

Scope and limitations

  • Wrappers are plain text concatenation, not JSON or CSV escaping; output is limited to 5,000,000 characters.

Common mistakes

  • Lowercasing happens before deduplication; enabling it merges Apple and apple into one item.

Related tools

Case converter

Privacy and browser support

Input is processed in this browser. Do not use real keys or active sensitive credentials as demonstration data. Device features require browser support and your permission.