The developer tools you reach for every day, all in one place.

Converters, formatters, hashes, validators, and the small utilities you keep reopening stay together instead of getting lost across tabs.

GitHub

/ Tools

/ Tool Finder
109 tools
/ Remove Duplicates
/ Selected Tool

Remove Duplicates

Remove duplicate lines from text while preserving the first occurrence

01

What is duplicate removal?

Duplicate removal is the process of identifying and eliminating repeated entries from a list or text. This tool helps clean up data by keeping only unique entries while maintaining the original order and preserving the…

02

How does it work?

Removal Process This tool removes duplicate lines from your text, keeping only the first occurrence of each unique line. The order of lines is preserved. Case Sensitivity When case-sensitive mode is off (default), 'Appl…

03

Sample Cases

Covers Basic duplicate removal, Case insensitive (default), and Case sensitive so you can compare common inputs and outputs quickly.

/ Code

/ Integration

Source code from the selected tool, shown here alongside the live version on the right.

/ Source Code
TypeScript
typescript
type RemoveDuplicatesOptions = {
  caseSensitive: boolean;
};

function removeDuplicates(input: string, options: RemoveDuplicatesOptions): string {
  const lines = input.split('\n');
  const seen = new Set<string>();
  const uniqueLines: string[] = [];

  lines.forEach((line) => {
Buidl Now icon

Keep every utility in one place and stay inside the build flow.

Pick a tool, finish the check, copy what you need, and get back to the actual product work.

Developer tools for builders who ship fast.© 2026 Buidl Now. All rights reserved.