CSV to Typed JSON & JSON Schema avatar

CSV to Typed JSON & JSON Schema

Pricing

$0.02 / completed csv to typed json & json schema

Go to Apify Store
CSV to Typed JSON & JSON Schema

CSV to Typed JSON & JSON Schema

Convert inline CSV to complete JSON records and an inferred JSON Schema. Infer column-consistent types, preserve leading-zero identifiers and unsafe numeric precision, and report conversion warnings.

Pricing

$0.02 / completed csv to typed json & json schema

Rating

0.0

(0)

Developer

david tan

david tan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

Convert inline CSV to complete JSON records and an inferred JSON Schema. Infer column-consistent types, preserve leading-zero identifiers and unsafe numeric precision, and report conversion warnings.

When to use it

Convert spreadsheet exports into typed records while keeping identifiers and numerically unsafe values intact.

Price

$0.02 per completed report, for supported paying Apify users. One report-generated event, after files and a summary are stored. No per-row, per-URL or dataset-item charge. Invalid input and processor timeouts do not trigger the report event. Apify’s free-user rules and any separately applicable platform charges are governed by Apify.

Use a maximum charge limit that covers at least one report. Keep a smaller diagnostic detailLimit for large inputs; all output records and counts remain complete. No external AI models or API keys are needed.

Example input

{
"csvData": "id,name,quantity,price,active\n001,Keyboard,2,49.5,true\n002,Mouse,1,25,false\n",
"delimiter": ",",
"inferTypes": true,
"stringColumns": [
"id"
],
"nullValues": [
""
],
"detailLimit": 100
}

Results

  • REPORT.json: complete summary, full records and bounded details.
  • RECORDS.csv: all output records. Formula-like cells are escaped for spreadsheets; JSON is the authoritative typed result.
  • REPORT.html: self-contained escaped report, with at most 20 output records in the preview.

The default dataset contains a single operational summary; it is not the records export. A low detail limit truncates diagnostics only. Download JSON or CSV for full output.

Limits and behavior

5 MiB CSV text; 10,000 data rows; 100 columns; 32,768 UTF-8 bytes per cell. Duplicate or empty headers and inconsistent row widths are rejected. No date inference or whitespace trimming. Leading-zero numbers, integers outside JavaScript’s safe range, non-finite or underflowing numbers and precision-unsafe decimals keep the entire column as text with diagnostics. JSON Schema describes an array of records, including nullable columns.

All products have a 25-second processor deadline, 256 MiB container memory, a 60-second run timeout and a combined 10 MiB export limit. Large or wide inputs may hit the export limit before the row limit. Failed exports do not charge the report event. No automatic restarts are enabled.

Privacy and operation

Use only data you are authorized to process. Inline data and outputs are stored in your run’s Apify storage under its configured access and retention settings. This Actor does not fetch external resources or invoke a model, and does not log source values. Review your own storage sharing and retention settings for sensitive inputs.

Billing uses a durable checkpoint. If a charge response is uncertain, the same run stops for ledger review instead of retrying payment automatically. Start a new run only after inspecting the earlier attempt. Report a problem through Apify’s Actor issue tracker with sanitized examples; do not post private records or tokens.