NumPy NPY & NPZ Viewer

Open NumPy .npy and .npz files online. View each array’s shape, data type, and a sample of values, including arrays in compressed NPZ archives.

Drop a .npy or .npz file here

Your file stays in your browser.

How to open an NPY or NPZ file online

Choose or drop a NumPy .npy or .npz file. An NPY file stores one array. An NPZ file is a ZIP archive of NPY arrays. Use the array selector to switch between named arrays in an NPZ file, including archives created with numpy.savez_compressed.

Check array shape, data type, and values

The shape lists the length of each axis. For example, [6, 4] means six rows and four columns. The data type (dtype) is shown as stored in the file. Use the value preview to spot-check data, with zero-based indices and samples in the declared C or Fortran storage order.

Supported formats and data types

The viewer reads NPY format versions 1, 2, and 3 and previews standard integers, floating-point numbers, complex numbers, booleans, and fixed-width text. Array headers also provide metadata for structured and Python object arrays. Value previews run locally and use a bounded portion of the selected array. Pickled Python objects are left unopened.

NumPy NPY format specification · NumPy NPZ archive documentation

Show more related tools