Skip to main content
v2026.11,858 entries · CC-BY 4.0
LAC HealthMedical & Research SuppliesReagents, PPE & instruments — chain-of-custody documented.Fast, traceable sourcing built for regulated research environments, from bench consumables to instrumentation.Shop lac.us CodeCASRAIlac.us

Direct comparison

Parquet vs CSV: File Format Comparison

Parquet vs CSV compared from the specs: RFC 4180 has no formal standard, Parquet has row groups, typed columns and nested data. See when to use each.

Written and maintained by CASRAI Editorial Board

Last updated

Ask CASRAI · free to try

Ask about Parquet vs CSV: File Format Comparison

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

How do CSV, Apache Parquet compare side by side?

The table below compares CSV, Apache Parquet across 11 procurement-relevant dimensions, from specification status through source.

Side-by-side comparison

DimensionCSVApache Parquet
Specification statusRFC 4180 is an informational memo that "does not specify an Internet standard of any kind" and states that "there is no formal specification in existence, which allows for a wide variety of interpretations of CSV files."Apache Parquet is an open source file format; the parquet-format repository hosts "the official specification of the Parquet file format."
OrientationText records, one per line, with fields separated by commas. Records are separated by line breaks (CRLF in RFC 4180; some implementations use other line breaks).Column-oriented: the Parquet overview describes it as a "column-oriented data file format designed for efficient data storage and retrieval."
Physical layoutA flat sequence of records. A header line is optional and, if present, is the first line.Four-byte magic "PAR1", then data split into row groups, each holding one column chunk per column, then the file metadata, a four-byte metadata length and "PAR1" again.
Reading only some columnsEach record is a line of fields written one after another, so fields from different columns sit side by side in the file.The file metadata is written after the data and contains the start location of every column chunk, so a reader reads the metadata first and then locates the column chunks it needs.
Data typesEverything is text. RFC 4180 registers the MIME type text/csv and defines no way to declare a type for a field; the reading tool decides how to interpret each value.Declared physical types: BOOLEAN, INT32, INT64, INT96 (deprecated, used only by legacy implementations), FLOAT, DOUBLE, BYTE_ARRAY and FIXED_LEN_BYTE_ARRAY. The set is intended to be as minimal as possible.
Nested or complex dataRFC 4180 defines flat records of fields; it defines no nested structure.Nested columns are encoded with the Dremel encoding, using definition and repetition levels.
Quoting and dialectsFields may or may not be enclosed in double quotes, and an embedded double quote is escaped by doubling it. These are the points where files from different tools can differ.Not applicable: values are stored under the typed physical types above, not as delimited text.
Writing the fileRecords can be appended line by line.File metadata is written after the data "to allow for single pass writing."
Tool supportThe registered text/csv media type gives CSV a common label for exchange between programs.Supported in many programming languages and analytics tools, according to the Apache Parquet overview.
When to pick eachPick CSV when the file must be plain delimited text with the registered text/csv type and the data are flat records.Pick Parquet when the data need declared types, nested columns, or reading selected columns without going through every record.
SourceIETF RFC 4180, "Common Format and MIME Type for Comma-Separated Values (CSV) Files" (rfc-editor.org/rfc/rfc4180), read 2026-10-29.Apache Parquet documentation: Overview, File Format, Types and Nested Encoding pages (parquet.apache.org/docs), read 2026-10-29.

Common questions

Common questions about CSV vs Apache Parquet

Is Parquet better than CSV?

+

Neither is better in every case. Parquet is column-oriented, stores declared types and supports nested columns; CSV is flat delimited text with the registered text/csv media type. Choose by what the data and the next reader need: declared types, nested columns or column-selective reads point to Parquet; a plain flat text file points to CSV.

Is CSV a standard?

+

Not formally. RFC 4180 is an informational memo that registers the text/csv MIME type and states that it does not specify an Internet standard of any kind; it also notes that no formal specification exists, which allows a wide variety of interpretations of CSV files.

Does Parquet have a formal specification?

+

Yes. The Apache Parquet project documents the file format, and its parquet-format repository hosts the official specification.

How does Parquet store data on disk?

+

A Parquet file starts and ends with the four-byte marker PAR1. Between them the data are split into row groups, each holding column chunks, followed by the file metadata and its length. Readers consult the metadata first to find the column chunks they need.

Does Parquet support nested data?

+

Yes. Parquet encodes nested columns with the Dremel encoding, using definition and repetition levels. RFC 4180 describes CSV as flat records of fields.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →