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.

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 10654That 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=3Exit 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 moreIf 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:
| Derivation | Count | Meaning |
|---|---|---|
text | 250 | XML/JSON/text format — decoded by the text decoder (root element, version, first line) |
struct | 199 | struct fields in order, sizes from C types |
override | 173 | hand-written, spec-derived layout — verified against real samples |
unknown | 135 | nothing derivable from the reference code — identified by magic/extension only, hex dump shown |
container | 48 | inherits a container's fixed header (ZIP, RIFF, ftyp, Ogg, gzip, RAR, IFF, PDF, TIFF, OLE, ar, MZ) |
readseq | 26 | fields + offsets from a parsed sequential read sequence (highest confidence) |
nocode | 9 | no C/C++ code on the task page, no layout derived |
nocode-text | 4 | no C/C++ code, but the format is text |
magic-only | 3 | magic known, no fixed field layout |
explicit | 2 | C++ 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:
| Result | Count | Meaning |
|---|---|---|
| PASS | 650 | identified correctly and a header decode produced |
| PARTIAL | 97 | identified, but no fixed header layout exists |
| FAIL | 2 | the 2 unresolvable duplicates, 312 (.INI) = 311 and 520 (.PBO) = 519 |
| NO SAMPLE | 104 | no 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 formatsOne 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 --helpPoint 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.
| Task | Ext | Format | Identified by | What sfile decodes |
|---|---|---|---|---|
| 1 | .3ds | Three DS | magic | 2 fields: chunk_id, chunk_length |
| 2 | .3dsx | Three DSX | extension | 18 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 | .3g2 | 3GPP2 video | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 4 | .3gp | 3GPP video | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 5 | .3gx | 3GPP2 video (3GX) | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 6 | .3mf | Three MF | magic | text — first line / root element / version |
| 7 | .4th | 4TH file | extension | text — first line / root element / version |
| 8 | .7z | Seven Zip | magic | 6 fields: major, minor, start_crc, next_offset, next_size, next_crc |
| 9 | .a | A file | magic | 3 fields: timestamp, uid, gid |
| 11 | .accdb | Access database (ACE) | magic | 2 fields: version_marker, signature |
| 13 | .aco | ACO file | extension | 5 fields: space, v1_version, v1_count, v2_version, v2_count |
| 15 | .adx | Adx | magic | 11 fields: magic, data_offset, encoding_type, block_size, sample_bitdepth, channel_count, sample_rate, total_samples, highpass_freq, version, flags |
| 17 | .agda | AGDA file | extension | text — first line / root element / version |
| 18 | .agr | AGR File | extension | text — first line / root element / version |
| 19 | .ahk | AHK file | extension | text — first line / root element / version |
| 20 | .ai | AI File | magic | 2 fields: magic, version |
| 21 | .aifc | AIFC | magic | 27 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 | .aiff | AIFF | magic | 18 fields: len, formSize, chunkSize, ver, channels, frames, offsetVal, blockSize, num, mid, posVal, val, gain, pm, begin, end, ts, count |
| 26 | .aml | AML | extension | 9 fields: signature, length, revision, checksum, oem_id, oem_table_id, oem_revision, creator_id, creator_revision |
| 27 | .amlx | Amlx | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 28 | .ampl | Ampl File | extension | text — first line / root element / version |
| 29 | .amr | AMR file | magic | 2 fields: magic, first_frame_header |
| 30 | .amv | Amv | magic | 3 fields: signature, file_size, form_type |
| 31 | .ani | ANI file | magic | 12 fields: riff_sig, riff_size, riff_type, cbSize, cFrames, cSteps, cx, cy, cBitCount, cPlanes, JifRate, flags |
| 32 | .ann | Ann | extension | text — first line / root element / version |
| 33 | .ape | APE file | extension | 18 fields: cID, nVersion, nDescriptorBytes, nHeaderBytes, nSeekTableBytes, nHeaderDataBytes, nAPEFrameDataBytes, nAPEFrameDataBytesHigh, nTerminatingDataBytes, cFileMD5, nCompressionLevel, nFormatFlags, nBlocksPerFrame, nFinalFrameBlocks, nTotalFrames, nBitsPerSample, nChannels, nSampleRate |
| 34 | .apk | Apk | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 35 | .arc | Arc | extension | 5 fields: method, compressed_size, timestamp, crc, original_size |
| 36 | .art | Art File | magic | 6 fields: signature, version, unknown1, padding, width, height |
| 37 | .asax | Asax | extension | text — first line / root element / version |
| 38 | .ascx | Ascx | extension | text — first line / root element / version |
| 39 | .asf | ASF | magic | 5 fields: header_guid, header_size, num_header_objects, reserved1, reserved2 |
| 40 | .ashx | Ashx | extension | text — first line / root element / version |
| 42 | .aspx | ASPX | extension | text — first line / root element / version |
| 43 | .asx | ASX | extension | text — first line / root element / version |
| 44 | .at3 | AT3 file | magic | 9 fields: audio_format, channels, sample_rate, byte_rate, block_align, bits_per_sample, extra_size, num_samples, data_size |
| 46 | .au | AU File | magic | 6 fields: magic, offset, data_size, encoding, sample_rate, channels |
| 47 | .avi | AVI video | magic | 18 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 | .avif | AVIF | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 49 | .awk | AWK file | extension | text — first line / root element / version |
| 50 | .ax | AX file | magic | 17 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 | .bas | BAS file | extension | text — first line / root element / version |
| 57 | .bat | Bat File | extension | text — first line / root element / version |
| 58 | .bdf | BDF file | extension | 2 fields: encoding, bitmap_rows |
| 60 | .beam | BEAM file | extension | 3 fields: id, magic, beam_id |
| 61 | .bib | Bib | extension | text — first line / root element / version |
| 62 | .bin | Bin File | extension | 18 fields: pingNumber, reserved1, reserved2, depth, draft, indexOffset, gateHi, gateLo, scaleWidth, endOfScale, motionStatus, motionHeave, motionRoll, motionPitch, tideCorrection, sampleCount, sampleResolution, sampleFrequency |
| 63 | .blend | Blend File | magic | 4 fields: magic, pointer_size, endianness, version |
| 65 | .bmp | BMP image | magic | 9 fields: signature, file_size, reserved, data_offset, header_size, width, height, planes, bits_per_pixel |
| 68 | .bsk | BSK file | extension | 3 fields: version, cloudDensity, fogDensity |
| 69 | .bson | BSON | extension | 2 fields: total_length, first_element_type |
| 70 | .bsp | BSP | extension | 4 fields: fileofs, filelen, lumpVersion, fourCC |
| 71 | .byu | BYU file | extension | text — first line / root element / version |
| 72 | .bz2 | bzip2 archive | magic | 2 fields: magic, block_size |
| 73 | .c | C file | extension | text — first line / root element / version |
| 74 | .c32 | Property | magic | 14 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 | .cab | CAB cabinet archive | magic | 13 fields: signature, reserved1, cabinet_size, reserved2, first_file_offset, reserved3, version_minor, version_major, folder_count, file_count, flags, set_id, cabinet_index |
| 76 | .cbl | CBL file | extension | 3 fields: total_lines, encoding, line_endings |
| 77 | .cbt | Tar Entry | magic | 16 fields: name, mode, uid, gid, mtime, checksum, type_flag, link_name, magic, version, uname, gname, dev_major, dev_minor, prefix, data_size |
| 78 | .cc | CC file | extension | 4 fields: hash, offset, comp_size, num_files |
| 80 | .cdf | CDF file | magic | 12 fields: magic1, magic2, record_size, record_type, gdr_offset, version, release, encoding, flags, increment, identifier, copyright |
| 81 | .cdr | CDR | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 82 | .cdr | CDR | magic | 3 fields: signature, file_size, form_type |
| 83 | .cdxml | CDXML | magic | 2 fields: tag, attrs |
| 86 | .chm | CHM | magic | 7 fields: signature, version, header_size, unknown, timestamp, language, guid |
| 88 | .cia | CIA | extension | 19 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 | .cif | CIF file | extension | 3 fields: block_count, comment_count, error_count |
| 90 | .class | Java class file | extension | 3 fields: magic, minor_version, major_version |
| 91 | .cls | CLS | extension | 5 fields: file_type, num_samples, num_classes, num_class_names, num_labels |
| 92 | .cmd | CMD file | extension | 4 fields: rsx_index, fixups_offset, flags, first_type |
| 94 | .cmod | Property | magic | 2 fields: magic, materialCount |
| 95 | .cmod | Property | magic | text — first line / root element / version |
| 96 | .cnoff | CNOFF file | extension | 5 fields: n_vertices, n_faces, n_edges, nv, color_count |
| 97 | .cob | Cob File C | extension | text — first line / root element / version |
| 99 | .coff | COFF file | extension | 7 fields: machine, numberOfSections, timeDateStamp, pointerToSymbolTable, numberOfSymbols, sizeOfOptionalHeader, characteristics |
| 100 | .col | COL file | extension | 3 fields: id, version, num_entries |
| 102 | .compile | Compile File | magic | text — first line / root element / version |
| 105 | .cpio | Cpio | magic | 13 fields: magic, device, inode, mode, uid, gid, nlink, rdev, mtime_hi, mtime_lo, namesize, filesize_hi, filesize_lo |
| 106 | .cpl | CPL | extension | text — first line / root element / version |
| 107 | .cpp | Cpp | extension | text — first line / root element / version |
| 109 | .cr2 | CR2 | magic | 3 fields: byte_order, magic, first_ifd_offset |
| 110 | .cr3 | CR3 | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 111 | .craft | Craft File | extension | text — first line / root element / version |
| 112 | .crai | CRAI | magic | 6 fields: magic, method, flags, mtime, extra_flags, os |
| 113 | .crt | CRT file | magic | 15 fields: signature, header_length, version, hardware_type, exrom, game, revision, reserved, name, chip_sig, packet_len, chip_type, bank, load_addr, image_size |
| 115 | .cso | CSO file | magic | 2 fields: magic, num_blocks |
| 116 | .csproj | CS Proj | extension | text — first line / root element / version |
| 117 | .css | CSS File | extension | text — first line / root element / version |
| 118 | .csv | properties | extension | 3 fields: num_rows, num_cols, delimiter |
| 119 | .cube | CUBE file | extension | 20 fields: ident, title, allowedSerials, pcByteOrder, isSecured, crc32, key, sizeOfItem, sizeOfPoint, hdrItems, maxPts, loLaScale, headerOffset, dataOffset, alignment, style, altStyle, timeOut, name, radio |
| 120 | .cube | CUBE file | magic | text — first line / root element / version |
| 121 | .cur | Cur | magic | 19 fields: width, height, colorCount, entryReserved, hotspotX, hotspotY, imageDataSize, imageOffset, bmpHeaderSize, bmpWidth, bmpHeight, bmpPlanes, bmpBitCount, bmpCompression, bmpImageSize, bmpXPelsPerMeter, bmpYPelsPerMeter, bmpColorsUsed, bmpColorsImportant |
| 124 | .dae | DAE Processor | magic | text — first line / root element / version |
| 125 | .daf | DAF | extension | 14 fields: locidw, nd, ni, locifn, fward, bward, free, locfmt, ftpstr, ss, nc, reservedCount, recordLength, endianness |
| 126 | .dart | DART | extension | text — first line / root element / version |
| 127 | .dat | Dat | magic | 12 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 | .dats | DATS | extension | text — first line / root element / version |
| 129 | .db | DB file | magic | 2 fields: header, file_signature |
| 131 | .dbc | DBC | extension | text — first line / root element / version |
| 132 | .dbf | DBF | extension | 14 fields: type, length, decimals, version, year, month, day, num_records, header_length, record_length, transaction_flag, encryption_flag, mdx_flag, language_id |
| 134 | .deb | Deb | magic | 8 fields: signature, first_member_name, first_member_mtime, first_member_uid, first_member_gid, first_member_mode, first_member_size, first_member_magic |
| 135 | .dem | DEM | extension | 2 fields: file_name, dem_level_code |
| 136 | .dgn | DGN Handler C | magic | 16 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 | .dicom | DICOM file | magic | 2 fields: preamble, dicom_magic |
| 139 | .dired | DIRED file | magic | 3 fields: fileType, hardLinks, count |
| 140 | .divx | DIVX file | magic | 12 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 | .dmg | DMG | extension | 24 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 | .dmp | DMP file | magic | 7 fields: signature, version, numberOfStreams, streamDirectoryRva, checksum, timeDateStamp, flags |
| 143 | .dn | DN file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 144 | .dng | DNG | magic | 3 fields: byte_order, magic, first_ifd_offset |
| 145 | .do | DO File | extension | text — first line / root element / version |
| 146 | .doc | Doc Property | magic | 16 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 | .docm | Docm | magic | text — first line / root element / version |
| 148 | .docx | Docx | magic | text — first line / root element / version |
| 149 | .dot | Dot | extension | text — first line / root element / version |
| 150 | .dotx | Dotx Property | magic | text — first line / root element / version |
| 152 | .dpx | DPX | magic | 9 fields: magic, offset_to_image_data, version, file_size, ditto_key, generic_header_length, industry_header_length, user_header_length, file_name |
| 153 | .drc | DRC | extension | 6 fields: byte, major_version, minor_version, enc_type, enc_method, flags |
| 154 | .dsc | Dsc | extension | text — first line / root element / version |
| 155 | .dta | DTA file | extension | 3 fields: K, N, map |
| 156 | .dtd | DTD | extension | text — first line / root element / version |
| 157 | .dvc | DVC File | extension | text — first line / root element / version |
| 158 | .dwf | Dwf | magic | 1 field: header |
| 159 | .dwg | DWG | extension | 8 fields: version, maintenance_version, preview_address, code_page, security_flags, summary_address, title, subject |
| 160 | .dx | DX File | magic | text — first line / root element / version |
| 161 | .dxf | DXF | extension | text — first line / root element / version |
| 163 | .e00 | E00 | extension | text — first line / root element / version |
| 164 | .e2d | E2D | magic | text — first line / root element / version |
| 165 | .e57 | E57 | extension | 7 fields: fileSignature, majorVersion, minorVersion, filePhysicalLength, xmlPhysicalOffset, xmlLogicalLength, pageSize |
| 166 | .ebd | EBD file | magic | 4 fields: section_count, pin_count, path_count, ref_count |
| 167 | .ec | EC file | extension | 6 fields: blockType, magic, version, start, dump, classId |
| 170 | .edf | EDF | extension | 5 fields: physMin, physMax, digMin, digMax, nrSamples |
| 171 | .efi | EFI file | magic | 2 fields: e_magic, e_lfanew |
| 173 | .el | EL file | extension | 14 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 | .elc | ELC file | extension | 3 fields: referenceLabel, unitPosition, numberPositions |
| 175 | .elf | ELF executable | magic | 9 fields: magic, class, data_encoding, version, os_abi, abi_version, type, machine, version32 |
| 176 | .email | Email File | extension | text — first line / root element / version |
| 177 | .emaker | EMAKER file | extension | text — first line / root element / version |
| 178 | .emaker | Emf | magic | 14 fields: recordSignature, version, bytes, records, handles, reserved, nDescription, offDescription, nPalEntries, cbPixelFormat, offPixelFormat, bOpenGL, micrometersX, micrometersY |
| 179 | .eml | EML | extension | text — first line / root element / version |
| 180 | .emz | EMZ | magic | 6 fields: magic, method, flags, mtime, extra_flags, os |
| 181 | .eot | EOT | extension | 36 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 | .ep | EP File | magic | text — first line / root element / version |
| 184 | .eps | EPS | magic | 8 fields: magic, ps_start, ps_length, metafile_start, metafile_length, tiff_start, tiff_length, checksum |
| 185 | .epub | Epub | magic | text — first line / root element / version |
| 186 | .erl | ERL | extension | text — first line / root element / version |
| 187 | .es6 | ES6 file | extension | text — first line / root element / version |
| 192 | .etl | ETL file | extension | 17 fields: bufferSize, savedOffset, currentOffset, referenceCount, timeStamp, sequenceNumber, clockType, frequency, loggerId, processorIndex, alignment, state, offset, bufferFlag, bufferType, referenceTimeTime, referenceTimeFreq |
| 194 | .evt | EVT file | extension | 12 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 | .evtx | EVTX file | extension | 19 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 | .ex | EX | extension | 6 fields: region_count, group_count, shape_count, field_count, node_count, element_count |
| 197 | .exe | Exe | magic | 7 fields: e_magic, e_lfanew, Machine, NumberOfSections, Magic, Name, VirtualSize |
| 198 | .exp | EXP file | extension | 7 fields: machine, num_sections, timestamp, symbol_table_ptr, num_symbols, opt_header_size, characteristics |
| 199 | .exr | EXR | magic | 2 fields: magic, version |
| 200 | .exs | Exs File | magic | 6 fields: type_raw, payload_size, field_8, field_12, signature, name |
| 201 | .f | F file | extension | text — first line / root element / version |
| 207 | .f4v | F4V | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 209 | .f90 | F90 | extension | text — first line / root element / version |
| 210 | .f95 | F95 | extension | text — first line / root element / version |
| 213 | .factor | Factor | extension | text — first line / root element / version |
| 215 | .fastq | FASTQ file | extension | 4 fields: num_reads, total_bases, min_qual, max_qual |
| 216 | .fb | FB file | extension | text — first line / root element / version |
| 217 | .fb2 | FB2 file | magic | text — first line / root element / version |
| 218 | .fbx | FBX file | magic | 2 fields: magic, version |
| 219 | .fchk | FCHK | extension | 5 fields: count, title, type, method, basis |
| 220 | .fcs | FCS flow cytometry | magic | 5 fields: version, delimiter, offsets, num_keywords, par |
| 221 | .fen | FEN file | extension | 8 fields: line, piece_placement, active_color, castling, en_passant, halfmove_clock, fullmove_number, count |
| 222 | .ff | FF file | magic | 1 field: version |
| 223 | .ffapx | FFAPX file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 224 | .ffn | FFN file | extension | 2 fields: numSequences, totalSequenceLength |
| 225 | .fit | FIT file | extension | 7 fields: header_size, protocol_version, profile_version, data_size, data_type, header_crc, file_crc |
| 226 | .fits | Fits | extension | 4 fields: keyword, value_indicator, value, comment |
| 227 | .flac | FLAC audio | magic | 4 fields: magic, block_header, min_blocksize, max_blocksize |
| 228 | .flame | Flame | extension | text — first line / root element / version |
| 229 | .flp | FLP | magic | 7 fields: magic, header_size, format, num_channels, ppq, data_magic, data_size |
| 230 | .flv | FLV Flash video | magic | 4 fields: signature, version, flags, header_size |
| 231 | .fmu | FMU | magic | text — first line / root element / version |
| 232 | .fna | FNA | extension | text — first line / root element / version |
| 235 | .fodg | FODG file | magic | text — first line / root element / version |
| 236 | .fodp | FODP | magic | text — first line / root element / version |
| 237 | .fods | FODS file | magic | text — first line / root element / version |
| 238 | .fodt | FODT file | magic | text — first line / root element / version |
| 239 | .for | FOR file | extension | 3 fields: num_lines, properties, violations |
| 240 | .fql | FQL file | extension | text — first line / root element / version |
| 241 | .frag | Frag | extension | text — first line / root element / version |
| 242 | .frq | FREQ file | extension | text — first line / root element / version |
| 243 | .frm | Frm | extension | 33 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 | .fs | FS file | extension | text — first line / root element / version |
| 247 | .g4 | G4 | magic | 15 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 | .g8 | G8 file | extension | 4 fields: n, k, num_edges, edges_count |
| 249 | .gb | GB | extension | 18 fields: locus_name, length, type, division, date, definition, accession, version, gi, keywords, source, organism, key, location, num_quals, num_features, base_count, origin |
| 250 | .gbk | GBK | extension | text — first line / root element / version |
| 251 | .gbr | GBR | extension | 11 fields: encoding, structure, coordinateSystem, units, formatSpec, polarity, numApertures, numApertureList, stepRepeat, fileFunction, endOfFile |
| 252 | .gdf | GDF file | extension | 9 fields: weight, height, header_len, nrec, ns, ch1_phys_min, ch1_phys_max, ch1_gdftyp, ch1_spr |
| 253 | .gdscript | properties | extension | 12 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 | .gdt | GDT file | magic | text — first line / root element / version |
| 255 | .ged | GED | extension | text — first line / root element / version |
| 256 | .geojson | GEOJSON file | extension | 2 fields: bbox_size, feature_count |
| 257 | .geotiff | GEOTIFF file | magic | 2 fields: version, ifdOffset |
| 258 | .ggb | GGB file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 259 | .gif | GIF image | extension | 6 fields: signature, width, height, packed, background_color, aspect_ratio |
| 260 | .gm9 | GM9 file | magic | text — first line / root element / version |
| 261 | .gmi | GMI | extension | 11 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 | .gmk | GMK | extension | 25 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 | .go | Go | extension | text — first line / root element / version |
| 266 | .gpx | GPX file | magic | text — first line / root element / version |
| 267 | .graphml | GRAPHML file | magic | text — first line / root element / version |
| 268 | .grb | GRIB | magic | 30 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 | .grib | GRIB | magic | 26 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 | .grp | GRP file | extension | 7 fields: x_offset, y_offset, unknown, data_offset, frame_count, width, height |
| 272 | .gsf | GSF file | extension | 6 fields: signature, version, reserved_size, compressed_size, crc32, tag_signature |
| 273 | .gtf | GTF file | extension | 9 fields: seqname, source, feature, start, end, score, strand, frame, attributes |
| 274 | .gv | GV file | extension | 2 fields: strict, node_count |
| 275 | .gw | GW | extension | 17 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 | .gxl | GXL | magic | text — first line / root element / version |
| 277 | .gz | gzip archive | magic | 6 fields: magic, method, flags, mtime, extra_flags, os |
| 278 | .h | H file | extension | text — first line / root element / version |
| 279 | .ha | HA file | magic | 7 fields: num_files, comp_len, uncomp_len, crc32, timestamp, msi_len, msi_type |
| 280 | .hack | HACK file | extension | 10 fields: binary, decimal, line, type, value, a, comp, dest, jump, count |
| 281 | .har | HAR file | extension | text — first line / root element / version |
| 282 | .har | HAR file | magic | 4 fields: tag, ref, offset, length |
| 283 | .hdf5 | HDF5 | magic | 16 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 | .hdi | HDI | extension | 8 fields: reserved, fdd_type, header_size, data_size, bytes_per_sector, sectors, heads, cylinders |
| 286 | .heic | Heic | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 287 | .heif | HEIF | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 288 | .hh | HH file | extension | 8 fields: includeCount, macroCount, typedefCount, enumCount, classCount, funcCount, varCount, nsCount |
| 289 | .hin | HIN file | extension | 6 fields: id, name, num_atoms, num_mols, forcefield, sys |
| 294 | .htm | Htm File | extension | text — first line / root element / version |
| 295 | .html | Htm File | extension | text — first line / root element / version |
| 297 | .hxx | HXX file | extension | text — first line / root element / version |
| 298 | .ical | I Cal | magic | text — first line / root element / version |
| 299 | .ical | ICAL file | magic | 6 fields: profile_size, cmm_signature, version, device_class, color_space, pcs |
| 300 | .ice | ICE file | magic | 8 fields: header_len, checksum, method, comp_size, uncomp_size, timestamp_raw, attr, level |
| 302 | .icn | ICNS | magic | 4 fields: magic, file_length, first_entry_type, first_entry_length |
| 303 | .ico | ICO icon | magic | 3 fields: reserved, type, count |
| 304 | .ics | Ics | magic | text — first line / root element / version |
| 305 | .ifb | IFB | extension | text — first line / root element / version |
| 306 | .ifc | IFC File | extension | text — first line / root element / version |
| 307 | .igc | IGC file | extension | 24 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 | .iges | IGES | extension | text — first line / root element / version |
| 309 | .img | IMG | extension | 21 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 | .info | INFO file | extension | text — first line / root element / version |
| 311 | .ini | Ini | extension | text — first line / root element / version |
| 313 | .ipt | IPT file | magic | 16 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 | .iptrace | IP Trace | extension | 3 fields: timestamp, length, reserved |
| 316 | .irx | IRX | magic | 8 fields: module, start, heap, text_size, data_size, bss_size, version, name |
| 317 | .iso | ISO 9660 image | magic | 5 fields: type, magic, version, system_id, volume_id |
| 318 | .it | IT | magic | 11 fields: magic, songname, reserved, ordnum, insnum, smpnum, patnum, cwtv, cmwt, flags, special |
| 319 | .j2c | J2C file | magic | 2 fields: Rsiz, Xsiz |
| 320 | .j2k | J2K | magic | 16 fields: soc_marker, siz_marker, siz_length, rsiz, xsiz, ysiz, xosiz, yosiz, xtsiz, ytsiz, xtosiz, ytosiz, csiz, comp0_ssiz, comp0_xrsiz, comp0_yrsiz |
| 321 | .jar | JAR file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 322 | .jav | Jav | extension | text — first line / root element / version |
| 323 | .java | JAVA file | extension | 4 fields: magic, minor_version, major_version, constant_pool_count |
| 324 | .jbig | JBIG file | extension | 11 fields: dl, d, p, reserved, xd, yd, l0, mx, my, order, options |
| 325 | .jcm | JCM file | magic | text — first line / root element / version |
| 326 | .jdx | JDX file | magic | text — first line / root element / version |
| 327 | .jnlp | JNLP file | magic | text — first line / root element / version |
| 328 | .jl | JL file | extension | text — first line / root element / version |
| 329 | .jp2 | JP2 file | magic | 7 fields: sig_box_size, sig_box_type, ftyp_box_size, ftyp_box_type, brand, minor_version, compat_brand |
| 330 | .jpe | JPE | magic | 4 fields: soi, marker, segment_length, identifier |
| 331 | .jpeg | JPEG image | magic | 4 fields: soi, marker, segment_length, identifier |
| 332 | .jpg | JPEG image | magic | 4 fields: soi, marker, segment_length, identifier |
| 334 | .json | JSON | extension | text — first line / root element / version |
| 336 | .jump | Jump | extension | 2 fields: netbios, stream_num |
| 337 | .jvx | JVX | magic | text — first line / root element / version |
| 338 | .jxl | JPEG XL image | magic | 4 fields: signature, box_size, box_type, major_brand |
| 339 | .key | Key File | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 341 | .kml | KML | magic | text — first line / root element / version |
| 342 | .kmz | KMZ | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 343 | .ko | KO | magic | text — first line / root element / version |
| 344 | .kra | Kra | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 347 | .kt | KT file | extension | 19 fields: identifier, vkFormat, typeSize, pixelWidth, pixelHeight, pixelDepth, layerCount, faceCount, levelCount, supercompressionScheme, dfdByteOffset, dfdByteLength, kvdByteOffset, kvdByteLength, sgdByteOffset, sgdByteLength, byteOffset, byteLength, uncompressedByteLength |
| 348 | .kv | KV File | extension | text — first line / root element / version |
| 349 | .label | Label | magic | text — first line / root element / version |
| 350 | .latex | Latex | extension | text — first line / root element / version |
| 351 | .lbr | LBR file | extension | 12 fields: num_members, name, ext, start_sector, length_sectors, crc, create_date, update_date, create_time, update_time, pad_length, reserved |
| 353 | .ldt | LDT | extension | text — first line / root element / version |
| 354 | .lgr | LGR file | extension | 3 fields: num_pcx, lst_version, num_lst |
| 355 | .lha | LHA file | magic | 8 fields: header_len, checksum, method, comp_size, uncomp_size, timestamp_raw, attr, level |
| 357 | .ll | LL file | extension | text — first line / root element / version |
| 358 | .lm | LM file | extension | text — first line / root element / version |
| 359 | .lmd | LMD file | magic | 4 fields: key, value, count, dataset_count |
| 360 | .lnk | Lnk | magic | 12 fields: header_size, link_guid, link_flags, file_attributes, creation_time, access_time, modification_time, file_size, icon_index, show_command, hotkey, reserved |
| 361 | .logicx | Logic X | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 362 | .lrc | LRC file | extension | 2 fields: comments_count, lyrics_count |
| 364 | .lwo | LWO | magic | 3 fields: signature, file_size, form_type |
| 365 | .lz | LZ file | magic | 6 fields: magic, version, dict_size, crc32, uncompressed_size, member_size |
| 366 | .m | M file | extension | 2 fields: prop_count, content_size |
| 368 | .mcu | MCU file | magic | text — first line / root element / version |
| 369 | .m3u8 | M3U8 file | magic | text — first line / root element / version |
| 370 | .m4a | M4A | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 372 | .m4r | M4R | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 373 | .m4v | M4V | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 374 | .m64 | M64 | magic | 21 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 | .ma | MA | extension | 12 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 | .mat | Mat File | extension | 3 fields: descriptive_text, version, endian_indicator |
| 377 | .mbox | MBOX file | extension | text — first line / root element / version |
| 378 | .mcaddon | MCADDON file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 380 | .mcmeta | Mc Meta | extension | text — first line / root element / version |
| 381 | .mcpack | MCPACK file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 382 | .mcproject | MC Project | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 384 | .mctemplate | MC Template | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 385 | .mcworld | MC World | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 386 | .md | MD | extension | text — first line / root element / version |
| 387 | .mdb | MDB | magic | 6 fields: signature, jet_version, file_type, sys_collation, code_page, db_key |
| 388 | .mdf | MDF file | extension | 17 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 | .mdl | MDL file | extension | 24 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 | .mdmp | Mdmp | magic | 9 fields: signature, implVer1, implVer2, version, numberOfStreams, streamDirectoryRva, checkSum, timeDateStamp, flags |
| 393 | .mds | MDS file | magic | 39 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 | .mex | MEX file | extension | text — first line / root element / version |
| 395 | .mgf | MGF | extension | text — first line / root element / version |
| 397 | .midi | MIDI file | magic | 5 fields: magic, header_length, format, num_tracks, division |
| 400 | .mlx | MLX | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 401 | .mm | MM file | extension | text — first line / root element / version |
| 402 | .mml | MML | extension | text — first line / root element / version |
| 404 | .mo | MO file | extension | 7 fields: magic, revision, num_strings, orig_offset, trans_offset, hash_size, hash_offset |
| 405 | .mobi | Mobi | magic | 14 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 | .mod | MOD file | extension | 13 fields: name, length, finetune, volume, loop_start, loop_length, song_title, song_length, restart_byte, pattern_sequence, signature, num_patterns, num_channels |
| 407 | .modules | MODULES file | magic | text — first line / root element / version |
| 409 | .mol | MOL file | extension | text — first line / root element / version |
| 410 | .mol2 | Mol2 | extension | text — first line / root element / version |
| 412 | .mov | QuickTime MOV video | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 413 | .mp2 | MP2 | extension | 2 fields: bitrate, sampling_rate |
| 414 | .mp3 | MP3 audio (ID3v2) | extension | 5 fields: magic, version_major, version_minor, flags, tag_size |
| 415 | .mp4 | MP4 video | magic | 4 fields: box_size, box_type, major_brand, minor_version |
| 418 | .mpd | MPD | extension | text — first line / root element / version |
| 421 | .mps | MPS | extension | text — first line / root element / version |
| 422 | .mr | MR file | extension | 3 fields: start, is_null, mode |
| 423 | .mrsh | MRSH file | extension | 6 fields: field_count, value_count, input_count, example_count, type_count, func_count |
| 424 | .msav | MSAV file | extension | 5 fields: magic, version, width, height, entityCount |
| 425 | .msc | MSC | extension | text — first line / root element / version |
| 426 | .msch | MSCH | extension | 4 fields: x, y, block_id, rotation |
| 427 | .mscz | MSCZ file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 428 | .msdl | MSDL | extension | text — first line / root element / version |
| 429 | .msf | MSF | extension | 3 fields: len, check, weight |
| 430 | .msi | Msi Property | magic | 16 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 | .MSO | MSO file | magic | 2 fields: header, difat |
| 432 | .MSSTYLES | MS Styles | magic | 17 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 | .MSU | MSU | magic | 9 fields: coffCabStart, cCFData, typeCompress, cbFile, uoffFolderStart, iFolder, date, time, attribs |
| 435 | .MUP | Mup File | extension | text — first line / root element / version |
| 436 | .MX | MXF | magic | 16 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 | .MXF | MXF | magic | 16 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 | .MYI | MYI file | extension | 16 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 | .NB | NB File | extension | text — first line / root element / version |
| 441 | .NC | Net CDF | magic | 3 fields: magic, version, numrecs |
| 442 | .NCD | NCD | magic | 3 fields: magic, version, numrecs |
| 443 | .NDK | NDK | extension | text — first line / root element / version |
| 444 | .NDS | NDS | extension | 41 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 | .NEF | Nef | magic | 3 fields: byte_order, magic, first_ifd_offset |
| 446 | .NEO | NEO file | extension | 11 fields: flag, resolution, palette, color_anim_limits, color_anim_speed_dir, color_steps, x_offset, y_offset, width, height, reserved |
| 449 | .NEX | NEX file | extension | 21 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 | .NF | NF | magic | text — first line / root element / version |
| 451 | .NFO | NFO file | magic | text — first line / root element / version |
| 454 | .NOFF | NOFF | extension | text — first line / root element / version |
| 455 | .npr | NPR file | magic | 3 fields: magic, chunk_size, format_type |
| 456 | .NRO | NRO file | extension | 32 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 | .NRW | NRW | magic | 3 fields: byte_order, magic, first_ifd_offset |
| 458 | .NRX | NRX file | magic | 3 fields: header_marker, signature, marker |
| 460 | .nsa | NSA file | extension | 9 fields: offset, compressed, magic, version, file_count, str_table_size, file_table_offset, file_table_size, str_table_offset |
| 461 | .NSF | NSF | magic | 16 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 | .NSV | NSV file | extension | 5 fields: header_length, file_length, metadata_length, toc_entries, toc_size |
| 463 | .NUMBERS | NUMBERS file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 466 | .NXS | NXS file | magic | 11 fields: trans_count, ntax, nchar, missing, gap, interleave, num_taxa, sets_count, ass_count, num_trees, comments_count |
| 467 | .O | O file | magic | 14 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 | .OBJ | OBJ | extension | text — first line / root element / version |
| 469 | .OBS | Obs File | extension | text — first line / root element / version |
| 470 | .OCX | OCX | magic | 17 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 | .ODB | ODB file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 472 | .ODF | ODF Metadata | magic | text — first line / root element / version |
| 473 | .ODG | ODG file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 474 | .ODP | ODP | magic | text — first line / root element / version |
| 475 | .ODS | ODS file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 476 | .ODT | ODT | magic | text — first line / root element / version |
| 477 | .OFF | OFF file | extension | 4 fields: dimensionality, has_colors, num_verts, color_count |
| 478 | .OGA | OGA file | magic | 7 fields: capture_pattern, version, granule_position, serial_number, page_sequence, checksum, num_segments |
| 479 | .OGG | OGG file | magic | 8 fields: capture, version, header_type, granule, serial, sequence, checksum, segments |
| 480 | .OGV | OGV | magic | 8 fields: capture, version, header_type, granule, serial, page_seq, checksum, seg_count |
| 481 | .OGX | OGX | magic | 8 fields: capture_pattern, version, header_type, granule_position, serial_number, page_sequence, checksum, page_segments |
| 482 | .OPUS | Opus audio (Ogg) | magic | 8 fields: capture_pattern, version, header_type, granule_position, serial_number, page_sequence, checksum, page_segments |
| 483 | .ORG | ORG file | extension | 2 fields: prop_count, heading_count |
| 484 | .OSB | Osb | extension | text — first line / root element / version |
| 485 | .OSB | OSB file | magic | text — first line / root element / version |
| 486 | .OSK | OSK file | magic | 2 fields: section_count, prop_counts |
| 487 | .OSM | OSM File | magic | text — first line / root element / version |
| 488 | .OSR | OSR | extension | 18 fields: flag, byte, gameMode, gameVersion, num300s, num100s, num50s, numGekis, numKatus, numMisses, totalScore, maxCombo, perfect, mods, timestamp, compressedLength, onlineScoreID, additionalModInfo |
| 489 | .OST | OST file | magic | 17 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 | .OSU | OSU file | magic | 2 fields: version, sectionCount |
| 491 | .OSZ | OSZ | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 492 | .OTB | OTB file | extension | 4 fields: infofield, width, height, colours |
| 493 | .OTF | OpenType font | magic | 5 fields: version, num_tables, search_range, entry_selector, range_shift |
| 494 | .OTG | OTG | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 495 | .OTL | OTL file | extension | 2 fields: level, children_count |
| 496 | .OTP | OTP | magic | text — first line / root element / version |
| 497 | .OTS | Ots | extension | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 498 | .OTS | OTT | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 499 | .OV2 | OV2 file | extension | 11 fields: type, length, lon, lat, num_strings, block_length, ne_lon, ne_lat, sw_lon, sw_lat, num_records |
| 500 | .OWL | Owl File | magic | text — first line / root element / version |
| 501 | .OXT | OXT | magic | text — first line / root element / version |
| 502 | .P | P file | extension | text — first line / root element / version |
| 505 | .P8 | P8 file | extension | 8 fields: header_count, lua_count, gfx_count, gff_count, label_count, map_count, sfx_count, music_count |
| 507 | .PAGES | Pages | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 508 | .PAK | PAK file | extension | 5 fields: offset, magic, dir_offset, dir_size, num_files |
| 509 | .PAL | Pal | extension | 3 fields: signature, file_size, form_type |
| 512 | .PAR | Par File | extension | text — first line / root element / version |
| 513 | .PAR2 | Par2 | magic | 5 fields: magic, packet_length, packet_hash, recovery_set_id, packet_type |
| 514 | .PARAMS | PARAMS file | extension | text — first line / root element / version |
| 515 | .PAS | Pas File | extension | text — first line / root element / version |
| 516 | .PAX | PAX file | extension | 14 fields: mode, name, uid, gid, mtime, chksum, typeflag, linkname, uname, gname, devmajor, devminor, prefix, path |
| 519 | .PBO | PBO file | extension | 5 fields: packing_method, original_size, reserved, timestamp, data_size |
| 523 | .PCX | PCX file | magic | 18 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 | .PDB | PDB | extension | 6 fields: blockSize, freeBlockMapBlock, numBlocks, numDirectoryBytes, unknown, blockMapAddr |
| 525 | .PDE | Pde File | extension | text — first line / root element / version |
| 526 | .PDF | PDF document | magic | 2 fields: magic, version |
| 529 | .PDN | PDN | extension | text — first line / root element / version |
| 530 | .PDS | PDS | extension | text — first line / root element / version |
| 531 | .PEM | Pem | extension | text — first line / root element / version |
| 532 | .PET | PET file | magic | 6 fields: magic, method, flags, mtime, extra_flags, os |
| 533 | .PFA | PFA Manager | extension | text — first line / root element / version |
| 534 | .PFAM | PFAM file | magic | 5 fields: gf_count, gs_count, gr_count, gc_count, seq_count |
| 535 | .PFB | PFB | extension | 2 fields: type, length |
| 539 | .PGN | PGN file | extension | text — first line / root element / version |
| 541 | .PHN | PHN file | extension | 3 fields: begin_sample, end_sample, count |
| 542 | .PHP | PHP file | extension | text — first line / root element / version |
| 544 | .php4 | PHP4 file | extension | text — first line / root element / version |
| 546 | .PHY | PHY | extension | text — first line / root element / version |
| 548 | .PI2 | PI2 | magic | 34 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 | .PIR | Pir | extension | text — first line / root element / version |
| 552 | .PK3 | PK3 | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 553 | .PKA | PKA | extension | text — first line / root element / version |
| 554 | .PKG | PKG file | extension | 6 fields: magic, hsize, version, toc_comp_len, toc_uncomp_len, cksum_alg |
| 556 | .PL | PL file | magic | text — first line / root element / version |
| 560 | .PLS | PLS | extension | text — first line / root element / version |
| 561 | .PM | PM file | extension | 3 fields: inherited_count, exported_count, sub_count |
| 562 | .PMA | PMA | extension | 9 fields: headerLen, checksum, comprSize, uncomprSize, attr, level, crc16, osType, extSize |
| 563 | .PMP | PMP file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 564 | .PNG | PNG image | magic | 10 fields: signature, ihdr_length, ihdr_type, width, height, bit_depth, color_type, compression, filter, interlace |
| 565 | .POM | Pom | magic | text — first line / root element / version |
| 566 | .PEG | PEG | extension | text — first line / root element / version |
| 567 | .PPSX | PPSX | magic | text — first line / root element / version |
| 568 | .PPTX | PPTX | magic | text — first line / root element / version |
| 569 | .PRJ | Prj | extension | text — first line / root element / version |
| 570 | .PROPERTIES | Properties | extension | text — first line / root element / version |
| 571 | .PROTO | Proto | extension | 2 fields: field_number, wire_type |
| 573 | .PS | PS File | extension | text — first line / root element / version |
| 574 | .PS1 | PS1 | extension | text — first line / root element / version |
| 575 | .PSD | Photoshop PSD image | magic | 8 fields: signature, version, reserved, channels, height, width, depth, color_mode |
| 577 | .PSM1 | PSM1 | extension | text — first line / root element / version |
| 578 | .PSPPALETTE | PSPPALETTE file | extension | text — first line / root element / version |
| 579 | .PST | Pst | magic | 17 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 | .ptf | PTF file | magic | text — first line / root element / version |
| 581 | .PTS | PTS file | extension | text — first line / root element / version |
| 582 | .PTX | PTX | extension | text — first line / root element / version |
| 583 | .PUB | Pub File | magic | 16 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 | .PUP | Pup | extension | 6 fields: id, offset, hashed, pad, index, digest |
| 585 | .PY | PY file | extension | text — first line / root element / version |
| 586 | .QFX | QFX | extension | text — first line / root element / version |
| 587 | .QIF | QIF file | magic | 3 fields: key, field_count, tx_count |
| 589 | .QOI | QOI file | extension | 5 fields: magic, width, height, channels, colorspace |
| 590 | .QSS | QSS | extension | text — first line / root element / version |
| 591 | .QT | QT file | magic | 2 fields: type, props |
| 592 | .QTVR | QTVR | extension | 23 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 | .R | R file | extension | text — first line / root element / version |
| 595 | .R01 | R01 | magic | 5 fields: signature, header_crc, header_type, header_flags, header_size |
| 601 | .RAM | RAM | extension | text — first line / root element / version |
| 603 | .RAR | RAR archive | extension | 5 fields: magic, crc16, type, flags, size |
| 604 | .RAS | RAS file | extension | 8 fields: magic, width, height, depth, length, type, color_map_type, color_map_length |
| 605 | .RB | RB file | extension | 14 fields: name, length, offset, flag, magic, version_major, version_minor, identifier, year, month, day, toc_offset, file_length, num_entries |
| 606 | .RBXL | RBXL | magic | 6 fields: magic, signature, version, class_count, instance_count, reserved |
| 608 | .RDP | RDP file | extension | 3 fields: type, i_val, count |
| 609 | .RDS | RDS | magic | 6 fields: magic, method, flags, mtime, extra_flags, os |
| 610 | .RES | RES file | extension | 7 fields: dataSize, headerSize, dataVersion, memoryFlags, languageId, version, characteristics |
| 611 | .REX | REX file | extension | 7 fields: version, sample_rate, channels, bit_depth, num_slices, tempo, length_beats |
| 612 | .REXX | REXX file | magic | text — first line / root element / version |
| 613 | .RKT | RKT File | extension | text — first line / root element / version |
| 614 | .RM | RM | magic | 5 fields: signature, size, object_version, file_version, num_headers |
| 615 | .RMD | RMD | extension | text — first line / root element / version |
| 616 | .RMVB | RMVB | magic | 5 fields: signature, size, object_version, file_version, num_headers |
| 617 | .ROB | Property | extension | text — first line / root element / version |
| 618 | .ROL | ROL | extension | 14 fields: atTick, multiplier, note, duration, instName, filler, unknown, volume, pitch, voice_trackName, nTicks, timbre_trackName, volume_trackName, pitch_trackName |
| 619 | .RPM | RPM file | extension | 10 fields: magic, major, minor, type, archnum, osnum, signature_type, version, index_count, store_size |
| 620 | .RS | RS file | extension | 8 fields: magic, width, height, depth, length, type, map_type, map_length |
| 621 | .RSA | RSA file | extension | text — first line / root element / version |
| 627 | .RTF | Rtf | magic | text — first line / root element / version |
| 628 | .RUA | RUA file | magic | text — first line / root element / version |
| 629 | .RUN | Run File | extension | text — first line / root element / version |
| 630 | .S | S file | extension | text — first line / root element / version |
| 631 | .S3M | S3M | magic | 15 fields: songname, eof_marker, type, reserved, ordnum, insnum, patnum, flags, cwtv, ffv, magic, global_volume, initial_speed, initial_tempo, master_volume |
| 632 | .S7I | S7I | extension | text — first line / root element / version |
| 634 | .SASS | SASS file | extension | text — first line / root element / version |
| 635 | .SAT | Sat File | extension | text — first line / root element / version |
| 636 | .SAV | SAV file | extension | 6 fields: magic, tag, type, has_label, n_missing, label_len |
| 637 | .SB | SB file | extension | 19 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 | .SB3 | SB3 | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 641 | .SBV | SBV file | extension | 5 fields: start, end, text_count, num_entries, max_entries |
| 643 | .SCALA | SCALA file | extension | 2 fields: note_count, capacity |
| 644 | .SCM | SCM file | magic | 9 fields: magic, header_size, archive_size, format_version, block_size, hash_table_pos, block_table_pos, hash_table_size, block_table_size |
| 646 | .SCSS | Scss | extension | 6 fields: line_count, char_count, var_count, mixin_count, include_count, at_rule_count |
| 647 | .SC7 | SD7 file | magic | 6 fields: major, minor, start_crc, next_offset, next_size, next_crc |
| 648 | .SDF | SDF file | extension | 10 fields: title, timestamp, comment, atoms_count, bonds_count, element, atoms_num, bonds_num, fields_num, records_num |
| 650 | .SDS | SDS | extension | 21 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 | .sdts | SDTS | extension | text — first line / root element / version |
| 652 | .SEC | SEC file | magic | text — first line / root element / version |
| 653 | .SED | Property | extension | 2 fields: prop_count, section_count |
| 654 | .SEQ | SEQ file | extension | 3 fields: length, num_seqs, total_bases |
| 656 | .SF | SF file | magic | 3 fields: signature, file_size, form_type |
| 659 | .SFX | SFX file | magic | 17 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 | .SH | SH file | extension | text — first line / root element / version |
| 661 | .SHAR | File | extension | 6 fields: name, type, permissions, timestamp, length, md5 |
| 662 | .SHTM | SHTM file | extension | 7 fields: file_ext, mime_type, last_mod, encoding, ssi_count, has_html, server_dep |
| 664 | .SHX | SHX file | extension | 6 fields: file_code, unused, file_length_words, version, shape_type, num_records |
| 666 | .SIG | SIG file | extension | text — first line / root element / version |
| 667 | .SL | SL file | extension | 2 fields: magic, version |
| 668 | .SLDASM | Sldasm | magic | 16 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 | .SLDPART | SLDPART file | magic | 16 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 | .SMK | SMK | extension | 14 fields: signature, width, height, frames, frame_rate, flags, audio_size, trees_size, mmap_size, mclr_size, full_size, type_size, audio_rate, dummy |
| 674 | .SO | SO File | magic | 8 fields: e_type, e_machine, e_version, e_entry, e_phoff, e_shoff, e_flags, e_ehsize |
| 678 | .SPS | SPS | extension | 14 fields: version, start, end, latitude, longitude, chart_max, chart_min, timezone, source, author, name, location, channels, note_length |
| 680 | .SPV | SPV file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 681 | .SPX | SPX file | magic | 3 fields: properties, speex_version, vendor |
| 683 | .SQL | SQL File | extension | text — first line / root element / version |
| 684 | .SRT | SRT | extension | text — first line / root element / version |
| 685 | .SRX | SRX | magic | text — first line / root element / version |
| 687 | .ST | ST | extension | 11 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 | .STC | STC | extension | 5 fields: num, rep_pos, rep_len, trans, pat_num |
| 689 | .STD | STD file | extension | 5 fields: rec_len, rec_type, rec_sub, cpu_type, stdf_ver |
| 690 | .STEP | Step | extension | text — first line / root element / version |
| 691 | .STI | STI file | extension | 19 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 | .STK | STK file | extension | 4 fields: num_comments, area, perimeter, num_vertices |
| 694 | .STM | STM file | extension | 23 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 | .STO | STO file | extension | 4 fields: version, nRows, nColumns, val |
| 696 | .STO | STO file | magic | 19 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 | .STP | Stp | extension | text — first line / root element / version |
| 700 | .SUR | SUR | extension | 13 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 | .SVELTE | Svelte File | extension | text — first line / root element / version |
| 704 | .SWF | SWF Flash | magic | 3 fields: signature, version, file_length |
| 705 | .SWG | SWG file | extension | 7 fields: checksum, method, compressed_size, uncompressed_size, attr, level, crc16 |
| 706 | .SWIFT | SWIFT file | extension | text — first line / root element / version |
| 708 | .SXC | SXC | magic | text — first line / root element / version |
| 709 | .SXD | SXD file | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 710 | .SXG | SXG | extension | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 711 | .SXI | SXI | magic | text — first line / root element / version |
| 712 | .SXM | SXM | extension | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 714 | .SXW | SXW | magic | text — first line / root element / version |
| 715 | .SYLK | Sylk | extension | text — first line / root element / version |
| 718 | .TAR | tar archive | magic | 13 fields: name, mode, uid, gid, size, mtime, chksum, typeflag, linkname, magic, version, uname, gname |
| 720 | .TB2 | TB2 file | magic | 2 fields: signature, block_size |
| 721 | .TBZ | TBZ | extension | 15 fields: name, mode, uid, gid, mtime, chksum, typeflag, linkname, magic, version, uname, gname, devmajor, devminor, prefix |
| 722 | .TBZ2 | TBZ2 file | magic | 2 fields: signature, block_size |
| 723 | .TC | TC | magic | 17 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 | .TER | TER file | extension | 10 fields: header, xpts, ypts, scale, crad, crvm, heightscale, baseheight, elevations_size, eof |
| 725 | .TGA | TGA | magic | 12 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 | .TGT | TGT | extension | text — first line / root element / version |
| 727 | .TGZ | TGZ file | magic | 7 fields: typeflag, all_zero, name, mode, uid, gid, mtime |
| 729 | .TIF | Tiff | magic | 6 fields: tagId, type, count, valOffset, numEntries, nextOffset |
| 730 | .TIFF | TIFF image | magic | 3 fields: byte_order, magic, ifd_offset |
| 732 | .TLZ | TLZ file | magic | 2 fields: version, ds |
| 734 | .TORRENT | Torrent | extension | text — first line / root element / version |
| 735 | .TQL | TQL File | extension | text — first line / root element / version |
| 737 | .TSCN | TSCN | extension | text — first line / root element / version |
| 738 | .TSV | Tsv | extension | text — first line / root element / version |
| 739 | .TTC | TTC File | extension | 7 fields: majorVersion, minorVersion, numFonts, offset, dsigTag, dsigLength, dsigOffset |
| 740 | .TTF | TrueType font | magic | 5 fields: version, num_tables, search_range, entry_selector, range_shift |
| 741 | .TWB | TWB file | magic | text — first line / root element / version |
| 742 | .TXT | Txt File | extension | text — first line / root element / version |
| 743 | .TXZ | TXZ | magic | 3 fields: magic, stream_flags, crc32 |
| 744 | .TZ2 | TZ2 file | extension | 16 fields: name, mode, uid, gid, mtime, checksum, typeflag, linkname, magic, version, uname, gname, devmajor, devminor, prefix, pad |
| 745 | .tzst | TZST | extension | text — first line / root element / version |
| 746 | .UI | UI File | extension | text — first line / root element / version |
| 748 | .UNV | UNV file | extension | text — first line / root element / version |
| 750 | .uot | UOT | extension | text — first line / root element / version |
| 752 | .UPS | UPS | extension | 4 fields: byte, sourceCRC, targetCRC, patchCRC |
| 753 | .URL | URL | extension | text — first line / root element / version |
| 754 | .USDZ | USDZ | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 758 | .UXF | UXF | magic | text — first line / root element / version |
| 761 | .V4P | V4P | extension | text — first line / root element / version |
| 764 | .VBOX | VBOX File | magic | text — first line / root element / version |
| 765 | .VBOXEXTPACK | V Box Ext Pack | magic | 6 fields: magic, method, flags, mtime, extra_flags, os |
| 766 | .VBPROJ | VB Proj | extension | text — first line / root element / version |
| 767 | .VBR | VBR | extension | text — first line / root element / version |
| 768 | .VBS | VBS File | extension | text — first line / root element / version |
| 769 | .VBX | VBX file | magic | 31 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 | .VDA | VDA | magic | 12 fields: idLength, colorMapType, imageType, colorMapOrigin, colorMapLength, colorMapDepth, xOrigin, yOrigin, width, height, bitsPerPixel, imageDescriptor |
| 775 | .VDW | VDW file | magic | 16 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 | .VDX | VDX | magic | text — first line / root element / version |
| 777 | .VFD | VFD | extension | 21 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 | .VMDK | VMDK | magic | 17 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 | .VMX | VMX | extension | text — first line / root element / version |
| 784 | .VPK | VPK | magic | 7 fields: signature, version, tree_size, file_data_section_size, archive_md5_section_size, other_md5_section_size, signature_section_size |
| 786 | .VPP | VPP file | extension | 5 fields: magic, version, num_files, total_size, first_data_offset |
| 787 | .VPR | Vpr | magic | text — first line / root element / version |
| 788 | .VQM | VQM | extension | text — first line / root element / version |
| 790 | .VS | VS File | extension | text — first line / root element / version |
| 791 | .VSD | VSD file | magic | 18 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 | .VSDX | Vsdx | magic | text — first line / root element / version |
| 794 | .VSQ | VSQ file | magic | 5 fields: magic, header_length, format, num_tracks, division |
| 795 | .VSQX | VSQX | magic | text — first line / root element / version |
| 796 | .VST | VST file | magic | 16 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 | .VTF | VTF | extension | 19 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 | .VUE | Vue File | extension | text — first line / root element / version |
| 801 | .VVVVVV | VVVVVV file | magic | text — first line / root element / version |
| 803 | .WAD | WAD file | extension | 5 fields: identification, numlumps, infotableofs, name, offset |
| 804 | .WAV | WAV audio | magic | 11 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 | .WK1 | properties | extension | 8 fields: magic, version, revision, columns, rows, calc_mode, sheet_dimensions, endianness |
| 810 | .WKS | WKS | magic | 2 fields: opcode, length |
| 811 | .WL | WL | magic | 2 fields: preamble, dicom_magic |
| 812 | .WLMP | WLMP | magic | text — first line / root element / version |
| 813 | .WLS | WLS | magic | text — first line / root element / version |
| 814 | .WMA | WMA | magic | 18 fields: data1, data2, data3, value, numObjects, flags, minPkt, maxPkt, maxBit, typeLen, errLen, streamNum, formatTag, channels, samplesSec, avgBytes, blockAlign, bitsSample |
| 816 | .WMF | WMF | magic | 16 fields: key, handle, left, top, right, bottom, inch, reserved, checksum, file_type, header_size, version, file_size, num_objects, max_record, num_params |
| 817 | .WMV | WMV | magic | 5 fields: header_guid, object_size, num_header_objects, reserved1, reserved2 |
| 818 | .wos | WOS | extension | text — first line / root element / version |
| 819 | .WPS | WPS file | magic | 36 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 | .WS | WS | extension | text — first line / root element / version |
| 821 | .WSC | WSC File | magic | text — first line / root element / version |
| 822 | .WTX | WTX | extension | text — first line / root element / version |
| 823 | .WUHB | WUHB file | magic | 11 fields: magic, header_size, section1_offset, section1_size, section2_offset, section2_size, section3_offset, section3_size, section4_offset, section4_size, rpx_offset |
| 824 | .X | X file | extension | 5 fields: magic, major, minor, format_type, float_size |
| 825 | .X3D | X3D | magic | text — first line / root element / version |
| 826 | .XAR | Xar | extension | 5 fields: magic, version, toc_comp_len, toc_uncomp_len, cksum_alg |
| 827 | .XRBL | XBRL | magic | text — first line / root element / version |
| 828 | .XCF | XCF Handler Cpp | extension | 4 fields: val, r, g, b |
| 829 | .xdm | XDM file | magic | text — first line / root element / version |
| 831 | .XEX | XEX | extension | 2 fields: start, end |
| 832 | .XLR | XLR | magic | 16 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 | .XLS | XLS Header | magic | 16 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 | .XLSB | Property | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 835 | .XLSM | XLSM | magic | text — first line / root element / version |
| 836 | .XLSX | XLSX | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 837 | .XM | XM file | extension | 49 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 | .XMF | XMF | extension | 5 fields: length, item_count, header_length, metadata_length, ref_type |
| 839 | .XML | XML | magic | text — first line / root element / version |
| 840 | .XP | XP | magic | 5 fields: charCode, fg, bg, width, height |
| 841 | .XPL | XPL | extension | text — first line / root element / version |
| 842 | .XPS | XPS | magic | text — first line / root element / version |
| 843 | .XSD | XSD | magic | text — first line / root element / version |
| 844 | .XSF | XSF | extension | text — first line / root element / version |
| 845 | .XSL | XSL | magic | text — first line / root element / version |
| 846 | .XSLT | Xslt | magic | text — first line / root element / version |
| 847 | .xsn | XSN file | extension | text — first line / root element / version |
| 848 | .XSPF | XSPF file | magic | text — first line / root element / version |
| 851 | .XXX | XXX file | extension | 9 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 | .XYZ | XYZ file | extension | text — first line / root element / version |
| 853 | .XZ | XZ archive | magic | 3 fields: magic, stream_flags, stream_flags_crc32 |
| 854 | .Y | Seg Y | extension | 31 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 | .YAML | YAML file | extension | text — first line / root element / version |
| 856 | .YML | Yml | extension | text — first line / root element / version |
| 857 | .ZIP | ZIP archive | magic | 11 fields: signature, version_needed, flags, method, mod_time, mod_date, crc32, compressed_size, uncompressed_size, filename_len, extra_len |
| 858 | .ZRX | ZRX file | extension | text — first line / root element / version |
| 859 | .ZS | ZS file | magic | 9 fields: magic, header_length, root_index_offset, root_index_length, total_file_length, sha256, codec, metadata_length, header_crc |
| 860 | .ZST | Zstandard archive | magic | 2 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:
| Reason | Count | What it means |
|---|---|---|
| text | 46 | the 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-length | 15 | the 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. |
| streaming | 9 | frame/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-spec | 9 | the 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-scanning | 8 | containers 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-header | 7 | the 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). |
| EBML | 3 | MKV/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:
| Stage | PASS | PARTIAL | FAIL | NO SAMPLE |
|---|---|---|---|---|
| Round 10 (autonomous loop) | 482 | 69 | 2 | 296 |
| Round 12 (autonomous loop) | 537 | 109 | 31 | 172 |
| Corrected round 15 (crash fixed, clean re-run) | 561 | 130 | 38 | 124 |
| Override round (34 of 38 FAILs fixed) | 607 | 137 | 2 | 107 |
| DuckDuckGo + Wayback research round | 611 | 136 | 2 | 104 |
| PARTIAL round (39 PARTIALs converted) | 650 | 97 | 2 | 104 |
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 andsrc/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.cppmd5f886e60213cd5ac4a4187fca3171fb32. - Design: table-driven generic engine (
src/sfile.c); the format table (src/formats.h) is generated fromsrc/formats.jsonbytools/gen_formats.py; hand overrides live intools/overrides.json(351 entries). - Test corpus: 772 real sample files on disk (1.9 GB), each recorded in
samples/manifest-*.jsonwith its source URL and SHA-256. Bogus downloads are recorded intools/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.