Delete Duplicate Lines
Keep first, last or single occurrences with matching controls.
Clean, compare, count and reshape text with browser-based operations.
Choose the operation that matches your task. Each tool explains its limits, accepts local input and lets you copy or download the result. Your original files remain unchanged.
Keep first, last or single occurrences with matching controls.
Clean repeats and inspect their occurrence counts.
Remove blank records while retaining repeated content.
Alphabetize text, reverse its order, or use natural numeric sorting.
Join text lines using spaces or your own separator.
Replace a chosen separator with a new line while preserving the surrounding text.
Convert text to uppercase, lowercase, title case or sentence case on your device.
Replace literal text once or everywhere, with optional case-insensitive matching.
Combine line deduplication, blank-line removal, trimming, space cleanup and sorting.
Collapse repeated horizontal whitespace and trim each line without joining your paragraphs.
Count physical text lines, including blank records, using consistent newline rules.
Count whitespace-separated words in pasted text without sending the text to a server.
Count Unicode code points, including spaces and line breaks, in your text.
Compare two versions line by line and identify added and removed content.
Reverse text by visible character clusters or reverse the order of its lines.
Extract only lines that occur once, excluding every occurrence of repeated lines.
Extract unique email-shaped addresses from text without contacting any address.
Extract unique HTTP and HTTPS links from text without opening or fetching them.
Pull signed integers and decimal numbers from mixed text in their original order.
Add literal text before and after every line while preserving line order.
Use one operation at a time and check the result before replacing important source data. CSV utilities parse structured records; text tools work on physical lines. Those are different when quoted CSV fields contain line breaks.
Tool input and file contents are processed locally in your browser. Opening a page still sends ordinary page requests to the hosting provider.
Optional Google Analytics helps us understand page usage. Tool content is never included. Analytics stays off until you enable it.