Sort lines longest first
Sort lines from longest to shortest, or remove duplicate lines while preserving their last occurrence. Processes text locally without upload.
Sort lines longest first
Sort lines from longest to shortest, or remove duplicate lines while preserving their last occurrence. Processes text locally without upload.
The input is processed in your browser. Review the settings before exporting, and keep a copy of the original.
Conversion limitations
Length is measured in JavaScript UTF-16 code units, not rendered character width; duplicate detection compares exact lines including case and spaces.
Instructions
- 1
Choose the source file or paste the source text into the tool.
- 2
Adjust the available output settings, then run the conversion.
- 3
Inspect the result and download it; keep the original for comparison.
About this tool
Sort lines from longest to shortest, or remove duplicate lines while preserving their last occurrence. Processes text locally without upload.
Keep the original file and review the output before using it.