We may earn an affiliate commission when you visit our partners.

Data Formats

Save
May 1, 2024 Updated November 18, 2026 20 minute read

At a high level, data formats are the specific ways in which data is organized and stored. Think of them as different languages that computers use to "read" and "write" information. Just like humans use different languages and alphabets, computers rely on various formats to make sense of the vast amounts of data they process. Understanding these formats is crucial for anyone working with data, as the choice of format can significantly impact how efficiently data is stored, accessed, and used.

Working with data formats can be quite engaging. Imagine being a digital archaeologist, deciphering ancient (or just poorly documented) data structures to unlock valuable information. There's also a creative aspect, similar to being an architect, where you design robust and efficient data structures that can handle vast quantities of information and support complex analyses. Furthermore, the field is constantly evolving, presenting continuous learning opportunities as new formats and technologies emerge to address the ever-growing scale and complexity of data.

Introduction to Data Formats

This section will lay the groundwork for understanding what data formats are and why they are fundamental in the digital world. We'll explore their basic definition, how they've changed over time, and their critical role in how we store and share information. We will also introduce some essential terms that will help you grasp the concepts discussed throughout this article.

Definition and Purpose of Data Formats

Share

Help others find this page about Data Formats: by sharing it with your friends and followers:

Reading list

We've selected 19 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Data Formats.
Martin Kleppmann devotes a landmark chapter to data encoding and schema evolution, comparing JSON, XML, Protocol Buffers, Thrift, and Apache Avro at the byte level. Readers learn how forward and backward compatibility govern wire formats across distributed systems and long-lived storage.
Focused squarely on Google Protocol Buffers, Clément Jean walks through proto3 syntax, wire-type encoding, schema evolution rules, and custom validation plugins. Practical examples in Go and Python alongside Buf and Bazel tooling show how binary serialization scales in production.
Tom Marrs provides a hands-on reference for designing, validating, and transforming JSON payloads in real applications. Coverage spans JSON Schema, JSON-LD for linked data, hypermedia patterns, and streaming parsers, bridging casual syntax knowledge with rigorous enterprise data modeling.
Elliotte Rusty Harold and W. Scott Means deliver an enduring reference on XML syntax, namespaces, DTDs, W3C XML Schema, XPath, and XSLT. Even in an era dominated by JSON and binary formats, its thorough treatment of hierarchical document validation and transformation remains invaluable.
Matthew Topol and Wes McKinney explain how the Apache Arrow specification standardizes zero-copy columnar memory layouts across languages. Detailed chapters connect in-memory Arrow buffers to disk formats like Apache Parquet and CSV, eliminating serialization bottlenecks in analytics pipelines.
Tomer Shiran and coauthors unpack how modern data lakehouses organize petabyte-scale tables atop Apache Parquet, Avro, and ORC files. Exploring Iceberg metadata manifests, column statistics, and file-level pruning clarifies how physical data formats drive query performance.
Anatoly Zelenin and Alexander Kro demonstrate how event-streaming architectures rely on structured serialization with Apache Avro, Protocol Buffers, and JSON Schema. Concrete walkthroughs of Schema Registry workflows show how teams enforce data contracts across decoupled producers and consumers.
Hitesh Pattanayak contrasts contract-first binary APIs built with Protocol Buffers against traditional JSON over REST. Readers examine message framing, streaming payloads, and backward-compatible schema changes to design compact, strongly typed service interfaces.
Dennis Wittmann demystifies YAML syntax, anchors, aliases, multi-document streams, and type resolution pitfalls for infrastructure and configuration workflows. Clear examples help engineers avoid indentation bugs and security hazards when authoring Kubernetes, CI/CD, and application manifests.
Joe Reis and Matt Housley frame data serialization, columnar storage, and schema management within the broader data engineering lifecycle. Their architectural perspective helps practitioners select between CSV, JSON, Avro, and Parquet based on ingestion, transformation, and serving workloads.
Jeff Friesen pairs XML and JSON side by side, walking through DOM, SAX, StAX, XPath, and JSON-P parsing models in Java. Comparing tree-based and event-driven APIs builds intuition for memory tradeoffs when processing structured text formats.
Kasun Indrasiri and Danesh Kuruppu illustrate how Protocol Buffers and HTTP/2 work together in high-throughput microservice communication. Practical chapters cover message definition, code generation, and binary payload inspection across polyglot services.
J.J. Geewax codifies structural patterns for representing resources, polymorphic types, pagination, and field masks in JSON and Protocol Buffer APIs. Readers gain reusable conventions for keeping serialized payloads consistent and evolvable over time.
Tom White provides foundational coverage of SequenceFiles, Apache Avro, and Apache Parquet in distributed storage systems. Detailed sections explain container file headers, splittable compression, and schema resolution for batch analytics at scale.
Erik T. Ray introduces XML fundamentals from the ground up, covering well-formedness, entities, namespaces, schemas, and XSLT transformations. Beginners gain a clear mental model of tree-structured markup that still underpins configuration files, SVG, and enterprise messaging.
Michael J. Fitzgerald and Simon St. Laurent distill core XML specifications, XPath axes, XSLT elements, and XML Schema datatypes into a compact desk reference. It serves as a fast lookup companion when maintaining legacy XML feeds or document pipelines.
Bill Chambers and Matei Zaharia examine how distributed compute engines read and write CSV, JSON, Parquet, and ORC datasets. Practical tuning guidance on predicate pushdown, partitioning, and schema inference shows how format choices directly govern execution speed.
Colt McAnlis and Aleks Haecky illuminate the information theory and bit-level algorithms behind Huffman coding, LZ77, and modern file formats. Understanding entropy encoding and dictionary compression deepens appreciation for how Parquet, PNG, and gzip shrink structured payloads.
Richard Gillam unpacks the character encoding standards—UTF-8, UTF-16, and code point normalization—that sit beneath every text-based data format. Mastering byte-order marks, surrogate pairs, and escaping prevents subtle corruption when exchanging JSON, CSV, and XML globally.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser