Line Deduplicator, Sorter & Shuffler avatar

Line Deduplicator, Sorter & Shuffler

Pricing

from $0.0025 / list processed

Go to Apify Store
Line Deduplicator, Sorter & Shuffler

Line Deduplicator, Sorter & Shuffler

Clean big text and list files: remove duplicate lines, sort alphabetically or numerically, reverse, shuffle and trim blanks — handles lists too large for a desktop editor.

Pricing

from $0.0025 / list processed

Rating

0.0

(0)

Developer

Hipersoft

Hipersoft

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Clean big text and list files in one run — remove duplicate lines, sort, reverse, shuffle, trim whitespace and drop blank lines. Handles keyword lists, URL lists and wordlists far too large for a desktop text editor, and returns a ready-to-download cleaned file.

Line Deduplicator, Sorter & Shuffler input — configure the options in the Apify Console

What it does

  • Deduplicate lines (optionally case-insensitive).
  • Sort A→Z, Z→A, natural (numbers-aware), reverse, or shuffle.
  • Trim whitespace and remove blank lines.
  • Returns counts (in/out, duplicates, blanks) + the cleaned file.

Use cases

  • SEO / PPC — dedupe and sort huge keyword lists.
  • Data cleaning — tidy URL lists and exports before import.
  • Security / research — process large wordlists that choke local editors.

Input

Paste text, or point to a file URL.

{ "text": "banana\napple\nApple\ncherry\nbanana", "dedupe": true, "caseInsensitiveDedupe": false, "trim": true, "removeBlankLines": true, "sort": "asc" }
FieldTypeDescription
textstringLines to process (one per line).
fileUrlstringOptional link to a .txt/.csv file instead of pasting.
dedupebooleanRemove duplicate lines. Default true.
caseInsensitiveDedupebooleanTreat case-different lines as duplicates.
trimbooleanStrip leading/trailing spaces. Default true.
removeBlankLinesbooleanDrop empty lines. Default true.
sortstringnone, asc, desc, natural, reverse, shuffle.

Output

Line Deduplicator, Sorter & Shuffler output — the results as a clean dataset

A summary row, plus the cleaned file at result.txt in your key-value store.

{ "linesIn": 5, "linesOut": 3, "duplicatesRemoved": 1, "blanksRemoved": 0, "resultUrl": "https://api.apify.com/v2/key-value-stores/.../records/result.txt" }

Output schema

FieldTypeDescription
linesInintegerLines in the input.
linesOutintegerLines after processing.
duplicatesRemovedintegerDuplicate lines removed.
blanksRemovedintegerBlank lines removed.
resultUrlstring (URL)Link to the cleaned text file.

Explore more data tools from the same author:

Plug the results straight into your stack with Make, Zapier or any of Apify's integrations.

FAQ

How big a list can it handle? Very large — it streams the file into memory and processes in one pass.

Can I automate it? Yes — via integrations on the Apify platform and the Apify API.

Notes

Original clean-room implementation.