Skip to content
uencoder
PIPELINE Text Processing Beginner 3 steps

Normalize and sort identifiers

When working with lists of identifiers, variable names, or tags that may have inconsistent casing, extra whitespace, or duplicates, this chain normalizes them into a clean, sorted, unique list.

What it solves

Clean whitespace, convert to lowercase, then sort and deduplicate a list of identifiers.

Input → Output

Text Trim & Clean input → Sort & Unique output across 3 steps.

Runs in

1–2 minutes · fully local in your browser.

Before you start

  • A list of text identifiers, one per line

The pipeline

  1. Remove empty lines, trim whitespace, collapse spaces. Free, private, 100% client-side.

  2. 2 Case Converter case-convert

    Convert text between upper, lower, title, camel, pascal, snake, kebab, constant, and sentence cases. Free, private, and 100% client-side.

    Params: mode=lower

  3. 3 Sort & Unique sort-unique

    Sort lines alphabetically, numerically, by length, or naturally; deduplicate; reverse or shuffle. Free, private, and 100% client-side.

    Params: dedup=true

Open in Toolchain

Runs locally in your browser. The recipe defines the pipeline only — your input never leaves this tab.

▶Run this workflow

Enter your input below and click Run. All processing happens locally in your browser — nothing is uploaded.

Pipeline progress

  1. Text Trim & Cleantext-trim
  2. Case Convertercase-convert
  3. Sort & Uniquesort-unique

Sample input

  banana
apple
  Cherry
apple
  banana  

Expected output

apple
banana
cherry

This pair is executed against the real tools at build time (tests/unit/recipes.test.ts) — the expected output is verified, not illustrative.

Related workflows

You might also need

Workflows sharing tools or topics with this recipe.

Learn more

Tools used