Skip to main content
v2026.11,986 entries · CC-BY 4.0

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

In summary

CSV is flat delimited text; RFC 4180 is only an informational memo and admits no formal specification exists. Parquet is an openly specified, column-oriented format with declared physical types, Dremel-encoded nested columns and a footer that lets readers locate the column chunks they need. Pick CSV for plain flat text exchange; pick Parquet when you need declared types, nested data or column-selective reads.

How do CSV and Apache Parquet compare side by side?

The table below compares CSV and Apache Parquet across 10 dimensions, from specification status to when to pick each.

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.

Sources

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.

Ask CASRAI · full access

Ask about Parquet vs CSV: File Format Comparison

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

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 open to read, with no account and no card.

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 →