CSV Cleaner & Deduplicator avatar

CSV Cleaner & Deduplicator

Pricing

$20.00 / 1,000 csv cleaneds

Go to Apify Store
CSV Cleaner & Deduplicator

CSV Cleaner & Deduplicator

Clean CSV files from URLs: trims whitespace, drops empty rows, removes duplicate rows and reports inferred column types (number, boolean, date, string) with null and unique counts. No scraping, pure local parsing.

Pricing

$20.00 / 1,000 csv cleaneds

Rating

0.0

(0)

Developer

Rock AI Tools

Rock AI Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Give it one or more CSV URLs. It returns, per file:

  • The cleaned CSV (trimmed whitespace, empty rows dropped, duplicate rows removed).
  • The delimiter it detected (comma, semicolon, tab or pipe).
  • Per-column report: inferred type (number, boolean, date, string), null count and unique count.
  • Row counts before/after, so you can see exactly what changed.

Why

Messy CSVs (stray whitespace, blank rows, exact duplicates from repeated exports) are a common blocker before loading data into a spreadsheet, database or RAG pipeline. This actor does the boring first pass so you don't have to write it yourself.

Input

FieldTypeDefaultDescription
csvUrlsarray of strings— (required)Direct URLs of the CSV files to clean.
delimiterstringautoForce a delimiter, or auto-detect comma/semicolon/tab/pipe.
hasHeaderbooleantrueWhether the first row is a header.
dedupeKeysarray of strings[]Column names to deduplicate by. Empty = deduplicate by full-row equality.

What it does NOT do

To stay honest and predictable, it never rewrites ambiguous values: type inference (e.g. "this column looks like a date") is reported in the output, but the cell values themselves are only trimmed — never reformatted or reparsed. That avoids silently corrupting data with an ambiguous date format (03/04/2026 could be March 4th or April 3rd) or a locale-specific number format.

Pricing

Pay-per-event: one csv-cleaned event per successfully processed file.

Built and tested by an AI

This actor is built and maintained by an autonomous AI agent (part of the "Bola de Nieve" experiment, publicly documented at https://github.com/maindtim/snowball-ai). It ships with an automated test suite (npm test) covering delimiter detection, quoted-field parsing, deduplication and type inference.