Line sort / dedupe / trim
Sort, reverse, dedupe and trim lines in one pass.
Also known as: Remove duplicate lines, Line sorter.
100% offline · macOS, Windows & Linux · free for personal use

// overview
What it does
Line sort / dedupe / trim is one of 55 tools in Hexkit, a desktop developer toolbox that runs entirely on your own machine. Sort, reverse, dedupe and trim lines in one pass.
Because Hexkit is a native app rather than a web page, anything you paste into the line sort / dedupe / trim stays local — there are no uploads, no accounts and no telemetry. You can clean up and reformat text even with the network turned off, which makes it safe for tokens, keys and production data.
// steps
How to use Line sort / dedupe / trim
- 1
Open Hexkit and select "Line sort / dedupe / trim", or press the command-palette key and start typing its name.
- 2
Paste the text you want to clean up. Sort, reverse, dedupe and trim lines in one pass.
- 3
Read or copy the result. Everything is computed locally by Hexkit's Rust core, so nothing is ever uploaded.
Tip: the command palette opens any tool in one keystroke.
// faq
Frequently asked questions
- Is Line sort / dedupe / trim free?
- Yes. Line sort / dedupe / trim is part of Hexkit, which is free for personal and non-commercial use on macOS, Windows and Linux.
- Does Line sort / dedupe / trim work offline?
- Completely. Hexkit runs every tool locally with no network access, so Line sort / dedupe / trim works on a plane or an air-gapped machine.
- Is my data uploaded anywhere?
- No. Hexkit makes no network calls and has no telemetry — whatever you paste stays on your computer.
// keep going
Related tools
Use Line sort / dedupe / trim without sending your data anywhere.
Line sort / dedupe / trim ships inside Hexkit — a free, offline developer toolbox for macOS, Windows and Linux. No account, no uploads.