This article introduces NeuroInspector, a local-first open-source tool that runs entirely in the browser with no file upload endpoint, for exploring and annotating hierarchical neuroscience HDF5/NWB datasets. It generates portable project packages with file fingerprints without modifying the original data.
As hierarchical neuroscience datasets grow in scale and structural complexity, understanding the organization of unfamiliar data before formal analysis has become a long-term, widely overlooked research stage whose importance is increasingly evident. The field has historically treated data exploration needs as a series of scattered ad-hoc tasks, with no systematic support designed specifically for this preparatory stage. This gap has motivated the development of a dedicated tool for this stage, which integrates local in-browser HDF5/NWB parsing, structural navigation, sampling previews, and traceable annotation to fully support this long-neglected but essential research phase.
Considerable effort is consumed in untangling scattered file organization, making it difficult to quickly focus on the actual scientific content carried by the dataset itself.
NeuroInspector is positioned as a complement to, not a replacement for, the existing tool ecosystem. It does not replace dedicated viewers such as h5web/myHDF5, validation tools such as NWB Inspector, nor PyNWB, HDMF, or the various MATLAB- and R-based downstream analysis pipelines. The tool's core design orientation prioritizes structural understanding of datasets rather than direct numerical analysis. By integrating the full chain of navigation, interpretation, annotation, and documentation within a single environment, it shifts researchers' focus from understanding file organization to understanding the scientific content corresponding to those files.
The paper presents NeuroInspector, a lightweight browser-based exploration environment for HDF5 and NWB format files. Built on HDF5 parsing implemented via WebAssembly, it runs entirely on the client side; even the hosted deployment version sets up no file upload interface whatsoever, allowing users to open target files directly from their local disks. The tool integrates structural navigation, metadata inspection, sampled data previews, and path-level annotation, generating portable project packages with file fingerprints that preserve all exploration decisions completely without modifying the original data files. Together with the interface showcase that follows, readers can intuitively grasp the layout logic of the tool's three core panels: local file access, structure overview, and sampled previews, and path-level inspection.
NeuroInspector's core positioning is not as a general-purpose data analysis or data validation platform; its design goal is to provide a dedicated, traceable, independent working environment for the pre-analysis exploration stage before formal analysis pipelines begin.
NeuroInspector integrates structural exploration, metadata and numerical inspection, path annotation, project record export, and transition to downstream analysis into one continuous, complete workflow. The entire system is designed around four core principles: local-first execution, zero-install accessibility, structure-centric inspection, and traceable documentation. The local-first execution design accommodates the fact that neuroscience datasets are typically large in size, managed centrally by institutions, and often subject to data-sharing restrictions, avoiding the inconvenience and compliance risks of uploading data in most research scenarios. The figure below offers an intuitive comparison between the traditional fragmented exploration mode and NeuroInspector's workflow, while also mapping the coverage of the four design principles at a glance.
NeuroInspector is a single-page web application that runs entirely within the browser, built on the React 19, TypeScript, and Vite stack. It uses h5wasm, a WebAssembly build of the HDF5 C library, to parse HDF5 files and HDF5-based NWB files directly in the browser. The application is configured with no file upload backend interface whatsoever; the deployment hosted on GitHub Pages serves only static page resources, and all data processing logic executes within the browser sandbox on the user's local device, never transferring the user's datasets to remote servers.
The hosted version for ordinary users only requires a browser with WebAssembly support and is compatible with mainstream desktop browsers such as Chrome, Edge, Firefox, and Safari. No local programs need to be downloaded or installed beforehand, making it genuinely zero-install. Only developers building from source need a Node.js runtime environment of version 22 or above.
The complete exploration workflow ultimately expands the user's selected dataset paths to the full acquisition scan range, including all 6 child items and their parent group — 7 paths in total — which are then collected into a project package. This package is a file with the .neuroinspector.json extension that records the format version, export timestamp, source file identity (file name, byte size, SHA-256 file fingerprint), the 7 selected paths, and an annotations array. The three sub-panels in the figure walk through the full workflow, offering an intuitive understanding of the end-to-end logic from path selection to export to reconnection verification.
The paper explicitly contrasts project packages with file fingerprints against plain-text notes. Plain-text notes cannot provide a machine-verifiable binding to the source file; once the source file is renamed, moved, copied, or reprocessed, the correspondence between the original records and the source file becomes invalid. In contrast, the fingerprint in a project package is generated directly from the file's content and does not depend on the file name or storage location, so even if the source file is renamed or moved, the association can still be verified. The project package can either be reopened in NeuroInspector to restore previously recorded path selections and annotations, or be programmatically parsed by downstream scripts. This structured approach is a deliberate trade-off made by the authors to ensure that exploration results remain traceable.
The currently released v0.1.0 version has a deliberately narrowed feature scope. NeuroInspector supports only the exploration and annotation of hierarchical neuroscience datasets, and does not provide validation, analysis, or modification of the original files. The file sizes it can handle are constrained by the memory available to the browser. Features planned earlier, such as export of executable subsets and NWB best-practices validation, are not included in the current release.
NeuroInspector is open-source software released under the Apache License 2.0, with three public access channels: a source code repository hosted on GitHub, an online application that can be used directly without installation, and a fixed-version release package archived on the Zenodo platform. Running the tool only requires a modern desktop browser with WebAssembly support, covering four mainstream products: Chrome, Edge, Firefox, and Safari. If building from source, Node.js version 22 or above is additionally required; alternatively, configuration can be completed directly using the project's provided Conda environment with the specified Python 3.12 and Node.js 22 versions. The file formats supported by the current v0.1.0 version are .h5, .hdf5, and .nwb.