CSV & TSV Parser & Cleaner

tools/csv-delimitedFormat Readers

Parse CSV, TSV, and pipe-delimited files with explicit encoding and delimiter control.

Streams bulk CSV, TSV, and delimited text files from disk with explicit delimiter, quote, escape, header offset, null token, and encoding settings. Handles multi-hundred-megabyte files without RAM bloat.

Use in chatRead semicolon-delimited weather CSV files, parse European decimal commas, and cast timestamps to UTC.

What CSV & TSV Parser & Cleaner does

CSV & TSV Parser & Cleaner handles messy real-world flat files like semicolon European exports, Latin-1 legacy government drops, preamble banners, and mixed NA/null sentinel strings. Whole files stage cleanly to scratch disk rather than buffering entirely in memory, so large bulk downloads decode reliably.

Explicit reader options in your recipe pin delimiter, header row offsets, encodings, and null tokens so future refreshes never silently misalign columns. Clean tables serve over SQL, Parquet/CSV/JSON downloads, REST APIs, and MCP.

Input & output example

Handles custom delimiters, decimal commas, and explicit null tokens.

Raw delimited text

station_id;date;precip_mm;flag
DE00010382;2026-10-01;4,2;OK
DE00010382;2026-10-02;;MISSING

Typed columns

station_iddateprecip_mmflag
DE000103822026-10-014.2OK
DE000103822026-10-02NULLMISSING

How it works

  1. 1

    Stage delimited files and probe dialect

    Fetch the .csv, .tsv, or delimited .txt payload to scratch disk and inspect delimiter, quote, encoding, and header line offsets.

  2. 2

    Pin strict reader decode options

    Configure delimiter, encoding (UTF-8, Latin-1, Windows-1252), skip_rows, and null_values in the recipe.

  3. 3

    Cast schemas and publish live

    Apply DuckDB SQL typing and quality assertions before publishing to Parquet export, REST API, and MCP.

Try with an agent

Pre-loads CSV & TSV in chat

Ingest European CSV weather logs

Read semicolon-delimited weather CSV files, parse European decimal commas, and cast timestamps to UTC.

Load NYC open data CSV bulk dump

Stream the NYC 311 CSV export, normalize borough names, and publish a queryable Parquet table.

Common use cases

  • Government CSV bulk downloads
  • Pipe-delimited or semicolon European exports
  • Large multi-million-row flat files

Details

Identifier
csv-delimited
Inputs
.csv · .tsv · .txt (delimited)
Outputs
Typed SQL columns
Dataset delivery
Parquet · CSV · JSON · SQL · REST API · MCP

Frequently asked questions

Are multi-hundred-megabyte CSVs held in RAM?

No. Whole-file delimited sources are staged to scratch disk and streamed cleanly.

Does CSV & TSV Parser support semicolon, pipe, or tab delimiters?

Yes. Any single-character delimiter (comma, tab, pipe, semicolon) and custom quote or escape rules can be pinned in decode_options.

Can it skip metadata header rows above the real column names?

Yes. Set skip_rows so government or financial CSV exports ignore banner rows and read the true header line cleanly.

Related tools