Ready. Paste CSV, JSON, or NDJSON or click "Load Sample Data".
Input Rows
0
Columns
0
Filtered Rows
0
Detected Format
--

Inferred Column Schema

ColumnInferred Type
No dataset parsed yet.

Group Aggregation Summary

GroupCOUNT
Run parser to compute metrics.

Technical Reference: RFC 4180 Parsing, Type Inference & Aggregations

Data analysts and backend engineers frequently receive financial exports, telemetry dumps, or event streams in mismatched formats such as semicolon-delimited CSVs, nested JSON API responses, or newline-delimited JSON (NDJSON) logs. Uploading customer ledgers or transaction tables to ad-hoc online converters leaks sensitive commercial records. ZERO.OPS performs deterministic parsing, schema inference, filtering, and aggregation directly inside browser memory.

1. Strict RFC 4180 Finite-State CSV Machine

Splitting lines by newline and commas breaks immediately on real-world business exports containing addresses like "Support, Tier 2", escaped double quotes "", or embedded line breaks inside quoted descriptions. Our parser implements a character-by-character finite-state automaton tracking two states (UNQUOTED and IN_QUOTES), UTF-8 Byte Order Mark removal, and delimiter auto-detection outside quoted spans across comma, semicolon, tab, and pipe separators. If an opening quotation mark remains unclosed at EOF, the parser aborts with an explicit structural error rather than silently truncating rows.

2. Lattice-Based Column Type Inference

When converting typeless CSV strings into typed JSON or ANSI SQL statements, each column is scanned across all non-empty cells to determine its tightest common supertype. Empty strings and literal null tokens are excluded from type narrowing so sparse columns preserve their numeric or boolean classification:

TypeLattice: null < { integer < number, boolean, iso8601_date } < string

Specifically, a column containing both 10 and 12.50 promotes cleanly from integer to number, whereas mixing 10 with N/A promotes safely to string without coercing identifiers into NaN.

3. Group Aggregation & Null-Safe Metric Equations

Group aggregations partition filtered records by composite keys over selected grouping columns and accumulate finite numeric values for the chosen metric column. Unlike spreadsheet formulas that coerce blank cells to zero and skew averages downward, ZERO.OPS separates row cardinality (COUNT) from valid numeric sample size m:

SUM = sum_{j=1}^{m} x_j , AVG = (1 / m) * sum_{j=1}^{m} x_j , MIN = min(x_j) , MAX = max(x_j)

If a group contains rows where every metric cell is null or non-numeric (m = 0), COUNT reports the exact group row count while SUM, AVG, MIN, and MAX emit explicit NULL values.

4. Deterministic SQL INSERT & Markdown Serialization

For quick database seeding and incident documentation, the studio exports filtered datasets to GitHub-Flavored Markdown tables (escaping pipe characters and flattening newlines) or ANSI-compliant SQL INSERT INTO statements. Table and column identifiers are sanitized to alphanumeric underscore characters and double-quoted, string values double-escape single quotes (' to ''), inferred numeric or boolean fields serialize as bare literals, and empty cells map to SQL NULL.

5. Nested JSON Dot-Notation Flattening & NDJSON Streaming

APIs and observability pipelines frequently emit deeply nested JSON objects or line-oriented NDJSON event logs where optional keys appear inconsistently across records. When ingesting JSON arrays or NDJSON streams, ZERO.OPS traverses nested dictionaries recursively, projecting hierarchical paths such as billing.address.country into flat relational column names while serializing nested arrays compactly. It then computes the union of all discovered keys across every record and normalizes missing attributes to explicit null values so downstream CSV, Markdown, and SQL generators preserve strict columnar alignment.

6. Type-Aware Predicate Filtering

Comparing numeric columns lexicographically produces incorrect filters (for example, string comparison treats "90" > "1000" as true). Before evaluating relational predicates (=, !=, >, >=, <, <=), the filter engine checks whether both the cell value and filter operand parse as finite IEEE-754 numbers. When both are numeric, exact numerical comparison applies; otherwise, string comparison or case-insensitive substring matching (contains) is executed without mutating original row values.