Copies this page address only, without URL inputs, tracking parameters or a section anchor. It does not share calculation results.
Line tools, in one pass.
Remove blank lines, trim whitespace, dedupe, and sort with a checkbox. Perfect for lists, logs, and notes.
Getting ready. Input becomes available when the tool is ready. If this message stays, reload or check that JavaScript is enabled. Use anonymized examples instead of personal data, access tokens, or internal logs. Browser-side processing does not guarantee that input is safe.
Output appears here.
Clean up messy line-based text in one pass
Paste a list, a log, or copied text and apply several line operations at once. Remove blank lines drops empty and whitespace-only rows; Trim strips leading and trailing spaces; Remove duplicates keeps the first occurrence of each line; and Sort orders the result A→Z or Z→A. Combine them — the live count shows how many lines remain.
Whole vs adjacent duplicates
Whole-list dedupe removes every repeat anywhere; “Adjacent only” removes a line only when it equals the line directly above it — useful for collapsing runs without reordering. Turn on “Ignore case (dedupe/sort)” to compare Apple and apple as the same text.
What stays in the browser
The line transformation does not submit input text to our server. Cloudflare Web Analytics separately measures page views and load performance. This does not guarantee the security of your browser or extensions; use anonymized examples instead of real personal data, credentials, or internal logs. See our Privacy Policy.