I BUILT A TOOL THAT READS 650 FILE FORMATS?! sfile — One Table, 849 Formats, and a Header Decoder for Every File You Own!

sfile is a super file command that decodes the headers of 650 file formats — from 3DS to Zstandard — from one generated table. 849 formats, 772 real samples, open source on GitHub, install in 5 minutes.

I BUILT A TOOL THAT READS 650 FILE FORMATS?! sfile — One Table, 849 Formats, and a Header Decoder for Every File You Own!
sfile hero: a glowing magnifying glass over a cascade of file icons, with hexadecimal bytes and decoded header fields streaming out

Your computer already has a file command. It tells you a file is a PNG image, or a ZIP archive, or ASCII text — and then it stops. sfile doesn't stop. It is a file command that does detailed file header decoding: given any file, it identifies the format and prints the header as a uniform table — field names, offsets, sizes, and values. It knows 849 formats, and it fully decodes 650 of them, from 3DS to Zstandard, from a single generated table. The whole thing is open source under the MIT license: github.com/cnmcdee/sfile. This article is the document: what the tool is, how the engine works, how the 849 formats were collected and tested, the complete list of the 650 passing formats, and the honest tail — the 97 it can only identify, the 2 it gets wrong, and the 104 with no sample file at all. No source is re-pasted here. The repo is the source of truth.

WHAT SFILE IS

sfile takes a file and answers two questions: what format is this? and what is in its header? The answer is a uniform table, whatever the format:

$ sfile samples/task-001.3ds
File: samples/task-001.3ds (10654 bytes)
Format: Three DS (.3DS) — task 1
Identified by: magic
Magic: 4d 4d at offset 0
Header (little-endian):
  offset   size   field                        value
  0        2      chunk_id                     19789
  2        4      chunk_length                 10654

That is a real run against a real sample file. A text format decodes differently — there is no binary header, so sfile prints the document type and the first line:

$ sfile samples/task-544.php4
File: samples/task-544.php4 (654 bytes)
Format: PHP4 file (.PHP4) — task 544
Identified by: extension
Document type: text
First line: <?php echo "kjd"; echo "zkd"; echo "ejf"; ...

And a file it cannot place at all says so, with a hex dump instead of a guess:

$ sfile /tmp/mystery
File: /tmp/mystery (64 bytes)
Format: unknown (no magic match, no known extension)
First 64 bytes:
  a6 04 79 f6 e4 26 5b b3 57 4b 4a 09 5a 78 28 a1 d7 37 3f 0e ad 2f 08 8c 57 ea 4d 94 a8 16 04 d4 40 63 4b 58 ce 4e 6b 6f d9 40 a4 a6 e9 2b 6c a8 9d a1 43 bf 02 6e b0 b9 4f 18 df 58 7a 1d ed a0
exit=3

Exit codes are 0 identified, 1 usage error, 2 file unreadable, 3 unknown format. sfile --list prints all 849 known formats (task, extension, name).

HOW THE ENGINE WORKS — ONE TABLE, NO PER-FORMAT CODE

The engine, src/sfile.c, contains no per-format decode logic at all. Every fact about every format lives in one generated table, src/formats.h — one entry per format: extension, name, magic bytes and offset, a field list of name/offset/size/kind, and endianness. The table is generated from src/formats.json by tools/gen_formats.py, from the collected C/C++ reference code for each format plus a curated magic table and hand overrides. The engine walks the table, matches magic, and formats the fields. A format is never guessed: the decode is derived from the reference code, a published format spec (the hand overrides), or a verified sample file — and the derivation is recorded per format in src/formats.json.

Identification order. Longest magic match wins. Several formats share a magic — every ZIP-based format shares PK\x03\x04, every RIFF format shares RIFF — and when that happens the filename extension disambiguates and the other candidates are listed. Sixty-one formats share the PK\x03\x04 magic:

$ sfile /tmp/unk.qqq
File: /tmp/unk.qqq (18 bytes)
Format: Three MF (.3mf) — task 6
Identified by: magic
Magic: 50 4b 03 04 at offset 0
Note: 61 formats share this magic; extension disambiguated to .3mf.
Other candidates: .AMLX (task 27) .APK (task 34) .CDR (task 81) .DN (task 143)
.DOCM (task 147) .DOCX (task 148) .DOTX (task 150) .EPUB (task 185) .FFAPX (task 223)
.FMU (task 231) ... and 50 more

If no magic matches, the extension is used. If neither matches, sfile reports "unknown" with a hex dump. Endianness is per-format, detected from the reference code (use of ntohl/ntohs/big-endian readers) or from the spec — PNG, TIFF, and Java class files are big-endian; the default is little-endian. Text formats decode to document type plus root element and version attribute (XML), first key (JSON), or first line (plain text). Container formats inherit a fixed header from their container: ZIP local header, RIFF, ftyp, Ogg page, gzip, RAR 4.x, IFF FORM, PDF, TIFF, OLE/CFB, ar, and MZ/DOS.

The table's derivations, for all 849 formats:

DerivationCountMeaning
text250XML/JSON/text format — decoded by the text decoder (root element, version, first line)
struct199struct fields in order, sizes from C types
override173hand-written, spec-derived layout — verified against real samples
unknown135nothing derivable from the reference code — identified by magic/extension only, hex dump shown
container48inherits a container's fixed header (ZIP, RIFF, ftyp, Ogg, gzip, RAR, IFF, PDF, TIFF, OLE, ar, MZ)
readseq26fields + offsets from a parsed sequential read sequence (highest confidence)
nocode9no C/C++ code on the task page, no layout derived
nocode-text4no C/C++ code, but the format is text
magic-only3magic known, no fixed field layout
explicit2C++ class reading data[N] / data + N with named properties

308 formats have a magic signature; 389 have a field layout.

THE NUMBERS — 650 OF 853

The test harness counts 853 tasks: the 849 formats that exist, plus 4 task numbers with no published page at all (202, 214, 292, 389). The latest clean full re-run, with all samples on disk:

ResultCountMeaning
PASS650identified correctly and a header decode produced
PARTIAL97identified, but no fixed header layout exists
FAIL2the 2 unresolvable duplicates, 312 (.INI) = 311 and 520 (.PBO) = 519
NO SAMPLE104no real sample file found yet

Of the 650 passes, 403 decode a binary header (up to 49 fields in a single header) and 247 are text formats (identified, then decoded by the text decoder). By identification method: 309 by magic bytes, 341 by filename extension. By derivation: text 245, override 167, struct 167, container 46, readseq 21, nocode-text 2, explicit 2. The 772 sample files on disk (1.9 GB) came mostly from the task pages' own download links (320), then web search (194), with the rest already on disk, generated, or from the web.

INSTALL — PROVEN FROM A FRESH CLONE

These are not instructions copied from a README and hoped for. They were run, verbatim, against a fresh clone of the GitHub repo, and the results are below.

$ git clone https://github.com/cnmcdee/sfile.git
$ cd sfile
$ git log --oneline -1
3319ba3 PARTIAL round: 650 PASS / 97 PARTIAL / 2 FAIL / 104 NO SAMPLE

$ make
cc -O2 -Wall -Wextra -std=c11 -o sfile src/sfile.c
MAKE EXIT: 0

$ ./sfile --list | tail -2
860    .ZST     Zstandard archive
849 formats

One file, one compiler, no dependencies — gcc -O2 -Wall -Wextra -std=c11, no libraries at all. make test runs the per-format test loop over samples/; make install installs to /usr/local/bin (PREFIX=... to change it). One thing the fresh clone does not have: the sample files. They are gitignored (1.9 GB of real files from all over the internet), so a clone's samples/ is empty and make test needs the samples to mean anything. The recorded latest run lives in tests/results.json in the repo — that is the ground truth the counts above come from.

USAGE

sfile <file>        identify + decode the header
sfile --list        list all known formats (task, extension, name)
sfile --help

Point it at anything: a photo, an archive, a document, a disk image, a 3D model, a save file. If the format is in the table, you get the header. If it is not, you get "unknown" and a hex dump — never a confident wrong answer.

THE 650 PASSING FORMATS — COMPLETE REFERENCE

Every format below is verified: a real sample file on disk, identified correctly by sfile, with the header decoded. Task is the number from fileformat.vpscoder.com; "Identified by" is how sfile placed it (magic bytes, or filename extension where the magic is shared or absent); "What sfile decodes" is the header fields it prints, or the text decode where the format has no binary header.

TaskExtFormatIdentified byWhat sfile decodes
1.3dsThree DSmagic2 fields: chunk_id, chunk_length
2.3dsxThree DSXextension18 fields: magic, header_size, reloc_header_size, format_version, flags, code_segment_size, rodata_segment_size, data_segment_size, bss_segment_size, smdh_offset, smdh_size, romfs_offset, code_abs_relocs, code_rel_relocs, rodata_abs_relocs, rodata_rel_relocs, data_abs_relocs, data_rel_relocs
3.3g23GPP2 videomagic4 fields: box_size, box_type, major_brand, minor_version
4.3gp3GPP videomagic4 fields: box_size, box_type, major_brand, minor_version
5.3gx3GPP2 video (3GX)magic4 fields: box_size, box_type, major_brand, minor_version
6.3mfThree MFmagictext — first line / root element / version
7.4th4TH fileextensiontext — first line / root element / version
8.7zSeven Zipmagic6 fields: major, minor, start_crc, next_offset, next_size, next_crc
9.aA filemagic3 fields: timestamp, uid, gid
11.accdbAccess database (ACE)magic2 fields: version_marker, signature
13.acoACO fileextension5 fields: space, v1_version, v1_count, v2_version, v2_count
15.adxAdxmagic11 fields: magic, data_offset, encoding_type, block_size, sample_bitdepth, channel_count, sample_rate, total_samples, highpass_freq, version, flags
17.agdaAGDA fileextensiontext — first line / root element / version
18.agrAGR Fileextensiontext — first line / root element / version
19.ahkAHK fileextensiontext — first line / root element / version
20.aiAI Filemagic2 fields: magic, version
21.aifcAIFCmagic27 fields: val, exp, mant, len, hi, lo, count, ck_size, format_version_timestamp, num_channels, num_sample_frames, sample_size, sound_data_offset, sound_data_block_size, num_markers, id, position, num_comm, timestamp, marker_id, base_note, detune, low_note, high_note, low_velocity, high_velocity, gain
22.aiffAIFFmagic18 fields: len, formSize, chunkSize, ver, channels, frames, offsetVal, blockSize, num, mid, posVal, val, gain, pm, begin, end, ts, count
26.amlAMLextension9 fields: signature, length, revision, checksum, oem_id, oem_table_id, oem_revision, creator_id, creator_revision
27.amlxAmlxmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
28.amplAmpl Fileextensiontext — first line / root element / version
29.amrAMR filemagic2 fields: magic, first_frame_header
30.amvAmvmagic3 fields: signature, file_size, form_type
31.aniANI filemagic12 fields: riff_sig, riff_size, riff_type, cbSize, cFrames, cSteps, cx, cy, cBitCount, cPlanes, JifRate, flags
32.annAnnextensiontext — first line / root element / version
33.apeAPE fileextension18 fields: cID, nVersion, nDescriptorBytes, nHeaderBytes, nSeekTableBytes, nHeaderDataBytes, nAPEFrameDataBytes, nAPEFrameDataBytesHigh, nTerminatingDataBytes, cFileMD5, nCompressionLevel, nFormatFlags, nBlocksPerFrame, nFinalFrameBlocks, nTotalFrames, nBitsPerSample, nChannels, nSampleRate
34.apkApkmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
35.arcArcextension5 fields: method, compressed_size, timestamp, crc, original_size
36.artArt Filemagic6 fields: signature, version, unknown1, padding, width, height
37.asaxAsaxextensiontext — first line / root element / version
38.ascxAscxextensiontext — first line / root element / version
39.asfASFmagic5 fields: header_guid, header_size, num_header_objects, reserved1, reserved2
40.ashxAshxextensiontext — first line / root element / version
42.aspxASPXextensiontext — first line / root element / version
43.asxASXextensiontext — first line / root element / version
44.at3AT3 filemagic9 fields: audio_format, channels, sample_rate, byte_rate, block_align, bits_per_sample, extra_size, num_samples, data_size
46.auAU Filemagic6 fields: magic, offset, data_size, encoding, sample_rate, channels
47.aviAVI videomagic18 fields: signature, file_size, form_type, list_id, hdrl_size, hdrl_type, avih_id, avih_size, microsec_per_frame, max_bytes_per_sec, padding_granularity, flags, total_frames, initial_frames, streams, suggested_buffer_size, width, height
48.avifAVIFmagic4 fields: box_size, box_type, major_brand, minor_version
49.awkAWK fileextensiontext — first line / root element / version
50.axAX filemagic17 fields: signature, bytes_last_page, pages, relocations, header_size, min_alloc, max_alloc, ss, sp, checksum, ip, cs, reloc_table_offset, overlay, oem_id, oem_info, pe_header_offset
56.basBAS fileextensiontext — first line / root element / version
57.batBat Fileextensiontext — first line / root element / version
58.bdfBDF fileextension2 fields: encoding, bitmap_rows
60.beamBEAM fileextension3 fields: id, magic, beam_id
61.bibBibextensiontext — first line / root element / version
62.binBin Fileextension18 fields: pingNumber, reserved1, reserved2, depth, draft, indexOffset, gateHi, gateLo, scaleWidth, endOfScale, motionStatus, motionHeave, motionRoll, motionPitch, tideCorrection, sampleCount, sampleResolution, sampleFrequency
63.blendBlend Filemagic4 fields: magic, pointer_size, endianness, version
65.bmpBMP imagemagic9 fields: signature, file_size, reserved, data_offset, header_size, width, height, planes, bits_per_pixel
68.bskBSK fileextension3 fields: version, cloudDensity, fogDensity
69.bsonBSONextension2 fields: total_length, first_element_type
70.bspBSPextension4 fields: fileofs, filelen, lumpVersion, fourCC
71.byuBYU fileextensiontext — first line / root element / version
72.bz2bzip2 archivemagic2 fields: magic, block_size
73.cC fileextensiontext — first line / root element / version
74.c32Propertymagic14 fields: e_ident, e_type, e_machine, e_version, e_entry, e_phoff, e_shoff, e_flags, e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx
75.cabCAB cabinet archivemagic13 fields: signature, reserved1, cabinet_size, reserved2, first_file_offset, reserved3, version_minor, version_major, folder_count, file_count, flags, set_id, cabinet_index
76.cblCBL fileextension3 fields: total_lines, encoding, line_endings
77.cbtTar Entrymagic16 fields: name, mode, uid, gid, mtime, checksum, type_flag, link_name, magic, version, uname, gname, dev_major, dev_minor, prefix, data_size
78.ccCC fileextension4 fields: hash, offset, comp_size, num_files
80.cdfCDF filemagic12 fields: magic1, magic2, record_size, record_type, gdr_offset, version, release, encoding, flags, increment, identifier, copyright
81.cdrCDRmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
82.cdrCDRmagic3 fields: signature, file_size, form_type
83.cdxmlCDXMLmagic2 fields: tag, attrs
86.chmCHMmagic7 fields: signature, version, header_size, unknown, timestamp, language, guid
88.ciaCIAextension19 fields: header_size, type, version, cert_size, ticket_size, tmd_size, meta_size, content_size, content_flags_sample, num_flags_sample, ticket_sig_type, title_key, ticket_id, title_id, common_key_index, tmd_sig_type, tmd_title_id, content_count, core_version
89.cifCIF fileextension3 fields: block_count, comment_count, error_count
90.classJava class fileextension3 fields: magic, minor_version, major_version
91.clsCLSextension5 fields: file_type, num_samples, num_classes, num_class_names, num_labels
92.cmdCMD fileextension4 fields: rsx_index, fixups_offset, flags, first_type
94.cmodPropertymagic2 fields: magic, materialCount
95.cmodPropertymagictext — first line / root element / version
96.cnoffCNOFF fileextension5 fields: n_vertices, n_faces, n_edges, nv, color_count
97.cobCob File Cextensiontext — first line / root element / version
99.coffCOFF fileextension7 fields: machine, numberOfSections, timeDateStamp, pointerToSymbolTable, numberOfSymbols, sizeOfOptionalHeader, characteristics
100.colCOL fileextension3 fields: id, version, num_entries
102.compileCompile Filemagictext — first line / root element / version
105.cpioCpiomagic13 fields: magic, device, inode, mode, uid, gid, nlink, rdev, mtime_hi, mtime_lo, namesize, filesize_hi, filesize_lo
106.cplCPLextensiontext — first line / root element / version
107.cppCppextensiontext — first line / root element / version
109.cr2CR2magic3 fields: byte_order, magic, first_ifd_offset
110.cr3CR3magic4 fields: box_size, box_type, major_brand, minor_version
111.craftCraft Fileextensiontext — first line / root element / version
112.craiCRAImagic6 fields: magic, method, flags, mtime, extra_flags, os
113.crtCRT filemagic15 fields: signature, header_length, version, hardware_type, exrom, game, revision, reserved, name, chip_sig, packet_len, chip_type, bank, load_addr, image_size
115.csoCSO filemagic2 fields: magic, num_blocks
116.csprojCS Projextensiontext — first line / root element / version
117.cssCSS Fileextensiontext — first line / root element / version
118.csvpropertiesextension3 fields: num_rows, num_cols, delimiter
119.cubeCUBE fileextension20 fields: ident, title, allowedSerials, pcByteOrder, isSecured, crc32, key, sizeOfItem, sizeOfPoint, hdrItems, maxPts, loLaScale, headerOffset, dataOffset, alignment, style, altStyle, timeOut, name, radio
120.cubeCUBE filemagictext — first line / root element / version
121.curCurmagic19 fields: width, height, colorCount, entryReserved, hotspotX, hotspotY, imageDataSize, imageOffset, bmpHeaderSize, bmpWidth, bmpHeight, bmpPlanes, bmpBitCount, bmpCompression, bmpImageSize, bmpXPelsPerMeter, bmpYPelsPerMeter, bmpColorsUsed, bmpColorsImportant
124.daeDAE Processormagictext — first line / root element / version
125.dafDAFextension14 fields: locidw, nd, ni, locifn, fward, bward, free, locfmt, ftpstr, ss, nc, reservedCount, recordLength, endianness
126.dartDARTextensiontext — first line / root element / version
127.datDatmagic12 fields: signature, primary_sequence, secondary_sequence, last_written, major_version, minor_version, file_type, file_format, root_cell_offset, hive_bins_size, clustering, file_name
128.datsDATSextensiontext — first line / root element / version
129.dbDB filemagic2 fields: header, file_signature
131.dbcDBCextensiontext — first line / root element / version
132.dbfDBFextension14 fields: type, length, decimals, version, year, month, day, num_records, header_length, record_length, transaction_flag, encryption_flag, mdx_flag, language_id
134.debDebmagic8 fields: signature, first_member_name, first_member_mtime, first_member_uid, first_member_gid, first_member_mode, first_member_size, first_member_magic
135.demDEMextension2 fields: file_name, dem_level_code
136.dgnDGN Handler Cmagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
137.dicomDICOM filemagic2 fields: preamble, dicom_magic
139.diredDIRED filemagic3 fields: fileType, hardLinks, count
140.divxDIVX filemagic12 fields: file_signature, frame_rate, total_frames, num_streams, video_width, video_height, duration, video_codec, video_bit_depth, audio_codec, audio_channels, audio_sample_rate
141.dmgDMGextension24 fields: signature, version, headerSize, flags, runningDataForkOffset, dataForkOffset, dataForkLength, rsrcForkOffset, rsrcForkLength, segmentNumber, segmentCount, dataChecksumType, dataChecksumSize, dataChecksum, xmlOffset, xmlLength, checksumType, checksumSize, checksum, imageVariant, sectorCount, reserved2, reserved3, reserved4
142.dmpDMP filemagic7 fields: signature, version, numberOfStreams, streamDirectoryRva, checksum, timeDateStamp, flags
143.dnDN filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
144.dngDNGmagic3 fields: byte_order, magic, first_ifd_offset
145.doDO Fileextensiontext — first line / root element / version
146.docDoc Propertymagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
147.docmDocmmagictext — first line / root element / version
148.docxDocxmagictext — first line / root element / version
149.dotDotextensiontext — first line / root element / version
150.dotxDotx Propertymagictext — first line / root element / version
152.dpxDPXmagic9 fields: magic, offset_to_image_data, version, file_size, ditto_key, generic_header_length, industry_header_length, user_header_length, file_name
153.drcDRCextension6 fields: byte, major_version, minor_version, enc_type, enc_method, flags
154.dscDscextensiontext — first line / root element / version
155.dtaDTA fileextension3 fields: K, N, map
156.dtdDTDextensiontext — first line / root element / version
157.dvcDVC Fileextensiontext — first line / root element / version
158.dwfDwfmagic1 field: header
159.dwgDWGextension8 fields: version, maintenance_version, preview_address, code_page, security_flags, summary_address, title, subject
160.dxDX Filemagictext — first line / root element / version
161.dxfDXFextensiontext — first line / root element / version
163.e00E00extensiontext — first line / root element / version
164.e2dE2Dmagictext — first line / root element / version
165.e57E57extension7 fields: fileSignature, majorVersion, minorVersion, filePhysicalLength, xmlPhysicalOffset, xmlLogicalLength, pageSize
166.ebdEBD filemagic4 fields: section_count, pin_count, path_count, ref_count
167.ecEC fileextension6 fields: blockType, magic, version, start, dump, classId
170.edfEDFextension5 fields: physMin, physMax, digMin, digMax, nrSamples
171.efiEFI filemagic2 fields: e_magic, e_lfanew
173.elEL fileextension14 fields: e_ident, e_type, e_machine, e_version, e_entry, e_phoff, e_shoff, e_flags, e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx
174.elcELC fileextension3 fields: referenceLabel, unitPosition, numberPositions
175.elfELF executablemagic9 fields: magic, class, data_encoding, version, os_abi, abi_version, type, machine, version32
176.emailEmail Fileextensiontext — first line / root element / version
177.emakerEMAKER fileextensiontext — first line / root element / version
178.emakerEmfmagic14 fields: recordSignature, version, bytes, records, handles, reserved, nDescription, offDescription, nPalEntries, cbPixelFormat, offPixelFormat, bOpenGL, micrometersX, micrometersY
179.emlEMLextensiontext — first line / root element / version
180.emzEMZmagic6 fields: magic, method, flags, mtime, extra_flags, os
181.eotEOTextension36 fields: EOTSize, FontDataSize, Version, Flags, FontPANOSE, Charset, Italic, Weight, fsType, MagicNumber, UnicodeRange1, UnicodeRange2, UnicodeRange3, UnicodeRange4, CodePageRange1, CodePageRange2, CheckSumAdjustment, Reserved1, Reserved2, Reserved3, Reserved4, Padding1, FamilyNameSize, Padding2, StyleNameSize, Padding3, VersionNameSize, Padding4, FullNameSize, RootStringSize, RootStringCheckSum, EUDCCodePage, Padding5, SignatureSize, EUDCFlags, EUDCFontSize
182.epEP Filemagictext — first line / root element / version
184.epsEPSmagic8 fields: magic, ps_start, ps_length, metafile_start, metafile_length, tiff_start, tiff_length, checksum
185.epubEpubmagictext — first line / root element / version
186.erlERLextensiontext — first line / root element / version
187.es6ES6 fileextensiontext — first line / root element / version
192.etlETL fileextension17 fields: bufferSize, savedOffset, currentOffset, referenceCount, timeStamp, sequenceNumber, clockType, frequency, loggerId, processorIndex, alignment, state, offset, bufferFlag, bufferType, referenceTimeTime, referenceTimeFreq
194.evtEVT fileextension12 fields: header_size, signature, major_version, minor_version, start_offset, end_offset, current_record_number, oldest_record_number, max_size, flags, retention, end_header_size
195.evtxEVTX fileextension19 fields: file_magic, first_chunk_num, next_record_num, header_size, minor_version, major_version, header_block_size, chunk_count, flags, file_checksum, chunk_magic, first_rec_log, last_rec_log, first_rec_file, last_rec_file, chunk_header_size, last_rec_offset, next_rec_offset, chunk_checksum
196.exEXextension6 fields: region_count, group_count, shape_count, field_count, node_count, element_count
197.exeExemagic7 fields: e_magic, e_lfanew, Machine, NumberOfSections, Magic, Name, VirtualSize
198.expEXP fileextension7 fields: machine, num_sections, timestamp, symbol_table_ptr, num_symbols, opt_header_size, characteristics
199.exrEXRmagic2 fields: magic, version
200.exsExs Filemagic6 fields: type_raw, payload_size, field_8, field_12, signature, name
201.fF fileextensiontext — first line / root element / version
207.f4vF4Vmagic4 fields: box_size, box_type, major_brand, minor_version
209.f90F90extensiontext — first line / root element / version
210.f95F95extensiontext — first line / root element / version
213.factorFactorextensiontext — first line / root element / version
215.fastqFASTQ fileextension4 fields: num_reads, total_bases, min_qual, max_qual
216.fbFB fileextensiontext — first line / root element / version
217.fb2FB2 filemagictext — first line / root element / version
218.fbxFBX filemagic2 fields: magic, version
219.fchkFCHKextension5 fields: count, title, type, method, basis
220.fcsFCS flow cytometrymagic5 fields: version, delimiter, offsets, num_keywords, par
221.fenFEN fileextension8 fields: line, piece_placement, active_color, castling, en_passant, halfmove_clock, fullmove_number, count
222.ffFF filemagic1 field: version
223.ffapxFFAPX filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
224.ffnFFN fileextension2 fields: numSequences, totalSequenceLength
225.fitFIT fileextension7 fields: header_size, protocol_version, profile_version, data_size, data_type, header_crc, file_crc
226.fitsFitsextension4 fields: keyword, value_indicator, value, comment
227.flacFLAC audiomagic4 fields: magic, block_header, min_blocksize, max_blocksize
228.flameFlameextensiontext — first line / root element / version
229.flpFLPmagic7 fields: magic, header_size, format, num_channels, ppq, data_magic, data_size
230.flvFLV Flash videomagic4 fields: signature, version, flags, header_size
231.fmuFMUmagictext — first line / root element / version
232.fnaFNAextensiontext — first line / root element / version
235.fodgFODG filemagictext — first line / root element / version
236.fodpFODPmagictext — first line / root element / version
237.fodsFODS filemagictext — first line / root element / version
238.fodtFODT filemagictext — first line / root element / version
239.forFOR fileextension3 fields: num_lines, properties, violations
240.fqlFQL fileextensiontext — first line / root element / version
241.fragFragextensiontext — first line / root element / version
242.frqFREQ fileextensiontext — first line / root element / version
243.frmFrmextension33 fields: magic, frm_version, legacy_db_type, names_length, io_size, num_forms, unused_alignment, tmp_key_length, rec_length, max_rows, min_rows, unused_flag, long_pack_fields, key_info_length, table_options, unused_filename, mark_50, avg_row_length, default_charset, unused_transactional, row_format, unused_raid_type, unused_raid_chunks, unused_raid_chunk_size, ext_key_info_length, mysql_version, extra_info_size, column_count, screens_length, null_columns, names_length_form, interval_length, comments_length
245.fsFS fileextensiontext — first line / root element / version
247.g4G4magic15 fields: byte_order, version, ifd_offset, num_tags, image_width, image_length, bits_per_sample, compression, photometric, fill_order, samples_per_pixel, rows_per_strip, strip_offsets, strip_byte_counts, t6_options
248.g8G8 fileextension4 fields: n, k, num_edges, edges_count
249.gbGBextension18 fields: locus_name, length, type, division, date, definition, accession, version, gi, keywords, source, organism, key, location, num_quals, num_features, base_count, origin
250.gbkGBKextensiontext — first line / root element / version
251.gbrGBRextension11 fields: encoding, structure, coordinateSystem, units, formatSpec, polarity, numApertures, numApertureList, stepRepeat, fileFunction, endOfFile
252.gdfGDF fileextension9 fields: weight, height, header_len, nrec, ns, ch1_phys_min, ch1_phys_max, ch1_gdftyp, ch1_spr
253.gdscriptpropertiesextension12 fields: extension, format_type, encoding, line_endings, indentation, file_termination, character_set, mime_type, bom_presence, detected_line_endings, detected_indentation, file_termination_detected
254.gdtGDT filemagictext — first line / root element / version
255.gedGEDextensiontext — first line / root element / version
256.geojsonGEOJSON fileextension2 fields: bbox_size, feature_count
257.geotiffGEOTIFF filemagic2 fields: version, ifdOffset
258.ggbGGB filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
259.gifGIF imageextension6 fields: signature, width, height, packed, background_color, aspect_ratio
260.gm9GM9 filemagictext — first line / root element / version
261.gmiGMIextension11 fields: total_lines, text_lines, link_lines, heading_lines, list_items, quote_lines, pre_blocks, links_count, pre_alt_count, final_pre_mode, encoding
262.gmkGMKextension25 fields: form_id, version, game_id, guid, gmver_settings, len_settings, gmver_triggers, num_triggers, last_triggers, len_triggers, num_resources, last_changed, gmver_incl, num_incl, len_incl, gmver_ext, num_ext, gmver_info, len_info, last_instance, last_tile, gmver_exec, num_exec, exec_rooms, gmver_tree
264.goGoextensiontext — first line / root element / version
266.gpxGPX filemagictext — first line / root element / version
267.graphmlGRAPHML filemagictext — first line / root element / version
268.grbGRIBmagic30 fields: msg_len, grib_id, sec1_len, center, subcenter, master_ver, local_ver, ref_sig, year, month, day, hour, minute, second, prod_status, data_type, sec3_len, source, ndp, temp_num, shape, scale_lat, ni, nj, la1, lo1, res, dx, dy, scan
270.gribGRIBmagic26 fields: edition, discipline, total_length, sec1_length, sec2_length, sec3_length, sec4_length, sec5_length, sec6_length, sec7_length, center, sub_center, master_version, local_version, ref_time_sig, ref_year, ref_month, ref_day, ref_hour, ref_minute, ref_second, production_status, data_type, grid_source, num_points, grid_template_num
271.grpGRP fileextension7 fields: x_offset, y_offset, unknown, data_offset, frame_count, width, height
272.gsfGSF fileextension6 fields: signature, version, reserved_size, compressed_size, crc32, tag_signature
273.gtfGTF fileextension9 fields: seqname, source, feature, start, end, score, strand, frame, attributes
274.gvGV fileextension2 fields: strict, node_count
275.gwGWextension17 fields: title, shallst, deepst, gw_delay, alpha_bf, gwqmn, gw_revap, revapmn, rchrg_dp, gwht, gw_spyld, shallst_n, gwsolp, hlife_ngw, lat_orgn, lat_orgp, alpha_bf_d
276.gxlGXLmagictext — first line / root element / version
277.gzgzip archivemagic6 fields: magic, method, flags, mtime, extra_flags, os
278.hH fileextensiontext — first line / root element / version
279.haHA filemagic7 fields: num_files, comp_len, uncomp_len, crc32, timestamp, msi_len, msi_type
280.hackHACK fileextension10 fields: binary, decimal, line, type, value, a, comp, dest, jump, count
281.harHAR fileextensiontext — first line / root element / version
282.harHAR filemagic4 fields: tag, ref, offset, length
283.hdf5HDF5magic16 fields: signature, superblock_version, freespace_storage_version, root_group_symbol_table_entry_version, reserved, shared_header_message_version, size_of_offsets, size_of_lengths, reserved2, group_leaf_node_k, group_internal_node_k, file_consistency_flags, base_address, address_of_file_free_space_info, end_of_file_address, driver_information_block_address
284.hdiHDIextension8 fields: reserved, fdd_type, header_size, data_size, bytes_per_sector, sectors, heads, cylinders
286.heicHeicmagic4 fields: box_size, box_type, major_brand, minor_version
287.heifHEIFmagic4 fields: box_size, box_type, major_brand, minor_version
288.hhHH fileextension8 fields: includeCount, macroCount, typedefCount, enumCount, classCount, funcCount, varCount, nsCount
289.hinHIN fileextension6 fields: id, name, num_atoms, num_mols, forcefield, sys
294.htmHtm Fileextensiontext — first line / root element / version
295.htmlHtm Fileextensiontext — first line / root element / version
297.hxxHXX fileextensiontext — first line / root element / version
298.icalI Calmagictext — first line / root element / version
299.icalICAL filemagic6 fields: profile_size, cmm_signature, version, device_class, color_space, pcs
300.iceICE filemagic8 fields: header_len, checksum, method, comp_size, uncomp_size, timestamp_raw, attr, level
302.icnICNSmagic4 fields: magic, file_length, first_entry_type, first_entry_length
303.icoICO iconmagic3 fields: reserved, type, count
304.icsIcsmagictext — first line / root element / version
305.ifbIFBextensiontext — first line / root element / version
306.ifcIFC Fileextensiontext — first line / root element / version
307.igcIGC fileextension24 fields: manufacturerCode, serialNumber, numAdditions, additionsCount, dateTime, lat, lon, stationID, time, satellitesCount, validity, pressAlt, gnssAlt, code, source, hCount, cCount, dCount, fCount, bCount, eCount, kCount, lCount, gCount
308.igesIGESextensiontext — first line / root element / version
309.imgIMGextension21 fields: jump_instruction, oem_name, bytes_per_sector, sectors_per_cluster, reserved_sectors, num_fats, root_dir_entries, total_sectors, media_descriptor, sectors_per_fat, sectors_per_track, num_heads, hidden_sectors, large_total_sectors, physical_drive_number, reserved, ext_boot_signature, volume_id, volume_label, fs_type, boot_sector_signature
310.infoINFO fileextensiontext — first line / root element / version
311.iniIniextensiontext — first line / root element / version
313.iptIPT filemagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
314.iptraceIP Traceextension3 fields: timestamp, length, reserved
316.irxIRXmagic8 fields: module, start, heap, text_size, data_size, bss_size, version, name
317.isoISO 9660 imagemagic5 fields: type, magic, version, system_id, volume_id
318.itITmagic11 fields: magic, songname, reserved, ordnum, insnum, smpnum, patnum, cwtv, cmwt, flags, special
319.j2cJ2C filemagic2 fields: Rsiz, Xsiz
320.j2kJ2Kmagic16 fields: soc_marker, siz_marker, siz_length, rsiz, xsiz, ysiz, xosiz, yosiz, xtsiz, ytsiz, xtosiz, ytosiz, csiz, comp0_ssiz, comp0_xrsiz, comp0_yrsiz
321.jarJAR filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
322.javJavextensiontext — first line / root element / version
323.javaJAVA fileextension4 fields: magic, minor_version, major_version, constant_pool_count
324.jbigJBIG fileextension11 fields: dl, d, p, reserved, xd, yd, l0, mx, my, order, options
325.jcmJCM filemagictext — first line / root element / version
326.jdxJDX filemagictext — first line / root element / version
327.jnlpJNLP filemagictext — first line / root element / version
328.jlJL fileextensiontext — first line / root element / version
329.jp2JP2 filemagic7 fields: sig_box_size, sig_box_type, ftyp_box_size, ftyp_box_type, brand, minor_version, compat_brand
330.jpeJPEmagic4 fields: soi, marker, segment_length, identifier
331.jpegJPEG imagemagic4 fields: soi, marker, segment_length, identifier
332.jpgJPEG imagemagic4 fields: soi, marker, segment_length, identifier
334.jsonJSONextensiontext — first line / root element / version
336.jumpJumpextension2 fields: netbios, stream_num
337.jvxJVXmagictext — first line / root element / version
338.jxlJPEG XL imagemagic4 fields: signature, box_size, box_type, major_brand
339.keyKey Filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
341.kmlKMLmagictext — first line / root element / version
342.kmzKMZmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
343.koKOmagictext — first line / root element / version
344.kraKramagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
347.ktKT fileextension19 fields: identifier, vkFormat, typeSize, pixelWidth, pixelHeight, pixelDepth, layerCount, faceCount, levelCount, supercompressionScheme, dfdByteOffset, dfdByteLength, kvdByteOffset, kvdByteLength, sgdByteOffset, sgdByteLength, byteOffset, byteLength, uncompressedByteLength
348.kvKV Fileextensiontext — first line / root element / version
349.labelLabelmagictext — first line / root element / version
350.latexLatexextensiontext — first line / root element / version
351.lbrLBR fileextension12 fields: num_members, name, ext, start_sector, length_sectors, crc, create_date, update_date, create_time, update_time, pad_length, reserved
353.ldtLDTextensiontext — first line / root element / version
354.lgrLGR fileextension3 fields: num_pcx, lst_version, num_lst
355.lhaLHA filemagic8 fields: header_len, checksum, method, comp_size, uncomp_size, timestamp_raw, attr, level
357.llLL fileextensiontext — first line / root element / version
358.lmLM fileextensiontext — first line / root element / version
359.lmdLMD filemagic4 fields: key, value, count, dataset_count
360.lnkLnkmagic12 fields: header_size, link_guid, link_flags, file_attributes, creation_time, access_time, modification_time, file_size, icon_index, show_command, hotkey, reserved
361.logicxLogic Xmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
362.lrcLRC fileextension2 fields: comments_count, lyrics_count
364.lwoLWOmagic3 fields: signature, file_size, form_type
365.lzLZ filemagic6 fields: magic, version, dict_size, crc32, uncompressed_size, member_size
366.mM fileextension2 fields: prop_count, content_size
368.mcuMCU filemagictext — first line / root element / version
369.m3u8M3U8 filemagictext — first line / root element / version
370.m4aM4Amagic4 fields: box_size, box_type, major_brand, minor_version
372.m4rM4Rmagic4 fields: box_size, box_type, major_brand, minor_version
373.m4vM4Vmagic4 fields: box_size, box_type, major_brand, minor_version
374.m64M64magic21 fields: signature, version, movie_uid, vi_count, rerecord_count, fps, controller_count, extended_version, extended_flags, input_samples, start_type, reserved, controller_flags, extended_auth, extended_bruteforce, extended_high_rerecord, rom_name, rom_crc32, rom_country, author, description
375.maMAextension12 fields: file_references_count, requirements_count, file_information_count, nodes_count, attributes_count, script_nodes_count, disconnections_count, connections_count, geometry_count, appearance_count, scene_count, animation_count
376.matMat Fileextension3 fields: descriptive_text, version, endian_indicator
377.mboxMBOX fileextensiontext — first line / root element / version
378.mcaddonMCADDON filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
380.mcmetaMc Metaextensiontext — first line / root element / version
381.mcpackMCPACK filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
382.mcprojectMC Projectmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
384.mctemplateMC Templatemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
385.mcworldMC Worldmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
386.mdMDextensiontext — first line / root element / version
387.mdbMDBmagic6 fields: signature, jet_version, file_type, sys_collation, code_page, db_key
388.mdfMDF fileextension17 fields: file_id, format_id, program_id, byte_order, fp_format, ver_major, ver_minor, code_page, standard_flags, custom_flags, timestamp, utc_offset, time_quality, timer_id, num_data_groups, num_attachments, num_file_history
391.mdlMDL fileextension24 fields: ident, version, scale, translate, boundingradius, eyeposition, num_skins, skinwidth, skinheight, num_verts, num_tris, num_frames, synctype, flags, type, onseam, s, t, facesfront, vertices, v, lightnormalindex, num_group, name
392.mdmpMdmpmagic9 fields: signature, implVer1, implVer2, version, numberOfStreams, streamDirectoryRva, checkSum, timeDateStamp, flags
393.mdsMDS filemagic39 fields: file_id, version, media_type, num_sessions, unknown, bca_length, bca_offset, disc_structures_offset, offset_first_session, offset_read_errors, start_sector, end_sector, session_num, num_data_any, num_data_a0, first_track, last_track, offset_first_data, track_mode, num_subchannels, adr_control, track_no, point, minute, second, frame, offset_index, sector_size, track_start_plba, track_start_offset, num_filenames, offset_filename, sectors_index0, sectors_index1, offset_string, num_data_blocks, num_index_blocks, num_filename_blocks, data_size
394.mexMEX fileextensiontext — first line / root element / version
395.mgfMGFextensiontext — first line / root element / version
397.midiMIDI filemagic5 fields: magic, header_length, format, num_tracks, division
400.mlxMLXmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
401.mmMM fileextensiontext — first line / root element / version
402.mmlMMLextensiontext — first line / root element / version
404.moMO fileextension7 fields: magic, revision, num_strings, orig_offset, trans_offset, hash_size, hash_offset
405.mobiMobimagic14 fields: name, attributes, version, creation_time, modification_time, backup_time, modification_number, app_info_id, sort_info_id, type, creator, unique_id_seed, next_record_list_id, num_records
406.modMOD fileextension13 fields: name, length, finetune, volume, loop_start, loop_length, song_title, song_length, restart_byte, pattern_sequence, signature, num_patterns, num_channels
407.modulesMODULES filemagictext — first line / root element / version
409.molMOL fileextensiontext — first line / root element / version
410.mol2Mol2extensiontext — first line / root element / version
412.movQuickTime MOV videomagic4 fields: box_size, box_type, major_brand, minor_version
413.mp2MP2extension2 fields: bitrate, sampling_rate
414.mp3MP3 audio (ID3v2)extension5 fields: magic, version_major, version_minor, flags, tag_size
415.mp4MP4 videomagic4 fields: box_size, box_type, major_brand, minor_version
418.mpdMPDextensiontext — first line / root element / version
421.mpsMPSextensiontext — first line / root element / version
422.mrMR fileextension3 fields: start, is_null, mode
423.mrshMRSH fileextension6 fields: field_count, value_count, input_count, example_count, type_count, func_count
424.msavMSAV fileextension5 fields: magic, version, width, height, entityCount
425.mscMSCextensiontext — first line / root element / version
426.mschMSCHextension4 fields: x, y, block_id, rotation
427.msczMSCZ filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
428.msdlMSDLextensiontext — first line / root element / version
429.msfMSFextension3 fields: len, check, weight
430.msiMsi Propertymagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
431.MSOMSO filemagic2 fields: header, difat
432.MSSTYLESMS Stylesmagic17 fields: signature, bytes_last_page, pages, relocations, header_size, min_alloc, max_alloc, ss, sp, checksum, ip, cs, reloc_table_offset, overlay, oem_id, oem_info, pe_header_offset
433.MSUMSUmagic9 fields: coffCabStart, cCFData, typeCompress, cbFile, uoffFolderStart, iFolder, date, time, attribs
435.MUPMup Fileextensiontext — first line / root element / version
436.MXMXFmagic16 fields: partition_key, ber_length, major_version, minor_version, kag_size, this_partition, prev_partition, footer_partition, header_byte_count, index_byte_count, index_sid, body_offset, body_sid, operational_pattern, essence_count, essence_length
437.MXFMXFmagic16 fields: partition_key, ber_length, major_version, minor_version, kag_size, this_partition, prev_partition, footer_partition, header_byte_count, index_byte_count, index_sid, body_offset, body_sid, operational_pattern, essence_count, essence_length
439.MYIMYI fileextension16 fields: options, header_length, state_info_length, base_info_length, base_pos, key_parts, unique_key_parts, keys, uniques, language, max_block_size_index, fulltext_keys, not_used, split, dellink, auto_increment
440.NBNB Fileextensiontext — first line / root element / version
441.NCNet CDFmagic3 fields: magic, version, numrecs
442.NCDNCDmagic3 fields: magic, version, numrecs
443.NDKNDKextensiontext — first line / root element / version
444.NDSNDSextension41 fields: game_title, game_code, maker_code, unit_code, encryption_seed, device_capacity, reserved, rom_version, autostart, arm9_rom_offset, arm9_entry_address, arm9_ram_address, arm9_size, arm7_rom_offset, arm7_entry_address, arm7_ram_address, arm7_size, fnt_offset, fnt_size, fat_offset, fat_size, arm9_overlay_offset, arm9_overlay_size, arm7_overlay_offset, arm7_overlay_size, normal_command_settings, key1_command_settings, icon_title_offset, secure_area_checksum, secure_area_delay, arm9_autoload, arm7_autoload, secure_area_disable, rom_size, header_size, nintendo_logo, logo_checksum, header_checksum, debug_rom_offset, debug_size, debug_ram_address
445.NEFNefmagic3 fields: byte_order, magic, first_ifd_offset
446.NEONEO fileextension11 fields: flag, resolution, palette, color_anim_limits, color_anim_speed_dir, color_steps, x_offset, y_offset, width, height, reserved
449.NEXNEX fileextension21 fields: magic, version, ram_required, num_banks, loading_screen, border_colour, stack_pointer, program_counter, num_extra_files, banks_included, layer2_loading_bar, loading_bar_colour, loading_delay_bank, start_delay, preserve_regs, core_major, core_minor, core_subminor, timex_colour_or_offset, entry_bank, file_handle_addr
450.NFNFmagictext — first line / root element / version
451.NFONFO filemagictext — first line / root element / version
454.NOFFNOFFextensiontext — first line / root element / version
455.nprNPR filemagic3 fields: magic, chunk_size, format_type
456.NRONRO fileextension32 fields: rocrt_module_loc, rocrt_reserved, nro_signature, nro_version, nro_size, nro_flags, nro_text_off, nro_text_size, nro_ro_off, nro_ro_size, nro_data_off, nro_data_size, nro_bss_size, nro_reserved1, nro_module_id, nro_dso_handle, nro_reserved2, nro_embed_off, nro_embed_size, nro_dynstr_off, nro_dynstr_size, nro_dynsym_off, nro_dynsym_size, has_assets, assets_magic, assets_version, assets_icon_off, assets_icon_size, assets_nacp_off, assets_nacp_size, assets_romfs_off, assets_romfs_size
457.NRWNRWmagic3 fields: byte_order, magic, first_ifd_offset
458.NRXNRX filemagic3 fields: header_marker, signature, marker
460.nsaNSA fileextension9 fields: offset, compressed, magic, version, file_count, str_table_size, file_table_offset, file_table_size, str_table_offset
461.NSFNSFmagic16 fields: signature, version, total_songs, starting_song, load_address, init_address, play_address, song_name, artist, copyright, ntsc_speed, bankswitch, pal_speed, video_system, sound_chip, reserved
462.NSVNSV fileextension5 fields: header_length, file_length, metadata_length, toc_entries, toc_size
463.NUMBERSNUMBERS filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
466.NXSNXS filemagic11 fields: trans_count, ntax, nchar, missing, gap, interleave, num_taxa, sets_count, ass_count, num_trees, comments_count
467.OO filemagic14 fields: e_ident, e_type, e_machine, e_version, e_entry, e_phoff, e_shoff, e_flags, e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx
468.OBJOBJextensiontext — first line / root element / version
469.OBSObs Fileextensiontext — first line / root element / version
470.OCXOCXmagic17 fields: signature, bytes_last_page, pages, relocations, header_size, min_alloc, max_alloc, ss, sp, checksum, ip, cs, reloc_table_offset, overlay, oem_id, oem_info, pe_header_offset
471.ODBODB filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
472.ODFODF Metadatamagictext — first line / root element / version
473.ODGODG filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
474.ODPODPmagictext — first line / root element / version
475.ODSODS filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
476.ODTODTmagictext — first line / root element / version
477.OFFOFF fileextension4 fields: dimensionality, has_colors, num_verts, color_count
478.OGAOGA filemagic7 fields: capture_pattern, version, granule_position, serial_number, page_sequence, checksum, num_segments
479.OGGOGG filemagic8 fields: capture, version, header_type, granule, serial, sequence, checksum, segments
480.OGVOGVmagic8 fields: capture, version, header_type, granule, serial, page_seq, checksum, seg_count
481.OGXOGXmagic8 fields: capture_pattern, version, header_type, granule_position, serial_number, page_sequence, checksum, page_segments
482.OPUSOpus audio (Ogg)magic8 fields: capture_pattern, version, header_type, granule_position, serial_number, page_sequence, checksum, page_segments
483.ORGORG fileextension2 fields: prop_count, heading_count
484.OSBOsbextensiontext — first line / root element / version
485.OSBOSB filemagictext — first line / root element / version
486.OSKOSK filemagic2 fields: section_count, prop_counts
487.OSMOSM Filemagictext — first line / root element / version
488.OSROSRextension18 fields: flag, byte, gameMode, gameVersion, num300s, num100s, num50s, numGekis, numKatus, numMisses, totalScore, maxCombo, perfect, mods, timestamp, compressedLength, onlineScoreID, additionalModInfo
489.OSTOST filemagic17 fields: crc_partial, magic_client, version, client_version, platform_create, platform_access, reserved1, reserved2, bid_unused, bid_next_page, unique, rgnid, root_reserved, root_file_eof, root_amap_last, root_amap_free, root_pmap_free
490.OSUOSU filemagic2 fields: version, sectionCount
491.OSZOSZmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
492.OTBOTB fileextension4 fields: infofield, width, height, colours
493.OTFOpenType fontmagic5 fields: version, num_tables, search_range, entry_selector, range_shift
494.OTGOTGmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
495.OTLOTL fileextension2 fields: level, children_count
496.OTPOTPmagictext — first line / root element / version
497.OTSOtsextension11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
498.OTSOTTmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
499.OV2OV2 fileextension11 fields: type, length, lon, lat, num_strings, block_length, ne_lon, ne_lat, sw_lon, sw_lat, num_records
500.OWLOwl Filemagictext — first line / root element / version
501.OXTOXTmagictext — first line / root element / version
502.PP fileextensiontext — first line / root element / version
505.P8P8 fileextension8 fields: header_count, lua_count, gfx_count, gff_count, label_count, map_count, sfx_count, music_count
507.PAGESPagesmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
508.PAKPAK fileextension5 fields: offset, magic, dir_offset, dir_size, num_files
509.PALPalextension3 fields: signature, file_size, form_type
512.PARPar Fileextensiontext — first line / root element / version
513.PAR2Par2magic5 fields: magic, packet_length, packet_hash, recovery_set_id, packet_type
514.PARAMSPARAMS fileextensiontext — first line / root element / version
515.PASPas Fileextensiontext — first line / root element / version
516.PAXPAX fileextension14 fields: mode, name, uid, gid, mtime, chksum, typeflag, linkname, uname, gname, devmajor, devminor, prefix, path
519.PBOPBO fileextension5 fields: packing_method, original_size, reserved, timestamp, data_size
523.PCXPCX filemagic18 fields: manufacturer, version, encoding, bits_per_plane, x_min, y_min, x_max, y_max, horz_dpi, vert_dpi, palette, reserved, color_planes, bytes_per_plane_line, palette_info, hor_scr_size, ver_scr_size, padding
524.PDBPDBextension6 fields: blockSize, freeBlockMapBlock, numBlocks, numDirectoryBytes, unknown, blockMapAddr
525.PDEPde Fileextensiontext — first line / root element / version
526.PDFPDF documentmagic2 fields: magic, version
529.PDNPDNextensiontext — first line / root element / version
530.PDSPDSextensiontext — first line / root element / version
531.PEMPemextensiontext — first line / root element / version
532.PETPET filemagic6 fields: magic, method, flags, mtime, extra_flags, os
533.PFAPFA Managerextensiontext — first line / root element / version
534.PFAMPFAM filemagic5 fields: gf_count, gs_count, gr_count, gc_count, seq_count
535.PFBPFBextension2 fields: type, length
539.PGNPGN fileextensiontext — first line / root element / version
541.PHNPHN fileextension3 fields: begin_sample, end_sample, count
542.PHPPHP fileextensiontext — first line / root element / version
544.php4PHP4 fileextensiontext — first line / root element / version
546.PHYPHYextensiontext — first line / root element / version
548.PI2PI2magic34 fields: resolution, palette_0, palette_1, palette_2, palette_3, palette_4, palette_5, palette_6, palette_7, palette_8, palette_9, palette_10, palette_11, palette_12, palette_13, palette_14, palette_15, bitmap_data, left_limit_0, left_limit_1, left_limit_2, left_limit_3, right_limit_0, right_limit_1, right_limit_2, right_limit_3, direction_0, direction_1, direction_2, direction_3, delay_0, delay_1, delay_2, delay_3
550.PIRPirextensiontext — first line / root element / version
552.PK3PK3magic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
553.PKAPKAextensiontext — first line / root element / version
554.PKGPKG fileextension6 fields: magic, hsize, version, toc_comp_len, toc_uncomp_len, cksum_alg
556.PLPL filemagictext — first line / root element / version
560.PLSPLSextensiontext — first line / root element / version
561.PMPM fileextension3 fields: inherited_count, exported_count, sub_count
562.PMAPMAextension9 fields: headerLen, checksum, comprSize, uncomprSize, attr, level, crc16, osType, extSize
563.PMPPMP filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
564.PNGPNG imagemagic10 fields: signature, ihdr_length, ihdr_type, width, height, bit_depth, color_type, compression, filter, interlace
565.POMPommagictext — first line / root element / version
566.PEGPEGextensiontext — first line / root element / version
567.PPSXPPSXmagictext — first line / root element / version
568.PPTXPPTXmagictext — first line / root element / version
569.PRJPrjextensiontext — first line / root element / version
570.PROPERTIESPropertiesextensiontext — first line / root element / version
571.PROTOProtoextension2 fields: field_number, wire_type
573.PSPS Fileextensiontext — first line / root element / version
574.PS1PS1extensiontext — first line / root element / version
575.PSDPhotoshop PSD imagemagic8 fields: signature, version, reserved, channels, height, width, depth, color_mode
577.PSM1PSM1extensiontext — first line / root element / version
578.PSPPALETTEPSPPALETTE fileextensiontext — first line / root element / version
579.PSTPstmagic17 fields: signature, crc_partial, magic_client, version, version_client, platform_create, platform_access, reserved1, reserved2, bid_unused, bid_next_p, unique_id, unused, sentinel, crypt_method, bid_next_b, crc_full
580.ptfPTF filemagictext — first line / root element / version
581.PTSPTS fileextensiontext — first line / root element / version
582.PTXPTXextensiontext — first line / root element / version
583.PUBPub Filemagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
584.PUPPupextension6 fields: id, offset, hashed, pad, index, digest
585.PYPY fileextensiontext — first line / root element / version
586.QFXQFXextensiontext — first line / root element / version
587.QIFQIF filemagic3 fields: key, field_count, tx_count
589.QOIQOI fileextension5 fields: magic, width, height, channels, colorspace
590.QSSQSSextensiontext — first line / root element / version
591.QTQT filemagic2 fields: type, props
592.QTVRQTVRextension23 fields: majorVersion, minorVersion, nameAtomID, defaultNodeID, vrWorldFlags, reserved1, reserved2, stringUsage, stringLength, imagingMode, imagingValidFlags, correction, quality, directDraw, imagingProperties, nodeType, locationFlags, locationData, nodeID, commentAtomID, cursorID, bestPan, hotSpotType
593.RR fileextensiontext — first line / root element / version
595.R01R01magic5 fields: signature, header_crc, header_type, header_flags, header_size
601.RAMRAMextensiontext — first line / root element / version
603.RARRAR archiveextension5 fields: magic, crc16, type, flags, size
604.RASRAS fileextension8 fields: magic, width, height, depth, length, type, color_map_type, color_map_length
605.RBRB fileextension14 fields: name, length, offset, flag, magic, version_major, version_minor, identifier, year, month, day, toc_offset, file_length, num_entries
606.RBXLRBXLmagic6 fields: magic, signature, version, class_count, instance_count, reserved
608.RDPRDP fileextension3 fields: type, i_val, count
609.RDSRDSmagic6 fields: magic, method, flags, mtime, extra_flags, os
610.RESRES fileextension7 fields: dataSize, headerSize, dataVersion, memoryFlags, languageId, version, characteristics
611.REXREX fileextension7 fields: version, sample_rate, channels, bit_depth, num_slices, tempo, length_beats
612.REXXREXX filemagictext — first line / root element / version
613.RKTRKT Fileextensiontext — first line / root element / version
614.RMRMmagic5 fields: signature, size, object_version, file_version, num_headers
615.RMDRMDextensiontext — first line / root element / version
616.RMVBRMVBmagic5 fields: signature, size, object_version, file_version, num_headers
617.ROBPropertyextensiontext — first line / root element / version
618.ROLROLextension14 fields: atTick, multiplier, note, duration, instName, filler, unknown, volume, pitch, voice_trackName, nTicks, timbre_trackName, volume_trackName, pitch_trackName
619.RPMRPM fileextension10 fields: magic, major, minor, type, archnum, osnum, signature_type, version, index_count, store_size
620.RSRS fileextension8 fields: magic, width, height, depth, length, type, map_type, map_length
621.RSARSA fileextensiontext — first line / root element / version
627.RTFRtfmagictext — first line / root element / version
628.RUARUA filemagictext — first line / root element / version
629.RUNRun Fileextensiontext — first line / root element / version
630.SS fileextensiontext — first line / root element / version
631.S3MS3Mmagic15 fields: songname, eof_marker, type, reserved, ordnum, insnum, patnum, flags, cwtv, ffv, magic, global_volume, initial_speed, initial_tempo, master_volume
632.S7IS7Iextensiontext — first line / root element / version
634.SASSSASS fileextensiontext — first line / root element / version
635.SATSat Fileextensiontext — first line / root element / version
636.SAVSAV fileextension6 fields: magic, tag, type, has_label, n_missing, label_len
637.SBSB fileextension19 fields: magic, inode_count, mod_time, block_size, frag_count, compressor, block_log, flags, id_count, version_major, version_minor, root_inode, bytes_used, id_table, xattr_table, inode_table, dir_table, frag_table, export_table
639.SB3SB3magic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
641.SBVSBV fileextension5 fields: start, end, text_count, num_entries, max_entries
643.SCALASCALA fileextension2 fields: note_count, capacity
644.SCMSCM filemagic9 fields: magic, header_size, archive_size, format_version, block_size, hash_table_pos, block_table_pos, hash_table_size, block_table_size
646.SCSSScssextension6 fields: line_count, char_count, var_count, mixin_count, include_count, at_rule_count
647.SC7SD7 filemagic6 fields: major, minor, start_crc, next_offset, next_size, next_crc
648.SDFSDF fileextension10 fields: title, timestamp, comment, atoms_count, bonds_count, element, atoms_num, bonds_num, fields_num, records_num
650.SDSSDSextension21 fields: sysex_start, manufacturer_id, device_id, sub_id, sample_number_lo, sample_number_hi, significant_bits, sample_period_b0, sample_period_b1, sample_period_b2, sample_length_b0, sample_length_b1, sample_length_b2, loop_start_b0, loop_start_b1, loop_start_b2, loop_end_b0, loop_end_b1, loop_end_b2, loop_type, sysex_end
651.sdtsSDTSextensiontext — first line / root element / version
652.SECSEC filemagictext — first line / root element / version
653.SEDPropertyextension2 fields: prop_count, section_count
654.SEQSEQ fileextension3 fields: length, num_seqs, total_bases
656.SFSF filemagic3 fields: signature, file_size, form_type
659.SFXSFX filemagic17 fields: signature, bytes_last_page, pages, relocations, header_size, min_alloc, max_alloc, ss, sp, checksum, ip, cs, reloc_table_offset, overlay, oem_id, oem_info, pe_header_offset
660.SHSH fileextensiontext — first line / root element / version
661.SHARFileextension6 fields: name, type, permissions, timestamp, length, md5
662.SHTMSHTM fileextension7 fields: file_ext, mime_type, last_mod, encoding, ssi_count, has_html, server_dep
664.SHXSHX fileextension6 fields: file_code, unused, file_length_words, version, shape_type, num_records
666.SIGSIG fileextensiontext — first line / root element / version
667.SLSL fileextension2 fields: magic, version
668.SLDASMSldasmmagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
669.SLDPARTSLDPART filemagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
672.SMKSMKextension14 fields: signature, width, height, frames, frame_rate, flags, audio_size, trees_size, mmap_size, mclr_size, full_size, type_size, audio_rate, dummy
674.SOSO Filemagic8 fields: e_type, e_machine, e_version, e_entry, e_phoff, e_shoff, e_flags, e_ehsize
678.SPSSPSextension14 fields: version, start, end, latitude, longitude, chart_max, chart_min, timezone, source, author, name, location, channels, note_length
680.SPVSPV filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
681.SPXSPX filemagic3 fields: properties, speex_version, vendor
683.SQLSQL Fileextensiontext — first line / root element / version
684.SRTSRTextensiontext — first line / root element / version
685.SRXSRXmagictext — first line / root element / version
687.STSTextension11 fields: bytes_per_sector, sectors_per_cluster, reserved_sectors, num_fats, root_dir_entries, total_sectors, media_descriptor, sectors_per_fat, sectors_per_track, num_heads, hidden_sectors
688.STCSTCextension5 fields: num, rep_pos, rep_len, trans, pat_num
689.STDSTD fileextension5 fields: rec_len, rec_type, rec_sub, cpu_type, stdf_ver
690.STEPStepextensiontext — first line / root element / version
691.STISTI fileextension19 fields: data_offset, data_size, x_offset, y_offset, height, width, format_id, original_size, compressed_size, transparent_index, flags, red_mask, green_mask, blue_mask, alpha_mask, red_depth, green_depth, blue_depth, alpha_depth
692.STKSTK fileextension4 fields: num_comments, area, perimeter, num_vertices
694.STMSTM fileextension23 fields: song_name, tracker_name, id_marker, file_type, major_version, minor_version, tempo, num_patterns, global_volume, reserved_header, name, id, disk, reserved1, length, loop_start, loop_end, volume, reserved2, c3_freq, reserved3, para_length, pattern_orders
695.STOSTO fileextension4 fields: version, nRows, nColumns, val
696.STOSTO filemagic19 fields: signature, version, type, name, flags, sell_markup, buy_markup, depreciation, steal_failure, capacity, unknown1, purchased_offset, purchased_count, items_offset, items_count, drinks_offset, drinks_count, cures_offset, cures_count
697.STPStpextensiontext — first line / root element / version
700.SURSURextension13 fields: version_number, u_resolution, v_resolution, number_of_tiles, camera_position, view_direction, image_plane_center, image_plane_horizontal_vector, image_plane_vertical_vector, focal_length, scale, eye_separation, clipping_plane_distance
702.SVELTESvelte Fileextensiontext — first line / root element / version
704.SWFSWF Flashmagic3 fields: signature, version, file_length
705.SWGSWG fileextension7 fields: checksum, method, compressed_size, uncompressed_size, attr, level, crc16
706.SWIFTSWIFT fileextensiontext — first line / root element / version
708.SXCSXCmagictext — first line / root element / version
709.SXDSXD filemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
710.SXGSXGextension11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
711.SXISXImagictext — first line / root element / version
712.SXMSXMextension11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
714.SXWSXWmagictext — first line / root element / version
715.SYLKSylkextensiontext — first line / root element / version
718.TARtar archivemagic13 fields: name, mode, uid, gid, size, mtime, chksum, typeflag, linkname, magic, version, uname, gname
720.TB2TB2 filemagic2 fields: signature, block_size
721.TBZTBZextension15 fields: name, mode, uid, gid, mtime, chksum, typeflag, linkname, magic, version, uname, gname, devmajor, devminor, prefix
722.TBZ2TBZ2 filemagic2 fields: signature, block_size
723.TCTCmagic17 fields: signature, bytes_last_page, pages, relocations, header_size, min_alloc, max_alloc, ss, sp, checksum, ip, cs, reloc_table_offset, overlay, oem_id, oem_info, pe_header_offset
724.TERTER fileextension10 fields: header, xpts, ypts, scale, crad, crvm, heightscale, baseheight, elevations_size, eof
725.TGATGAmagic12 fields: id_length, color_map_type, image_type, color_map_origin, color_map_length, color_map_depth, x_origin, y_origin, width, height, pixel_depth, image_descriptor
726.TGTTGTextensiontext — first line / root element / version
727.TGZTGZ filemagic7 fields: typeflag, all_zero, name, mode, uid, gid, mtime
729.TIFTiffmagic6 fields: tagId, type, count, valOffset, numEntries, nextOffset
730.TIFFTIFF imagemagic3 fields: byte_order, magic, ifd_offset
732.TLZTLZ filemagic2 fields: version, ds
734.TORRENTTorrentextensiontext — first line / root element / version
735.TQLTQL Fileextensiontext — first line / root element / version
737.TSCNTSCNextensiontext — first line / root element / version
738.TSVTsvextensiontext — first line / root element / version
739.TTCTTC Fileextension7 fields: majorVersion, minorVersion, numFonts, offset, dsigTag, dsigLength, dsigOffset
740.TTFTrueType fontmagic5 fields: version, num_tables, search_range, entry_selector, range_shift
741.TWBTWB filemagictext — first line / root element / version
742.TXTTxt Fileextensiontext — first line / root element / version
743.TXZTXZmagic3 fields: magic, stream_flags, crc32
744.TZ2TZ2 fileextension16 fields: name, mode, uid, gid, mtime, checksum, typeflag, linkname, magic, version, uname, gname, devmajor, devminor, prefix, pad
745.tzstTZSTextensiontext — first line / root element / version
746.UIUI Fileextensiontext — first line / root element / version
748.UNVUNV fileextensiontext — first line / root element / version
750.uotUOTextensiontext — first line / root element / version
752.UPSUPSextension4 fields: byte, sourceCRC, targetCRC, patchCRC
753.URLURLextensiontext — first line / root element / version
754.USDZUSDZmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
758.UXFUXFmagictext — first line / root element / version
761.V4PV4Pextensiontext — first line / root element / version
764.VBOXVBOX Filemagictext — first line / root element / version
765.VBOXEXTPACKV Box Ext Packmagic6 fields: magic, method, flags, mtime, extra_flags, os
766.VBPROJVB Projextensiontext — first line / root element / version
767.VBRVBRextensiontext — first line / root element / version
768.VBSVBS Fileextensiontext — first line / root element / version
769.VBXVBX filemagic31 fields: ne_offset, sig, MajLinkerVersion, MinLinkerVersion, EntryTableOffset, EntryTableLength, FileLoadCRC, FlagWord, AutoDataSegIndex, InitHeapSize, InitStackSize, EntryPoint, InitStack, SegCount, ModRefs, NoResNamesTabSiz, SegTableOffset, ResTableOffset, ResidNamTable, ModRefTable, ImportNameTable, OffStartNonResTab, MovEntryCount, FileAlnSzShftCnt, nResTabEntries, targOS, OS2EXEFlags, retThunkOffset, segrefthunksoff, mincodeswap, expctwinver
773.VDAVDAmagic12 fields: idLength, colorMapType, imageType, colorMapOrigin, colorMapLength, colorMapDepth, xOrigin, yOrigin, width, height, bitsPerPixel, imageDescriptor
775.VDWVDW filemagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
776.VDXVDXmagictext — first line / root element / version
777.VFDVFDextension21 fields: boot_jump, oem_id, bytes_per_sector, sectors_per_cluster, reserved_sectors, num_fats, root_dir_entries, total_sectors_16, media_descriptor, sectors_per_fat, sectors_per_track, num_heads, hidden_sectors, total_sectors_32, drive_number, reserved, boot_signature, volume_id, volume_label, filesystem_type, boot_sector_signature
780.VMDKVMDKmagic17 fields: magic, version, flags, capacity, grain_size, descriptor_offset, descriptor_size, num_gtes_per_gt, rgd_offset, gd_offset, overhead, unclean_shutdown, single_end_line_char, non_end_line_char, double_end_line_char1, double_end_line_char2, compress_algorithm
782.VMXVMXextensiontext — first line / root element / version
784.VPKVPKmagic7 fields: signature, version, tree_size, file_data_section_size, archive_md5_section_size, other_md5_section_size, signature_section_size
786.VPPVPP fileextension5 fields: magic, version, num_files, total_size, first_data_offset
787.VPRVprmagictext — first line / root element / version
788.VQMVQMextensiontext — first line / root element / version
790.VSVS Fileextensiontext — first line / root element / version
791.VSDVSD filemagic18 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, reserved, num_directory_sectors, num_fat_sectors, first_directory_sector, transaction_signature, mini_stream_cutoff, first_mini_fat_sector, num_mini_fat_sectors, first_difat_sector, num_difat_sectors, difat
792.VSDXVsdxmagictext — first line / root element / version
794.VSQVSQ filemagic5 fields: magic, header_length, format, num_tracks, division
795.VSQXVSQXmagictext — first line / root element / version
796.VSTVST filemagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
799.VTFVTFextension19 fields: signature, major_version, minor_version, header_size, width, height, flags, frame_count, start_frame, reflectivity, bump_scale, image_format, mip_count, thumbnail_format, thumbnail_width, thumbnail_height, depth, resource_count, type
800.VUEVue Fileextensiontext — first line / root element / version
801.VVVVVVVVVVVV filemagictext — first line / root element / version
803.WADWAD fileextension5 fields: identification, numlumps, infotableofs, name, offset
804.WAVWAV audiomagic11 fields: signature, file_size, form_type, fmt_chunk_id, fmt_chunk_size, audio_format, channels, sample_rate, byte_rate, block_align, bits_per_sample
808.WK1propertiesextension8 fields: magic, version, revision, columns, rows, calc_mode, sheet_dimensions, endianness
810.WKSWKSmagic2 fields: opcode, length
811.WLWLmagic2 fields: preamble, dicom_magic
812.WLMPWLMPmagictext — first line / root element / version
813.WLSWLSmagictext — first line / root element / version
814.WMAWMAmagic18 fields: data1, data2, data3, value, numObjects, flags, minPkt, maxPkt, maxBit, typeLen, errLen, streamNum, formatTag, channels, samplesSec, avgBytes, blockAlign, bitsSample
816.WMFWMFmagic16 fields: key, handle, left, top, right, bottom, inch, reserved, checksum, file_type, header_size, version, file_size, num_objects, max_record, num_params
817.WMVWMVmagic5 fields: header_guid, object_size, num_header_objects, reserved1, reserved2
818.wosWOSextensiontext — first line / root element / version
819.WPSWPS filemagic36 fields: title, subject, author, keywords, comments, template, lastAuthor, revNumber, editTime, lastPrinted, create_DTM, lastSave_DTM, pageCount, wordCount, charCount, appName, docSecurity, category, presentationTarget, bytes, lines, paragraphs, slides, notes, hiddenSlides, mmClips, scaleCrop, headingPairs, titlesofParts, manager, company, linksUpToDate, charCountWithSpaces, sharedDoc, hyperlinksChanged, appVersion
820.WSWSextensiontext — first line / root element / version
821.WSCWSC Filemagictext — first line / root element / version
822.WTXWTXextensiontext — first line / root element / version
823.WUHBWUHB filemagic11 fields: magic, header_size, section1_offset, section1_size, section2_offset, section2_size, section3_offset, section3_size, section4_offset, section4_size, rpx_offset
824.XX fileextension5 fields: magic, major, minor, format_type, float_size
825.X3DX3Dmagictext — first line / root element / version
826.XARXarextension5 fields: magic, version, toc_comp_len, toc_uncomp_len, cksum_alg
827.XRBLXBRLmagictext — first line / root element / version
828.XCFXCF Handler Cppextension4 fields: val, r, g, b
829.xdmXDM filemagictext — first line / root element / version
831.XEXXEXextension2 fields: start, end
832.XLRXLRmagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
833.XLSXLS Headermagic16 fields: signature, clsid, minor_version, major_version, byte_order, sector_shift, mini_sector_shift, num_dir_sectors, num_fat_sectors, first_dir_sector, transaction_sig, mini_stream_cutoff, first_minifat_sector, num_minifat_sectors, first_difat_sector, num_difat_sectors
834.XLSBPropertymagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
835.XLSMXLSMmagictext — first line / root element / version
836.XLSXXLSXmagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
837.XMXM fileextension49 fields: id_text, module_name, separator, tracker_name, version_number, header_size, song_length, restart_position, num_channels, num_patterns, num_instruments, flags, default_tempo, default_bpm, pattern_order, header_length, packing_type, num_rows, data_size, name, type, num_samples, sample_header_size, sample_keymap, volume_points, panning_points, num_volume_points, num_panning_points, volume_sustain, volume_loop_start, volume_loop_end, panning_sustain, panning_loop_start, panning_loop_end, volume_type, panning_type, vibrato_type, vibrato_sweep, vibrato_depth, vibrato_rate, volume_fadeout, reserved, length, loop_start, loop_length, volume, finetune, panning, relative_note
838.XMFXMFextension5 fields: length, item_count, header_length, metadata_length, ref_type
839.XMLXMLmagictext — first line / root element / version
840.XPXPmagic5 fields: charCode, fg, bg, width, height
841.XPLXPLextensiontext — first line / root element / version
842.XPSXPSmagictext — first line / root element / version
843.XSDXSDmagictext — first line / root element / version
844.XSFXSFextensiontext — first line / root element / version
845.XSLXSLmagictext — first line / root element / version
846.XSLTXsltmagictext — first line / root element / version
847.xsnXSN fileextensiontext — first line / root element / version
848.XSPFXSPF filemagictext — first line / root element / version
851.XXXXXX fileextension9 fields: stitch_count_minus_1, number_of_colors, design_width, design_height, last_stitch_x, last_stitch_neg_y, neg_left_extent, top_extent, end_of_stitches_pointer
852.XYZXYZ fileextensiontext — first line / root element / version
853.XZXZ archivemagic3 fields: magic, stream_flags, stream_flags_crc32
854.YSeg Yextension31 fields: jobId, lineNum, reelNum, dataTracesEnsemble, auxTracesEnsemble, sampleInterval, origSampleInterval, samplesPerTrace, origSamplesPerTrace, formatCode, ensembleFold, traceSorting, verticalSum, sweepFreqStart, sweepFreqEnd, sweepLength, sweepType, sweepChannel, sweepTaperStart, sweepTaperEnd, taperType, correlatedTraces, binaryGain, ampRecovery, measurementSystem, impulsePolarity, vibratoryPolarity, segyRevision, fixedTraceFlag, extTextHeaders, binBuf
855.YAMLYAML fileextensiontext — first line / root element / version
856.YMLYmlextensiontext — first line / root element / version
857.ZIPZIP archivemagic11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len
858.ZRXZRX fileextensiontext — first line / root element / version
859.ZSZS filemagic9 fields: magic, header_length, root_index_offset, root_index_length, total_file_length, sha256, codec, metadata_length, header_crc
860.ZSTZstandard archivemagic2 fields: magic, frame_header

THE HONEST TAIL — WHAT IT DOESN'T DO YET

203 of the 853 counted tasks are not a pass, and they are not hidden. Each group has a reason.

97 PARTIAL — identified, no fixed header layout

All 136 partials were triaged one by one (verdicts in tools/triage_partial_B*.json); 39 had a real fixed layout in their reference code or a verifiable spec and were converted to PASS. The remaining 97 have no fixed header layout to write honestly:

ReasonCountWhat it means
text46the format is text/source with no binary header at all (Fortran sources, FASTA, Lua/Lisp, JavaScript, JSP, HTA/HTML, kernel .config, Xilinx .coe, ChordPro, GML, Godot INI-style, UTF-16LE .klc, …). These identify by extension and print nothing further.
variable-length15the header is variable-length by design: ASN.1 DER (P12/PFX, CER), varints after a magic (BPS, TAK), BER lengths, NBT tags, MPCK packets, tokenized Paradox saves, ASCII text headers with variable-length lines (PAM/PBM/PFM), zlib streams.
streaming9frame/packet scanning, no fixed file header: ADTS syncwords, MPEG start codes, 188/192-byte TS packets, MPEG-PS packs, MPA syncword scan, pickle opcode stream.
no-spec9the reference block is a placeholder or states the format is proprietary/undecodable, and no credible public spec was found (BR7, RAD, RAL, UPD, VI, VPM, NWD, FTH, …).
chunk-scanning8containers whose first object is at a variable offset or whose records are length-prefixed chains (binary CGM element stream, ICL EBCDIC records, LevelDB SSTable, WK3 opcode records).
no-header7the format has no header by definition: raw code (.COM), raw disk/screen dumps (.SCR, .V64, .VB), raw MySQL row data (.MYD — the layout lives in the .frm), a raw zlib stream (.ADZ).
EBML3MKV/MKA/WEBM: variable-length EBML integers/elements, no fixed offsets.

2 FAIL — unresolvable duplicates

Task 312 (.INI) is really task 311, and task 520 (.PBO) is really task 519 — the same format published twice under two numbers. sfile identifies the sample correctly as the other task, which the harness counts as a fail. There is nothing to fix: the format is decoded, the duplicate is in the source data.

104 NO SAMPLE — no real sample file found

Mostly obscure, proprietary, or discontinued formats with no public sample anywhere — not on the task pages, not by web search, not in the Wayback Machine. Some are known unfindable or not real formats at all: the 4 task numbers with no page (202, 214, 292, 389), 707 .swm (no standalone file exists — it is only produced by splitting a .wim), 716 and 757 (not real file formats), 733 .tmp (generic, no defined format), 55 .bak (generic backup), 371 .m4p (DRM, no public sample). The rest were searched and came up empty. They are honestly not-found, not silently skipped.

HOW IT WAS BUILT — THE JOURNEY IN NUMBERS

The pipeline. The data source is fileformat.vpscoder.com: 849 task pages (the user's "860" is the max task number — 11 numbers in 1..860 have no published page: 10, 41, 53, 202, 204, 214, 292, 389, 558, 693, 703). A wget script (fetch_all.sh, sitemap-driven, resumable, polite) pulled all 849 pages; an extractor (extract_cpp.py) pulled the C/C++ reference code into one combined file, all_formats.cpp — 107,886 lines, 3,850,286 bytes, md5 f886e60213cd5ac4a4187fca3171fb32 — 833 code blocks from 831 distinct tasks (441 with C++, 392 with C; two tasks have both). 18 tasks have no C/C++ section at all. The sample corpus came from the task pages' own download links first (tools/sample_urls.json, 1,726 URLs across 849 tasks), then web search where the links were dead.

The test loop. tests/run_tests.py runs sfile on every sample and records PASS / PARTIAL / FAIL / NO SAMPLE in tests/results.json. The loop ran autonomously (a driver script, tools/autonomous_loop.py, grinding through rounds with no agent reasoning per round) from round 1 to round 15. Along the way it caught its own harness crash — rounds 13–14 reported stale round-12 numbers because load_manifests crashed on a list-shaped manifest shard — and the fix (normalizing list shards) produced the corrected counts. The count progression:

StagePASSPARTIALFAILNO SAMPLE
Round 10 (autonomous loop)482692296
Round 12 (autonomous loop)53710931172
Corrected round 15 (crash fixed, clean re-run)56113038124
Override round (34 of 38 FAILs fixed)6071372107
DuckDuckGo + Wayback research round6111362104
PARTIAL round (39 PARTIALs converted)650972104

The override round. 34 of the 38 FAILs were fixed to PASS with per-format magics and overrides (now 351 entries in tools/overrides.json): ZIP/PK, RIFF, XML, ELF, OLE, Ogg, MZ, bzip2, xz, TAR, J2C, MDMP, FCS, ftyp, EMF; the CDR 81/82 magic swap; DNG to big-endian TIFF. 24 genuine new samples were found (21 from re-trying the page links, 3 from web search); 10 bogus page-link downloads were dropped and their URLs recorded so they are never re-fetched. Six doubtful samples were decided on their merits: 550 .PIR and 554 .PKG kept (genuine), 005 .3gx dropped (actually 3GPP, mislabeled), 024 .amf dropped (explanatory text, not a binary file), 166 .ebd kept with the table magic corrected to [IBIS Ver], 373 .M4V dropped (truncated at the download cap).

The DuckDuckGo + Wayback research round. Scripted DuckDuckGo searches (lite.duckduckgo.com — the html. endpoint returns HTTP 202 with no results from this host) across 103 tasks, with the Wayback Machine's CDX API as the fallback for what DuckDuckGo could not cover. Three genuine new samples: 005 .3gx (a real 3GPP2 file, ftyp brand 3g2a — and the table magic corrected from ftyp3gp to ftyp3g2), 373 .m4v (a complete 1.85 MB sample, ftyp M4V ), 544 .php4 (via an archived task page). The EXS24 spec was found the same way (JefroB's exs.md plus the bonzairob pyexs24 parser) — the magic at offset 16 is endianness, SOBT/SOBJ big-endian and TBOS/JBOS little-endian (the doc had it backwards for the SOBT variant) — and task 200 went from PARTIAL to PASS with a 6-field decode. Eleven more bogus files were caught and removed, and the validation was hardened: truncation-at-download-cap checks, UTF-8 BOM stripping, and re-validating files already on disk instead of blindly trusting them. Yield was low on both engines — one new sample each — which is itself a finding: the remaining 104 are mostly formats with no public sample anywhere.

The PARTIAL round. All 136 partials were triaged one by one; 39 had a real fixed layout in their reference code or a verifiable spec and were converted to PASS. The remaining 97 are the honest tail above. The reference code the table is derived from is AI-generated and is not always a correct spec — the test loop is what catches that, and the overrides are what fix it.

GET IT HERE

github.com/cnmcdee/sfile — MIT license, copyright 2026 cnmcdee. Clone it, build it, run it:

git clone https://github.com/cnmcdee/sfile.git
cd sfile
make            # builds ./sfile — gcc, -O2 -Wall -Wextra, no dependencies
./sfile --list  # all 849 formats
./sfile photo.png
make test       # the per-format test loop (needs samples/)

The repo holds the source, the format table, the test harness, the sample manifests, and the scripts that collected everything. Issues and pull requests welcome — the 104 no-sample formats and the 97 partials are the open work, and the test loop will tell you immediately whether a new sample or layout is right.

METHOD AND SOURCES

  • All numbers in this article are measured, not copied from documentation: the counts are from tests/results.json (the latest clean full re-run, Nov 25, 2026); the reference table is generated from that file and src/formats.json; the install output is from a fresh GitHub clone; the usage examples are real runs against real sample files.
  • Format reference code: fileformat.vpscoder.com — 849 task pages, 833 C/C++ code blocks, all_formats.cpp md5 f886e60213cd5ac4a4187fca3171fb32.
  • Design: table-driven generic engine (src/sfile.c); the format table (src/formats.h) is generated from src/formats.json by tools/gen_formats.py; hand overrides live in tools/overrides.json (351 entries).
  • Test corpus: 772 real sample files on disk (1.9 GB), each recorded in samples/manifest-*.json with its source URL and SHA-256. Bogus downloads are recorded in tools/bad_page_urls.json (100 tasks) so they are never re-fetched.
  • The 2 FAILs are duplicates in the source data (312 = 311, 520 = 519), not decoder errors.