Written and maintained by CASRAI Editorial Board
Published
On this page
OME-Zarr is an open, cloud-optimized bioimaging data format developed by the Open Microscopy Environment (OME) consortium that stores multidimensional microscopy images as hierarchies of chunked, compressed numerical arrays accompanied by standardized JSON metadata. By decomposing multi-terabyte volumetric, time-lapse, and multiplexed images into discrete, independently accessible spatial blocks, OME-Zarr allows scientific software to stream multi-resolution image pyramids directly from object storage without downloading monolithic files.
Definition and scope of OME-Zarr
Modern biological microscopy generates multidimensional data at unprecedented scale. Advanced imaging modalities—such as light sheet fluorescence microscopy, serial block-face electron microscopy, whole-slide digital pathology, and spatial transcriptomics—routinely produce single datasets spanning hundreds of gigabytes to tens of terabytes. Historically, research laboratories stored these acquisitions in proprietary vendor formats (.czi, .nd2, .lif) or monolithic open containers such as standard TIFF, OME-TIFF, and Hierarchical Data Format 5 (HDF5). While these formats function effectively on local high-performance workstations with high-speed NVMe storage, they encounter severe architectural bottlenecks when deployed across modern cloud infrastructure, distributed computing clusters, and web browsers.
To resolve these data-access limitations, the Open Microscopy Environment consortium launched the Next-Generation File Format (OME-NGFF) initiative, formalizing OME-Zarr as its principal implementation. OME-Zarr bridges the gap between raw numerical array storage and rich biological context. At its core, the format leverages the open Zarr specification, which models multidimensional tensors as collections of chunked, compressed binary objects stored within a hierarchical key-value structure. OME-Zarr extends this foundation by embedding rigorous, community-governed bioimaging schemas directly into group-level JSON metadata.
The operational scope of OME-Zarr encompasses the complete bioimaging lifecycle, from post-acquisition data ingestion to public repository deposition. It provides native representations for five-dimensional image tensors (time, channel, z-slice, y-coordinate, and x-coordinate), multi-resolution pyramidal levels for instantaneous interactive rendering, segmentation label masks, and complex high-content screening (HCS) multi-well plate geometries. By adhering to open community standards, OME-Zarr directly advances the FAIR data principles (Findable, Accessible, Interoperable, and Reusable), ensuring that massive imaging collections archived in international public repositories such as the Image Data Resource (IDR) and the BioImage Archive remain directly queryable and computable over the public internet.
How OME-Zarr works in technical practice
The technical architecture of OME-Zarr relies on a strict separation between metadata organization, hierarchical group relationships, and compressed binary chunk storage. Unlike monolithic files where image headers and raw pixel bytes are packed into a single contiguous binary wrapper, an OME-Zarr dataset is structured as an organized hierarchy of directories or cloud object keys. This structure follows the Zarr Storage Specification version 2, where every group and array is defined by lightweight JSON files.
Directory hierarchy and core structural files
At the root level of an OME-Zarr container sits a metadata file named .zgroup, which designates the directory as a Zarr group capable of containing child arrays and nested subgroups. Beside it, the root .zattrs file stores user and specification-level attributes, including the formal OME-NGFF multiscale configurations. Subdirectories labeled with integers (such as 0/, 1/, 2/, and continuing downward) represent individual resolution layers of the image pyramid. Inside each resolution folder, a .zarray file defines array shape, data type, compression codecs (such as Blosc, Zstandard, or zlib), and multidimensional chunk dimensions. The actual pixel values reside in separate binary chunk files indexed by their dimensional coordinates (for example, c/z/y/x or flat numerical indices).
The OME-NGFF metadata specifications
The formal OME-NGFF specification (such as version 0.4) establishes strict JSON metadata structures that eliminate ambiguity when bioimaging analysis packages parse array contents. The primary metadata components embedded within .zattrs include:
- axes metadata: Specifies the name, type, and physical unit for each dimension of the array. The specification mandates between two and five dimensions, with permitted axis types including
space,time, andchannel. Physical units follow standardized scientific conventions, such asmicrometerornanometerfor spatial dimensions andsecondormillisecondfor temporal acquisitions. - multiscales metadata: Organizes the image pyramid. It contains a list of multiscale objects, linking each discrete array path (e.g.,
0,1,2) to its relative coordinate transformations. This ensures that viewer applications know the exact downsampling factor and spatial registration of each pyramidal resolution layer. - coordinateTransformations: Defines explicit affine transformations—primarily scaling and translation vectors—that map discrete array grid indices to physical world coordinates. This mathematical mapping guarantees accurate spatial measurements regardless of downsampling or non-isotropic z-step acquisitions.
- omero rendering attributes: A transitional metadata block that specifies visualization parameters, including default active channels, 24-bit hex channel colors (such as
#0000FFfor DAPI or#00FF00for GFP), linear or logarithmic transfer functions, and contrast window minimum and maximum intensities. - labels and image-label: Encapsulates segmentation masks, region-of-interest annotations, and machine learning inference outputs within a nested
labels/subgroup. These integer-valued segmentation arrays align directly with the coordinate space of the parent raw image, enabling seamless overlay rendering without modifying original pixel intensities. - plate and well metadata: Provides structured organizational definitions for high-content screening (HCS) assays. The plate group defines rows, columns, and acquisition cycles, while nested well groups index individual fields of view.
Because all metadata is stored as plain UTF-8 JSON text, software tools can inspect image dimensions, acquisition channels, and voxel resolutions via standard HTTP GET requests without reading gigabytes of raw pixel data.
Conversion workflows and implementation steps
Migrating laboratory bioimaging archives to OME-Zarr requires converting proprietary vendor acquisitions into standardized chunked pyramids. The open-source bioimaging ecosystem provides robust command-line utilities and language libraries to automate this process. The standard five-step pipeline below outlines how research facilities convert, validate, and serve OME-Zarr datasets.
- Inspect and catalog raw vendor acquisitions: Identify source files from confocal, light sheet, or slide scanning systems. Facilities routinely handle diverse formats; for an in-depth operational walkthrough on extracting vendor metadata, refer to our guide on converting proprietary microscope files.
- Convert to chunked pyramids using bioformats2raw: Execute the
bioformats2rawcommand-line utility, which leverages Bio-Formats to read vendor-specific binary streams and generate an OME-NGFF compliant Zarr pyramid. Command parameters allow operators to configure chunk dimensions (e.g.,--tile_width 512 --tile_height 512 --chunk_depth 64), select compression algorithms (such as Blosc-Zstandard), and set pyramidal downsampling factors (commonly 2x per level). - Validate container structure and metadata conformance: Run automated schema checks using the
ome-zarr-pylibrary or official OME validation utilities. Verification ensures that all required keys (axes,multiscales, andcoordinateTransformations) conform strictly to specification schemas and that all array chunk shapes align with declared dimensions. - Deploy to scalable cloud object storage: Sync the resulting directory structure to an S3-compatible bucket, Google Cloud Storage, or an on-premises MinIO cluster using high-concurrency transfer utilities. When serving over HTTP, configure Cross-Origin Resource Sharing (CORS) headers to allow client-side web viewers to fetch chunks asynchronously.
- Integrate with downstream analysis workflows: Connect the live OME-Zarr endpoint directly to scientific desktop viewers such as napari, web viewers like Neuroglancer or webKnossos, digital pathology platforms like digital pathology pipelines in QuPath, or spatial multi-omics frameworks such as the SpatialData framework. When a legacy analytical application requires a monolithic file, execute
raw2ometiffto reconstitute an OME-TIFF volume without data loss.
Types and related container concepts
Selecting an appropriate storage architecture requires understanding how OME-Zarr relates to legacy bioimaging containers and general-purpose scientific array formats. Different container models balance local writing speed, random chunk access, and web streaming efficiency. For an extended side-by-side architectural review, see our detailed comparison of OME-TIFF versus OME-Zarr.
The table below summarizes the key architectural characteristics across four prominent scientific data containers used in bioimaging and computational biology:
| Container Format | Data Storage Structure | Cloud Streaming Mechanism | Pyramid Representation | Primary Strength | Operational Bottleneck |
|---|---|---|---|---|---|
| OME-Zarr (v0.4) | Hierarchy of chunked arrays and JSON metadata | Native HTTP/S3 byte-range chunk requests | Native multiscales JSON schema | Massive scalability on cloud object stores | High file count on local POSIX filesystems |
| OME-TIFF | Monolithic binary file with OME-XML header | Limited (requires specialized byte-offset servers) | Pyramidal SubIFD structure | Universal desktop software compatibility | Poor parallel I/O and 4GB/BigTIFF limits |
| HDF5 (BigDataViewer) | Single-file binary container with external XML | Poor (requires whole-file access or complex daemons) | Supported via XML dataset definitions | High-speed local read/write on HPC clusters | Unsuitable for standard cloud object storage |
| Zarr v3 (Sharded) | Chunked array with binary sharding support | Optimized chunk-in-shard byte-range requests | Application-defined multiscale schemas | Drastically reduces object storage key counts | Emerging biological tooling support |
As reflected in the comparison, OME-Zarr provides unmatched efficiency for distributed and cloud-hosted workflows, whereas OME-TIFF remains an established format for local single-file data interchange across legacy desktop software.
Where OME-Zarr matters for laboratory operations and computing infrastructure
The adoption of OME-Zarr introduces profound operational advantages for bioimaging core facilities, research laboratories, and institutional IT infrastructure. Managing multi-user microscopy suites requires balancing petabyte-scale storage costs, high-concurrency analysis pipelines, and long-term data curation.
Bandwidth optimization and zero-download visualization
In traditional laboratory workflows, a researcher wishing to inspect a 200 GB light sheet volume or a 50 GB digital pathology slide must download the entire file from a central storage server to their local workstation. This practice saturates institutional local area networks, exhausts workstation disk space, and introduces substantial latency before analysis can begin. With OME-Zarr, interactive visualization software (such as napari or web-based viewers) streams only the specific chunks covering the user’s immediate field of view and current zoom level. Opening a terabyte-scale image requires transferring merely a few megabytes of low-resolution pyramid chunks, enabling instantaneous pan and zoom without downloading the full acquisition.
High-performance computing and parallel analysis
Monolithic file formats severely constrain parallel processing pipelines. When multiple cluster worker nodes attempt to read from or write to a single OME-TIFF or HDF5 file simultaneously, file-locking contention and serial input/output bottlenecks degrade computational throughput. Because OME-Zarr arrays are subdivided into independent chunk files, hundreds of distributed worker nodes in a high-performance computing (HPC) cluster or cloud compute fleet (e.g., AWS Batch, Google Cloud Vertex AI, or Kubernetes clusters) can process independent spatial subvolumes in parallel without locking conflicts. Image segmentation, feature extraction, and deep learning model training scale linearly across compute nodes.
Mitigating the local filesystem small files problem
While OME-Zarr excels on cloud object storage, deploying large uncompressed hierarchies on local POSIX or NTFS hard drives introduces an operational challenge known as the “small files problem.” A multi-terabyte acquisition subdivided into 64x64x64 chunks can generate hundreds of thousands or even millions of individual small files. On traditional operating systems, this high inode density degrades directory traversal speeds, complicates backup procedures, and wastes physical disk space due to filesystem block-allocation minimums.
To mitigate this challenge, core facilities implement several established technical strategies:
- Optimizing chunk dimensions: Configuring larger chunk shapes (e.g., 256x256x32 or 512x512x1 for volumetric data) during the
bioformats2rawconversion stage to maintain chunk sizes between 1 MB and 10 MB, keeping total file counts manageable. - Local object store emulation: Running high-performance local S3-compatible object stores (such as MinIO or Ceph) rather than relying on native operating system folder hierarchies.
- Zip-backed or tar-wrapped archives: Encapsulating local OME-Zarr directory structures inside single uncompressed zip containers during transfer, which the Zarr Python library can read directly via its ZipStore interface.
- Transitioning to sharded storage: Leveraging modern Zarr specifications that combine multiple logical chunks into larger physical binary shards, drastically reducing discrete key counts while preserving byte-range addressability.
The data table below compares technical performance metrics across bioimaging storage architectures to guide facility infrastructure decisions.
Common misunderstandings about OME-Zarr
Because OME-Zarr emerged at the intersection of general data science and specialized bioimaging, several common misconceptions persist among researchers and imaging facility managers.
Equating base Zarr with OME-Zarr
A frequent misunderstanding is treating base Zarr and OME-Zarr as interchangeable terms. Zarr is a generic, domain-agnostic numerical specification maintained by the NumFOCUS community, utilized extensively across meteorology, geosciences, and machine learning for multidimensional arrays. Base Zarr does not understand biological concepts such as microscope pixel calibration, optical fluorescence channels, or pyramidal resolution hierarchies. OME-Zarr is an application-specific profile defined by OME-NGFF that standardizes biological metadata conventions on top of Zarr storage.
Assuming OME-Zarr must replace TIFF in all settings
Another misconception is that laboratories must immediately replace TIFF formats at the point of microscope acquisition. During live image capture, scientific cameras stream frames at gigabytes per second directly to workstation storage. High-speed streaming to a contiguous local TIFF file remains highly efficient for acquisition hardware. OME-Zarr is optimized as an analytical and dissemination format; the most effective laboratory architecture captures raw data to local high-speed buffers before batch-converting datasets to OME-Zarr for institutional sharing and cloud processing.
Believing segmentation masks require separate incompatible formats
Researchers often assume that image segmentation masks, cell boundaries, and automated annotations must be exported as separate binary files (such as separate TIFF masks or proprietary XML outlines). Under the OME-NGFF specification, segmentation masks are natively integrated within the labels/ group of the parent OME-Zarr container. Labels share the coordinate space, physical transformations, and pyramidal resolutions of the primary image, ensuring synchronized rendering and unambiguous provenance.
Expecting OME-Zarr to be a single download file
Users transitioning from conventional desktop computing frequently search for a single .zarr file and become confused when their file manager displays a directory containing nested numerical folders and JSON files. OME-Zarr is an N-dimensional directory tree or key-value prefix, not a monolithic file. Bioimaging software libraries (such as zarr-python or napari) open the entire root directory as a unified dataset.
Frequently asked questions
What is the difference between Zarr and OME-Zarr?
Zarr is a general-purpose, open-source specification for storing chunked, compressed, N-dimensional numerical arrays across cloud object stores and local disks. It is domain-agnostic and widely adopted in climate science, geophysics, and machine learning. OME-Zarr is a specialized bioimaging specification developed by the Open Microscopy Environment consortium on top of Zarr. It defines standardized JSON metadata schemas for biological coordinate systems, physical units, multi-scale image pyramids, fluorescent channel rendering, segmentation labels, and high-content screening plates.
What is OME-NGFF?
OME-NGFF stands for Open Microscopy Environment Next-Generation File Format. It is the community-governed specification effort led by the OME consortium to establish modern, cloud-native file formats for biological imaging. OME-Zarr represents the primary concrete implementation of the OME-NGFF specification, providing open schemas that enable scalable bioimaging data sharing and cloud computing.
Why use Zarr or OME-Zarr instead of traditional formats like TIFF?
Traditional formats like TIFF and OME-TIFF store data in monolithic binary files that require downloading the entire file to inspect a subregion or slice. As bioimaging acquisitions expand into hundreds of gigabytes or terabytes, monolithic files become impractical to stream over the internet or process in parallel. OME-Zarr subdivides datasets into small, independently compressed chunks stored in cloud object storage, allowing viewers and analysis pipelines to stream only requested spatial regions and resolution layers on demand without file transfer bottlenecks.
How do you open or view OME-Zarr files?
OME-Zarr datasets can be opened locally or streamed remotely using a wide range of open-source bioimaging software. Interactive desktop visualization is supported natively in napari (via the napari-ome-zarr plugin), QuPath, and ImageJ/Fiji (via MoBIE and BigDataViewer). For web browser viewing, tools such as Neuroglancer, webKnossos, and Viv stream OME-Zarr directly from public HTTP or S3 URLs. In Python pipelines, data can be manipulated directly using zarr-python, ome-zarr-py, or the SpatialData library.
Is Zarr only used in biological imaging?
No. Core Zarr is completely domain-agnostic and is used extensively across multiple scientific disciplines. In climate and earth sciences, large consortia store global climate model simulations (such as CMIP6) in Zarr format on public cloud storage. It is also widely deployed in oceanography, geophysics, and machine learning for high-performance tensor storage. OME-Zarr is the specific adaptation of Zarr tailored to the bioimaging community.
Sources
- Nature Methods: OME-NGFF: a next-generation file format for expanding bioimaging data-access strategies, checked 2026-11-20
- Histochemistry and Cell Biology: OME-Zarr: a cloud-optimized bioimaging file format with international community support, checked 2026-11-20
- Open Microscopy Environment: Next-generation file formats (NGFF) specification v0.4, checked 2026-11-20
- Zarr Community: Zarr Storage Specification Version 2, checked 2026-11-20
- Open Microscopy Environment: Bio-Formats image translation library, checked 2026-11-20
Data: Bioimaging Multidimensional Container Formats Comparison
Comparative technical specifications and operational capabilities across bioimaging data storage architectures (OME-Zarr v0.4, OME-TIFF, HDF5 / BigDataViewer, and Zarr v3), compiled from the OME-NGFF specification, Nature Methods (Moore et al., 2021), Histochemistry and Cell Biology (Moore et al., 2023), and Zarr community standards.
Period covered: 2021/2026. Coverage: Global.
| Format Architecture | Primary Storage Model | Cloud Object Streaming | Multiscale Pyramid Support | Max Container Capacity | Parallel Chunk Concurrency | Governing Open Standard |
|---|---|---|---|---|---|---|
| OME-Zarr (NGFF v0.4) | Chunked N-dimensional hierarchy (.zattrs/.zgroup) | Native HTTP/S3 byte-range chunk streaming | Native multiscales JSON pyramid metadata | Exabyte-scale (limited only by object store) | High (lockless independent chunk reads and writes) | Open Microscopy Environment (OME) |
| OME-TIFF | Monolithic binary file with OME-XML header | Limited (requires byte-range index servers or download) | Pyramidal SubIFD structure | 4 GB (Standard TIFF) or 16 EB (BigTIFF) | Low (sequential IFD seek bottlenecks) | Open Microscopy Environment (OME) |
| HDF5 (BigDataViewer) | Monolithic single-file binary container (.h5/.xml) | Poor (requires whole-file access or specialized server) | Supported via external XML dataset definitions | Filesystem dependent (effectively unlimited) | Moderate (MPI-IO or H5FD_DIRECT locking) | The HDF Group |
| Zarr Core (v3 / Sharded) | Chunked hierarchy with binary sharding support | Native cloud-optimized sharded key-value | Application-level / domain schema dependent | Exabyte-scale (limited only by object store) | High (fine-grained lockless chunk concurrency) | Zarr Steering Council / NumFOCUS |
Sources
- OME-NGFF: a next-generation file format for expanding bioimaging data-access strategies (accessed 2026-11-20)
- OME-Zarr: a cloud-optimized bioimaging file format with international community support (accessed 2026-11-20)
- Next-generation file formats (NGFF) v0.4 (accessed 2026-11-20)
- Zarr Storage Specification Version 2 (accessed 2026-11-20)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







