Text tool

Duplicate Line Remover

Remove duplicate lines from lists while preserving the first occurrence order.

Use the tool

Common use cases

  • Clean copied notes and prompts.
  • Sort, replace and deduplicate text lists.
  • Prepare content for docs and development tasks.

Example input

json
        JSON
        formatter
        json
        repair
        formatter

Related tools

FAQ

Does order stay the same?

Yes. The first occurrence is kept and later duplicates are removed.

Can matching ignore case?

Yes. Use Case-insensitive Unique to treat JSON and json as the same value.

Are blank lines included?

Blank lines are ignored.