Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Video

MP4 Box Inspector

Drop in an MP4, MOV, M4A or any ISO Base Media file and see its full atom (box) hierarchy: the byte offset of each box, its declared size, its four-character type (ftyp, moov, trak, mdia, minf, stbl, stsd, mdat, moof, mfhd and more), how deeply it is nested, and whether it is a container or a leaf box. The tool decodes a few common boxes into a readable summary (ftyp major brand and version, mvhd timescale and duration, tkhd track id, hdlr handler type) and flags the classic structural problems: a box that overruns its parent, a size smaller than the header, a missing mdat or moov, a top-level box that is not ftyp first, an illegal ftyp placement, boxes with a non-letter type code, and a truncated file. It correctly handles the extended 64-bit size field and the uuid box with a 16-byte user type. Everything runs on-device.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Drop a file here, or browse

Accepts: .mp4,.mov,.m4a,.m4v,.3gp,video/mp4,video/quicktime,audio/mp4

Files stay on your device.

Ctrl+V to paste an image

    Options

    Drop a file above to begin

    Your file are processed on this device and never uploaded.

    How it works

    What it does

    The inspector walks the atom (box) hierarchy of an MP4, MOV, M4A or any ISO Base Media file. Every box is reported with its byte offset, declared size, four-character type (ftyp, moov, trak, mdia, minf, stbl, stsd, mdat, moof, mfhd and more), its nesting depth, and whether it is a container or a leaf. A maximum depth setting keeps very deeply nested trees readable.

    How the boxes are arranged

    ISO Base Media files are built from nested boxes, each a size field followed by a type and then either payload or child boxes. The moov box holds the movie metadata — tracks, media information and sample tables — while mdat carries the raw media samples and moof/mfhd appear in fragmented files. The inspector decodes a few common boxes into readable summaries: ftyp major brand and version, mvhd timescale and duration, tkhd track id, and hdlr handler type.

    Extended sizes and uuid boxes

    It correctly handles the extended 64-bit size field, used when a box exceeds what a 32-bit size can express — typically a large mdat — and the uuid box with its 16-byte user type. Getting these right matters because a parser that mishandles them loses track of every following box.

    Structural problems it flags

    The inspector reports the classic structural problems: a box that overruns its parent, a size smaller than the header, a missing mdat or moov, a top-level box that is not ftyp first, an illegal ftyp placement, boxes with a non-letter type code, and a truncated file. Together these catch the usual ways a download is cut short or a file is re-muxed incorrectly.

    On-device and offline

    Everything runs on-device: the file is parsed entirely in your browser with no upload and no network access, so private or large media can be inspected offline. The box tree, summary and findings views let you move between the full hierarchy and a condensed verdict on the file’s health.

    Questions

    Which file types does this cover?

    Anything built on the ISO Base Media File Format: MP4, MOV, M4A and M4V, and 3GP among others. They share the same box structure, so the inspector reads them all. A format like WebM or Matroska uses a different container and needs a different tool.

    Why does an MP4 need both a moov and an mdat box?

    The mdat box holds the actual media samples, while the moov box holds everything needed to interpret them: track definitions, timing tables and sample locations. The tool flags a file missing either one, since a file with payload but no metadata — or the reverse — is not playable.

    What is a fragmented MP4?

    Instead of one large moov at the start, a fragmented file splits movie data into a series of fragments, each introduced by a moof box with its own mfhd header. Streaming formats use this so a player can start before the whole file arrives, and the inspector shows those boxes in the tree like any other.

    Can the file be very large?

    Yes. The inspector reads box headers and offsets rather than loading the whole file, and its extended-size support means a multi-gigabyte mdat box is reported correctly rather than breaking the walk. Everything still runs on-device with no network access.

    See category