DevTools Logo

Parquet File Viewer

Parquet File Viewer

Inspect Apache Parquet schemas and preview rows locally in your browser

Choose a Parquet file

Uses hyparquet to parse local Parquet files client-side. View physical and UTF-8 logical types, row count, and a bounded JSON preview.

Examples

Schema mapping

Input
mapParquetSchema([{ name: "schema" }, { name: "id", type: "INT64" }, { name: "label", type: "BYTE_ARRAY", converted_type: "UTF8" }])
Output
[{ name: "id", type: "int64" }, { name: "label", type: "string" }]

The root group drops out and UTF8 bytes surface as strings.

Bounded preview

Input
await inspectParquet(buffer, 2)
Output
{ rowCount: 42, rows: [{ id: 0 }, { id: 1 }] }

num_rows reports the full table while rows holds only the first two records.

About this tool

Parquet File Viewer previews columnar files with inspectParquet(input, limit = 20, reader): the ArrayBuffer wraps into an immutable AsyncBuffer, hyparquet reads footer metadata, and the first min(limit, num_rows) rows return as objects with schemaColumns, rowCount, and rows.

Schema mapping runs through mapParquetSchema(schema): the root group is excluded, physical types map BOOLEAN to boolean and INT64 to int64 with BYTE_ARRAY to binary, converted UTF8 maps to string, and repetition lowercases to required, optional, or repeated.

Behavior is bounded and explicit: empty or non-ArrayBuffer input throws, negative or non-integer limits throw, limit 0 or zero rows skips row reads, and every hyparquet failure rewraps as Could not read Parquet file: detail.

How to use this tool

  1. Load the file

    Pass a non-empty ArrayBuffer plus a preview limit (default 20, 0 for schema only).

  2. Read the schema

    Check mapped column names, logical types, and repetition flags.

  3. Preview rows

    Scan rowCount plus the first N object rows before full ingestion.

Use cases

Previewing uploads

Confirm columns and row counts before launching a full pipeline read.

Checking logical types

Verify UTF8 strings versus raw binaries in the schema plan.

Handling corrupt files

Surface truncated footers as readable errors instead of parser crashes.

Common mistakes

Mistake:Expecting all rows with a large limit.

Fix:Rows cap at min(limit, rowCount) — page with rowStart and rowEnd for deeper scans.

Mistake:Passing limit 0 and expecting rows.

Fix:Limit 0 is schema-only by design and always returns an empty rows array.

Frequently asked questions

What does this tool do?

It previews Parquet files with inspectParquet through hyparquet, returning mapped columns, num_rows as rowCount, and the first min(limit, rowCount) object rows.

How are schema types and limits applied?

The root group is excluded, UTF8 bytes map to string with lowercased repetition, limit 0 returns schema only, and other limits cap row reads at rowCount.

Is my file uploaded or stored?

No. Footer parsing and row preview run entirely in your browser.

Why a non-empty or read error?

Empty buffers throw before parsing, and footer or row failures rewrap as Could not read Parquet file: detail with the underlying message.

References & standards

.env Secret Safety Linter

Validate .env syntax and spot likely leaked credentials or placeholder secrets.

.htaccess Generator

Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

2D Fluid Dynamics & Particle Physics Sandbox

A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

AI Function Calling Schema Generator

Generate function calling JSON schemas from TypeScript interfaces

Algorithm Arena & Data Structure Visualizer

Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

Ansible Playbook Generator

Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML