USE CASE · IN YOUR BROWSER

Remove duplicate lines from a text file

Give AIVane the address of a public text file and it saves a new text file with each line kept once, in the order it first appeared. Matching is case-sensitive by default, with an Ignore case option. Our test list of five lines, alpha, beta, alpha, ALPHA, beta, came back as alpha, beta, ALPHA: a 17-byte file.

How it works

  1. Copy the deduplicator. Choose Try it in your browser. The automation fetches the text and keeps the first occurrence of each line.
  2. Enter the address and options. Give the Text URL, tick Ignore case if needed and set Maximum unique lines.
  3. Download the result. The file holds one copy of each line, in the original order.

Try it on the practice site

  1. 01

    Open remove-duplicate-lines

    After you sign in from the Try it link, the automation is in My automations with three steps: fetch the text export, keep first occurrences and save the text file.

    The automation remove-duplicate-lines in My automations: Ready, 3 steps, Fetch the text export, Keep first occurrences and Save the text file
  2. 02

    Enter the text address and run it

    Choose Run. Text URL is the test file, Ignore case is off, Maximum unique lines is 50 and Output file is unique-lines.txt. Choose Confirm and run.

    The Run automation dialog in AIVane Cloud with the Text URL, Ignore case unchecked, Maximum unique lines 50 and Output file unique-lines.txt
  3. 03

    Download unique-lines.txt

    Our run took 6 seconds. The 17-byte file held alpha, beta and ALPHA, in that order: the repeated alpha and beta lines were dropped and ALPHA stayed because case matters by default.

    Run details of the succeeded cloud run remove-duplicate-lines: 6 seconds, Outputs lists unique-lines.txt with a Download button

How other methods compare

Sorting and removing duplicates in a spreadsheet
Works for short lists but changes the order. This keeps it.
Command-line tools
uniq needs sorted input. This keeps the original order.
Online tools
You paste text each time. AIVane reads the address.

Frequently asked questions

Is matching case-sensitive?

Yes by default, as in our test. Ticking Ignore case compares lines without regard to case; we did not run that setting.

Does it change whitespace?

Lines are kept in their original form.

Is there a limit?

Maximum unique lines, 50 by default. We tested five lines.

Can it clean a file on my computer?

This cloud automation reads from a public web address. Put the file somewhere reachable by link, or adapt it in the Windows app.

Can I run it on a schedule?

Running on a schedule in AIVane Cloud is part of Pro and Business, and you can create the schedule in your browser. The cloud schedule limit is 5 on Pro and 20 per organization on Business. Free and Starter can try scheduling: 1 cloud schedule turned on and up to 3 scheduled runs within 7 days of the first scheduled run. Each trial run uses your remaining cloud minutes; on Free, that is the one 10-minute AIVane Cloud trial.

Is it free?

Free includes 3 saved automations, local runs of up to 15 minutes each and a one-time 10-minute AIVane Cloud trial. Our run used 12 seconds of cloud time.

Want a hand with this?

Our first users can ask for hands-on help: one website task, one sheet, and a week of watching it run.

Get help automating this task

Last verified 2026-11-28 with the AIVane web workspace at app.aivane.net (production server of 2026-11-28).