Format Atlas

Data

What is an Avro file?

Apache Avro serializes records according to a schema that can be expressed in JSON. Its types include records, arrays, maps, and unions; readers and writers need compatible schemas.

.avroSchema-based record data

When to choose this format

  • Events and data pipelines that track schema versions

When to avoid this format

  • Reading large datasets by selected columns for analytics

Common uses

  • Exchange records with a defined schema

Features

  • Schema-guided serialization
  • Supports records, arrays, maps, and unions

Advantages and disadvantages

Advantages

  • Useful for schema-aware data exchange
  • Handles record-oriented pipelines

Disadvantages

  • Binary data is not directly readable as text
  • Schema changes require compatibility checks

Open and convert

How to open

Use an Avro-aware tool to inspect the schema, fields, types, and records.

How to convert

When converting to JSON or Parquet, verify field names, types, nulls, logical types, record counts, and schema compatibility.

Cautions

  • Agree on schema evolution rules before changing producers or consumers.
  • Track which schema version belongs to each dataset.

FAQ

How does Avro differ from JSON?

Avro uses an explicit schema for serialized data; JSON is a readable text data representation.

Related formats

Compare

Related uses and checks

Choose a format for analytics and data exchange

References and specifications