Neatbo.

Remove duplicate lines

Less repetition. Same order.

Browser-local processingInputTextOutputUTF-8 text
  1. 1Add input
  2. 2Adjust settings
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input
0 characters · 0 bytes
Options

Complete the required options first. You can keep the defaults for the rest.

Compare using fixed Unicode 17 default lowercase mappings. The first matching line keeps its original spelling. This does not apply language-specific rules or Unicode normalization; ß and SS remain different.

Ignore whitespace at both ends only when finding matches. Spaces inside a line still count, and the first matching line keeps its original whitespace.

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.⌘ / Ctrl + Enter to run

Preparing the tool…

Before you start

Remove repeated whole lines without changing their order. The first copy stays exactly as written; optional case and surrounding-space rules only affect comparison.

How to use this tool

  1. Paste one entry per line into “Text”, or load the example.
  2. Select the comparison options you need, then choose “Remove duplicate lines”. Leave both off for exact line matches; changing an option alone does not update the result.
  3. Check the retained lines and their relative order. Select “Copy result” to copy the complete text, or download result.txt as UTF-8 text.

Supported inputs and limits

Input is limited to 1 MiB (1,048,576 bytes) in UTF-8, including spaces and line breaks. Comparison uses the complete line; it cannot pick a column, name field or part of a URL.

CR, LF and CRLF line breaks use the first detected style in the result. Malformed Unicode is rejected.

The preview shows up to 4,000 Unicode code points. Copy and download contain the complete result. Empty input or repeated empty lines can produce empty text and a zero-byte result.txt.

Worked example

Example input

a
b
a
A
Example options
{}

Example output

a
b
A

When something does not work

Keep the original text. If meaningful differences were merged, turn off the comparison options and run again. For an oversized input, process smaller sections; for other failures, paste an intact copy of the source and retry. A failed run clears the result, while edits or cancellation can leave an older result visible. Run again and check the retained lines before copying or downloading.

Frequently asked questions

Where is my pasted text processed and kept?

Duplicate removal runs in your browser. The same tab can temporarily keep text, options and results when you switch tools, within the workspace's size and time limits. Refreshing or closing the tab clears that memory. Copy the result or download result.txt to keep it.

Why can similar-looking lines remain different?

With both options off, every character in a line must match, including spaces. Surrounding-whitespace comparison ignores whitespace at the two ends only; spaces inside a line still matter, and whitespace-only lines can match an empty line. Ignoring case uses fixed Unicode 17.0 default lowercase data, including contextual Greek sigma. It does not apply language-specific rules, full Unicode case folding or normalization: ß and SS remain different, as do composed é and e followed by a combining accent. The first matching line stays as written, and retained lines keep their relative order.

How do I keep the complete, current result?

Run “Remove duplicate lines” after changing the text or either option. A previous result can remain visible after edits or cancellation. The preview stops at 4,000 Unicode code points; “Copy result” and the UTF-8 result.txt download include the complete retained text, rather than the counts in Output details. If copying fails, use the download. Loading the example keeps your current checkbox settings; clearing the workspace turns both options off again.

Documentation & further reading

Related tools