File Formats

A file format decides how records are laid out on disk. Text formats (CSV, JSON, XML) are easy to open and debug but carry no reliable types and are slow to scan. Binary columnar formats (Parquet) are unreadable in a text editor but are smaller and much faster for analytics.

Page One-line summary
CSV Flat rows, comma-separated. Universal, but no types and full of quoting traps.
JSON Nested key-value text. The language of APIs and event logs.
XML Tagged tree with optional strict schemas. Still common in finance, government and legacy systems.
Parquet Columnar binary with statistics. The default storage format for analytics and lakehouses.

A common pattern: receive CSV or JSON at the edge, then convert it to Parquet as early as possible so everything downstream is typed, compressed and fast.