QuickTime movie file

video/quicktime

Safe

Magic Bytes

Offset: 4
6D 6F 6F 76 00

The QuickTime File Format (MOV) is a multimedia container format developed by Apple Inc. designed to hold synchronized tracks of audio, video, and text data. It serves as the structural basis for the MPEG-4 standard and is extensively used in professional video editing, digital camera recording, and multimedia playback on Apple devices. While inherently secure for media consumption, its flexible architecture became the foundational blueprint for the modern ISO Base Media File Format used globally today.

Extension

.mov

MIME Type

video/quicktime

Byte Offset

4

Risk Level

Safe

Validation Code

How to validate .mov files in Python

Python
def is_mov(file_path: str) -> bool:
    """
    Check if file is a valid MOV by magic bytes.
    Signature offset: 4 bytes
    """
    signature = bytes([0x6D, 0x6F, 0x6F, 0x76, 0x00])
    with open(file_path, "rb") as f:
        f.seek(4)
        return f.read(5) == signature

How to validate .mov files in Node.js

Node.js
function isMOV(buffer: Buffer): boolean {
  // Signature offset: 4 bytes
  const signature = Buffer.from([0x6D, 0x6F, 0x6F, 0x76, 0x00]);
  if (buffer.length < 9) return false;
  return buffer.subarray(4, 9).equals(signature);
}
Go
func IsMOV(data []byte) bool {
    // Signature offset: 4 bytes
    signature := []byte{0x6D, 0x6F, 0x6F, 0x76, 0x00}
    if len(data) < 9 {
        return false
    }
    return bytes.Equal(data[4:9], signature)
}

API Endpoint

GET /api/v1/mov
curl https://filesignature.org/api/v1/mov

Related Formats