CSV & JSON Cleaner + PDF Text Extractor avatar

CSV & JSON Cleaner + PDF Text Extractor

Pricing

from $50.00 / 1,000 file processeds

Go to Apify Store
CSV & JSON Cleaner + PDF Text Extractor

CSV & JSON Cleaner + PDF Text Extractor

Clean CSV and JSON files, remove duplicate rows, and extract text from supported PDFs automatically. Process up to 10 files per run, 3 MB per-file limit, download cleaned results in one ZIP, and pay $0.05 per successfully processed file. Scanned PDFs requiring OCR are not supported.

Pricing

from $50.00 / 1,000 file processeds

Rating

0.0

(0)

Developer

SMP122

SMP122

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Smart File Processor — CSV & JSON Cleaner + PDF Text Extractor

Clean spreadsheet-ready data or extract text from PDFs in seconds. Submit a file, run the Actor, and download RESULTS.zip containing your processed files and a summary. No spreadsheet software is required.

What you get

InputOutputProcessing
CSV (.csv)*_clean.csvNormalizes column headers, trims values, removes exact duplicate rows and empty rows
JSON (.json)*_clean.csvConverts object records into tabular CSV; nested values become JSON strings
JSON Lines (.jsonl)*_clean.csvConverts newline-delimited JSON objects to CSV
PDF (.pdf)*_text.txtExtracts existing selectable text, with page markers

Limits: Up to 10 files per run; 3 MB per file; up to 15,000 data rows per CSV/JSON/JSONL file; up to 60 pages per PDF. PDF conversion is text extraction only—it does not perform OCR, read image-only scans, or preserve complex table layouts. Exact duplicate removal is not fuzzy matching; malformed files may be rejected.

Quick start: paste CSV or JSON (no upload storage required)

  1. Open the Actor's Input → Form tab.

  2. In 1. Paste CSV / JSON / JSONL text, paste raw data such as:

    name,email
    Alice,alice@example.com
    Alice,alice@example.com
    Bob,bob@example.com
  3. Keep 2. Filename for pasted text as pasted.csv. Leave the upload fields empty.

  4. Select Start. After the run succeeds, open the run's Output tab or Storage → Key-value store, and download RESULTS.zip.

The example produces pasted_clean.csv with two data rows, plus MANIFEST.json documenting the result. For JSON, paste raw JSON and set the filename to pasted.json, such as:

[
{"name": "Alice", "active": true},
{"name": "Bob", "active": false}
]

Tip: In the Form tab, paste only the CSV or JSON data into the paste field, not an entire Actor input JSON object. The Input → JSON editor is for the full configuration.

Upload files from your computer (CSV, JSON, JSONL, PDF)

Apify stores file uploads in a key-value store. This Actor uses Limited permissions, so you explicitly choose which private store it can read. You only need to create the named store once and can reuse it.

  1. In Apify Storage → Key-value stores, create a named, private store (for example my-file-uploads) if you don't already have one.
  2. Return to this Actor's Input → Form. Under 3. Upload files from your computer, select that named private store and upload the files. Do not use the automatically created unnamed store.
  3. Under 4. Select the upload store, choose that same store from the picker. This gives the Actor read-only access to the selected store for the run. You no longer need to type the store name manually.
  4. Leave the paste-text field blank, start the run, and download RESULTS.zip from the run's output/key-value store.

If the storage picker is empty, create a named store first, refresh the Input page, and select that same store in both fields. Do not switch the Actor to Full permissions. If you only have a few CSV/JSON rows, using paste-text avoids this extra step.

Output and error reporting

For successfully processed files, RESULTS.zip includes each output file and MANIFEST.json. The Actor's default key-value store also contains individual OUTPUT_... files, and the default dataset shows per-file status, row counts, warnings, and whether the processing event was recorded.

An invalid or unsupported file is listed as failed in the manifest rather than stopping the whole batch. When no files succeed, the run may still complete with processed: 0; check MANIFEST.json and the dataset for the reason.

Price

$0.05 per successfully processed input file. A rejected file does not incur the processed-file processing charge. The separately configured Actor Start event is approximately $0.00005 per run; check the pricing tab for current displayed terms. A batch of five successfully processed files costs $0.25 in processing events, plus the start event. Other Apify charges, if any, follow the pricing shown on the Store page.

API / automation input

To avoid Apify file-upload storage when integrating programmatically, send base64-encoded files through inlineFiles:

{
"fileUploads": [],
"inlineFiles": [
{
"filename": "customers.csv",
"content_base64": "bmFtZSxlbWFpbApBbGljZSxhbGljZUBleGFtcGxlLmNvbQo="
}
],
"pasteText": "",
"allowMixedSources": false
}

Each base64 object counts as one submitted file. The default input prevents pasted data and existing uploads from being processed together accidentally; set allowMixedSources to true only when you intentionally want a mixed batch.

Privacy, retention and limitations

Input and output are stored in your Apify storages according to the applicable platform/account retention settings. This Actor does not automatically erase your uploaded source files or reports after a fixed period. Review/delete storage records when needed and avoid uploading sensitive or regulated records unless the storage and privacy settings suit your use case.

The processor does not send file contents to an external AI/OCR service. File-download URLs are limited to Apify key-value-store records. This is a file-conversion utility, not a malware scanner or a service for recovering corrupted documents. CSV output includes basic spreadsheet-formula safeguards, but you should still review important files.

Need help? Open the Issues tab on the Actor Store page and include the run ID, file type, and error code (but do not post private file contents or credentials).