{"success":true,"data":{"ext":"pptx","name":"Microsoft Office Open XML Format","description":"Microsoft Office Open XML Presentation (PPTX) is a presentation file format introduced by Microsoft and standardized through Ecma International and ISO/IEC as part of Office Open XML. It is used for slide decks in Microsoft PowerPoint and compatible applications, supporting text, images, charts, multimedia, and layout data. PPTX files are ZIP-based containers and may include embedded content or macros in related formats, so files from untrusted sources should be opened with caution.","mime":["application/vnd.openxmlformats-officedocument.presentationml.presentation"],"risk_level":"Safe","signatures":[{"hex":"50 4B 03 04","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"50 4B 05 06","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"50 4B 07 08","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"50 4B 03 04 14 00 06 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["odp","key","otp","pot","pps","ppt"],"usage":{"python":"def is_pptx(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PPTX by magic bytes.\"\"\"\n    signature = bytes([0x50, 0x4B, 0x03, 0x04])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isPPTX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x50, 0x4B, 0x03, 0x04]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsPPTX(data []byte) bool {\n    signature := []byte{0x50, 0x4B, 0x03, 0x04}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Office"}}