Inspect a video’s technical details in the browser
A metadata viewer tells you the resolution, duration, frame rate, container, and codecs of a video file — the facts you need before editing, transcoding, or uploading somewhere with strict requirements. This tool reads all of it locally, so the file never leaves your machine.
How it works
Two complementary sources are combined. First, the file is opened in a hidden HTML5 <video> element; its loadedmetadata event exposes duration, videoWidth, and videoHeight, and requestVideoFrameCallback (where available) is used to estimate the frame rate by counting rendered frames over a short span of media time.
Second, the first few megabytes of bytes are parsed as ISO Base Media File Format boxes with a DataView. The scan reads the major brand from the ftyp box, the timescale and duration from mvhd inside moov, and the codec fourCCs from each stsd sample entry. Those fourCCs — avc1, hev1, mp4a, and so on — are mapped to human-readable codec names.
Tips and notes
- MP4 and MOV give the fullest report; WebM and MKV still show resolution and duration but may not list codecs because they use a different container format.
- The frame rate is an estimate. For variable-frame-rate footage it reflects the playback average rather than a fixed value.
- Container duration (from
mvhd) and playback duration (from the video element) usually match; a mismatch can indicate edit lists or fragmented files. - Only header bytes are read, so even very large files are inspected quickly without loading the whole thing.