Data file formats
Files that hold information for programs to read: structured text, binary serialisation, databases, scientific and map data, AI models, messages and calendars, and the formats that compress files or bundle many files into one.
Subcategories
Structured text
Data written as readable text, with rules for nesting and quoting.
13 formatsBinary serialisation
Compact binary encodings of structured data, made for programs to exchange.
7 formatsDatabase
Whole databases and tables in files: the records, and the indexes that find them.
12 formatsScientific
Large arrays of measurements and results, with the metadata that explains them.
18 formatsGeospatial
Points, routes, shapes and map tiles on the Earth, with their coordinates.
8 formatsAI
Model weights, checkpoints, adapters, tokenizers and the files around them.
18 formatsMessage & calendar
Emails, calendar events and contact cards, each in a plain text format.
12 formatsCompression
One file squeezed into fewer bytes, to be expanded back exactly.
11 formatsArchive
Many files and folders bundled into one, often compressed as well.
14 formatsSaved game
The files games write to keep a player's progress.
3 formatsWeb site files
The files a site publishes for crawlers and tools: sitemap.xml, robots.txt and their kin.
25 formatsAll data file formats
| Format | Name | About | Reference | Viewer | Editor | Open |
|---|---|---|---|---|---|---|
| Structured text | ||||||
.CSV | Comma-separated values | A plain text table, one record per line, fields split by commas. | full | full | Open | |
.INI | INI configuration file | Configuration text: sections in brackets, then key=value lines. | partial | partial | Open | |
.JSON | JavaScript Object Notation | Text format for objects, arrays, strings, numbers and booleans. | full | full | Open | |
.JSON | JSON Schema | A JSON document that describes and validates other JSON documents. | partial | partial | Open | |
.JSON5 | JSON5 | JSON with comments, trailing commas and unquoted keys, for hand editing. | full | full | Open | |
.JSONL | JSON Lines | One JSON value per line, so records can be streamed and appended. | full | full | Open | |
.MO | gettext MO binary catalogue | Compiled catalogue: sorted string tables and a hash table, in either byte order. | partial | partial | Open | |
.PO | gettext PO message catalogue | Text catalogue of messages and their translations: entries, plurals, contexts and comments. | partial | partial | Open | |
.POT | gettext POT template | Translation template: every message of a program, with empty translations. | partial | partial | Open | |
.TOML | Tom’s Obvious Minimal Language | Configuration text: tables in brackets, then key = value lines. | full | full | Open | |
.TSV | Tab-separated values | A plain text table, one record per line, fields split by tabs. | full | full | Open | |
.XML | Extensible Markup Language | Nested elements with tags and attributes, written as text. | partial | partial | Open | |
.YAML | YAML Ain’t Markup Language | Indented text for configuration: maps, lists and values. | partial | partial | Open | |
| Binary serialisation | ||||||
.AVRO | Apache Avro object container file | Records in compact binary, with their JSON schema in the file header. | full | full | Open | |
.BSON | Binary JSON | MongoDB’s documents: typed, length-prefixed elements in binary. | partial | partial | Open | |
.CBOR | Concise Binary Object Representation | IETF standard binary values, each led by a major type and length. | partial | Open | ||
.MSGPACK | MessagePack | JSON-like values in compact binary, each led by a type byte. | full | full | Open | |
.PB | Protocol Buffers message (no schema) | Google’s compact binary messages, defined by a .proto schema. | partial | partial | Open | |
.PKL | Python pickle | Saved Python objects, rebuilt by stack-machine opcodes when loaded. | full | full | Open | |
.SER | Java serialised object | Java objects written by ObjectOutputStream, starting AC ED 00 05. | partial | Open | ||
| Database | ||||||
.DB-JOURNAL | SQLite rollback journal (-journal) | The original pages an SQLite transaction changes, kept to roll it back after a crash. | full | full | Open | |
.DB-WAL | SQLite write-ahead log (-wal) | The pages an SQLite transaction changed, kept beside the database until a checkpoint. | full | full | Open | |
.DBF | dBASE table | One dBASE table: a header, field list, then fixed-length text records. | partial | Open | ||
.DUCKDB | DuckDB database file | An analytical SQL database in one file, its tables stored by column. | partial | Open | ||
.EDB | Extensible Storage Engine database | Microsoft's ESE (JET Blue) database: Windows Search, Active Directory, Exchange. | partial | partial | Open | |
.GDBM | GDBM database | A GNU GDBM hash-table file; SQLite 1.0 kept each table and index in one. | partial | partial | Open | |
.MDB | Microsoft Access database | Microsoft Access tables, queries and forms in one file, on Jet or ACE. | partial | Open | ||
.ODB | OpenDocument database | The LibreOffice Base database front end: a connection, queries, forms and reports, often with the data itself. | partial | Open | ||
.PARQUET | Apache Parquet | Large tables stored column by column, compressed, with metadata at the end. | partial | Open | ||
.SQL | SQL database dump | A database backup as SQL text: CREATE TABLE, then INSERT for every row. | partial | partial | Open | |
.SQLITE | SQLite 2 database | SQLite 2.6 to 2.8’s file: 1,024-byte pages in the machine’s byte order, every value text. | full | full | Open | |
.SQLITE | SQLite 3 database | A whole SQL database in one file: pages of b-trees, typed values, UTF-8 or UTF-16 text. | full | full | Open | |
| Scientific | ||||||
.ARROW | Apache Arrow IPC file | Columnar tables in Arrow’s in-memory layout, ready to memory-map. | partial | Open | ||
.CELLS | Plaintext Game of Life pattern | Game of Life pattern as text: !Name: comment lines, then rows of . and O. | partial | partial | Open | |
.H5 | Hierarchical Data Format version 5 | Groups and large numeric datasets, organised like a file system. | full | partial | Open | |
.HDF | Hierarchical Data Format version 4 | The older HDF: tagged objects found through data descriptor blocks. | partial | Open | ||
.LIF | Life 1.05 pattern | Game of Life pattern: #Life 1.05, #D, #N or #R, #P blocks of dots and stars. | partial | partial | Open | |
.LIF | Life 1.06 pattern | Game of Life pattern as a list: #Life 1.06, then one live cell a line, x y. | partial | partial | Open | |
.LIF | Life pattern without a version line | Older Game of Life patterns: the Life 1.05 layout with no #Life line. | partial | partial | Open | |
.LIF | Life pattern (x grid) | Game of Life patterns drawn as rows of x and spaces, with no header. | partial | partial | Open | |
.MAT | MATLAB data file | Variables saved from MATLAB, in tagged data elements or in HDF5. | partial | Open | ||
.MC | Golly macrocell | Game of Life universe as a quadtree: [M2], #R, #G, 8x8 leaf lines and node lines. | partial | partial | Open | |
.MCL | MCell pattern | MCell cellular automaton pattern: #MCell, #GAME, #RULE, #BOARD, #D and #L cell lines. | partial | partial | Open | |
.NC | NetCDF classic | Gridded science data: a CDF header of dimensions and variables, then arrays. | full | partial | Open | |
.NC | NetCDF-4 | NetCDF data stored in an HDF5 file, with compression, chunks and groups. | partial | partial | Open | |
.NPY | NumPy array | One NumPy array: a short text header with shape and type, then raw values. | partial | partial | Open | |
.RLE | Golly RLE pattern | Run-length encoded Game of Life pattern: x = , y = , rule = header, then b, o and $ runs. | partial | partial | Open | |
.ROOT | CERN ROOT data file | Particle physics data from CERN’s ROOT: compressed objects, trees and histograms. | partial | Open | ||
.RULE | Golly cellular automaton rule | Golly rule: @TABLE transitions or @TREE, with state names, colours and icons. | partial | partial | Open | |
.XYZ | XYZ molecule geometry | Atom positions of a molecule: a count, a comment, then one atom per line. | partial | Open | ||
| Geospatial | ||||||
.GEOJSON | GeoJSON | Map points, lines and areas with properties, written as JSON. | full | full | Open | |
.GPKG | GeoPackage | Map layers and tiles in one SQLite database, an OGC standard. | partial | Open | ||
.GPX | GPS Exchange Format | GPS waypoints, routes and recorded tracks, written in XML. | full | full | Open | |
.KML | Keyhole Markup Language | Google Earth’s placemarks, paths and areas with styles, written in XML. | partial | Open | ||
.MBTILES | MBTiles | A set of map tiles, images or vector tiles, in one SQLite database. | partial | Open | ||
.PBF | OpenStreetMap PBF | OpenStreetMap nodes, ways and relations in compressed Protocol Buffers blocks. | full | partial | Open | |
.SHP | Esri shapefile | Esri’s vector map data: shapes in .shp, index in .shx, attributes in .dbf. | partial | Open | ||
.TIF | GeoTIFF | A TIFF image with tags that place it on the Earth: maps, satellite images, heights. | partial | Open | ||
| AI | ||||||
.BIN | GGML model file | The model format of ggml and whisper.cpp from before GGUF. | partial | Open | ||
.CKPT | Model checkpoint | A training snapshot: weights, optimiser state and step counts. | partial | Open | ||
.ENGINE | TensorRT engine | A model compiled by TensorRT for one NVIDIA GPU and TensorRT version. | Open | |||
.FST | OpenFst transducer | OpenFst’s binary finite-state transducer: a header and symbol tables, then the states. | partial | partial | Open | |
.GGUF | GGUF model file | A language model for llama.cpp: metadata and quantised weights. | partial | partial | Open | |
.JSON | Hugging Face model config | config.json: a model’s architecture and sizes, read before the weights. | partial | Open | ||
.JSON | Hugging Face tokenizer | tokenizer.json: a language model’s vocabulary and tokenising rules. | partial | Open | ||
.KERAS | Keras model | A whole Keras model: JSON config and HDF5 weights in a ZIP archive. | partial | Open | ||
.MLMODEL | Core ML model | A model for apps on Apple devices, as a Protocol Buffers message. | partial | Open | ||
.ONNX | ONNX model (ModelProto) | A neural network’s graph and weights in one Protocol Buffers message. | partial | partial | Open | |
.PB | TensorFlow GraphDef (frozen graph) | A TensorFlow graph of operations; frozen graphs hold the weights as constants. | partial | partial | Open | |
.PB | ONNX sequence or optional value (SequenceProto, OptionalProto) | An ONNX sequence or optional value: tensors in a list, as used by ONNX’s test data. | full | full | Open | |
.PB | ONNX tensor (TensorProto) | One ONNX tensor: shape, data type and values, as used by ONNX’s test data. | full | full | Open | |
.PB | TensorFlow SavedModel (saved_model.pb) | A TensorFlow model folder: saved_model.pb graph, variables and assets. | partial | partial | Open | |
.PT | PyTorch model | Tensors saved by torch.save: a pickle and raw data in a ZIP archive. | partial | Open | ||
.SAFETENSORS | LoRA adapter | Small low-rank A and B matrices that adjust a base model’s layers. | partial | Open | ||
.SAFETENSORS | Safetensors | Model weights after a JSON header, safe to load with no code. | full | full | Open | |
.TFLITE | TensorFlow Lite model | A model for phones and small devices, as one FlatBuffers file. | partial | Open | ||
| Message & calendar | ||||||
.EML | Email message | One email as sent: header fields, then a body with MIME parts. | partial | partial | Open | |
.EMLX | Apple Mail message | One Apple Mail message: a byte count, the email, then a property list. | partial | partial | Open | |
.ICS | iCalendar | Calendar events, to-dos and time zones as text content lines. | partial | partial | Open | |
.JCAL | jCal: iCalendar in JSON | iCalendar as JSON: events, to-dos and time zones as nested arrays. | partial | partial | Open | |
.JCARD | jCard: vCard in JSON | vCard 4.0 contacts as JSON: names, numbers and addresses as arrays. | partial | partial | Open | |
.MBOX | Mailbox | A mail folder in one text file, each message after a From line. | partial | partial | Open | |
.MSG | Outlook message | One Outlook item, its properties stored as streams in a compound file. | partial | partial | Open | |
.PST | Outlook data file | A whole Outlook mailbox: folders, mail, calendar and contacts. | partial | partial | Open | |
.VCF | vCard contact | Contact cards: names, numbers and addresses as text lines. | partial | partial | Open | |
.VCS | vCalendar | The calendar format before iCalendar, used by older phones and Outlook. | full | full | Open | |
.XCARD | xCard: vCard in XML | vCard 4.0 contacts as XML: names, numbers and addresses as elements. | partial | partial | Open | |
.XCS | xCal: iCalendar in XML | iCalendar as XML: events, to-dos and time zones as elements. | partial | partial | Open | |
| Compression | ||||||
.BR | Brotli compressed file | Google’s web compression, with a built-in dictionary of common text. | partial | partial | Open | |
.BZ2 | Bzip2 compressed file | One file compressed with the Burrows–Wheeler transform. | partial | partial | Open | |
.DCB | Dictionary-Compressed Brotli | Brotli that uses a dictionary: a hash header, then a shared Brotli stream. | partial | partial | Open | |
.DCZ | Dictionary-Compressed Zstandard | Zstandard that uses a dictionary: a hash header, then a Zstandard stream. | partial | partial | Open | |
.GZ | Gzip compressed file | One file compressed with DEFLATE, with a small header and CRC. | partial | partial | Open | |
.LZ | Lzip compressed file | One file compressed with LZMA in a simple container built for archiving. | full | partial | Open | |
.LZ4 | LZ4 compressed file | Very fast compression, in a frame of sized blocks with checksums. | full | full | Open | |
.LZMA | LZMA compressed file | One file compressed with LZMA after a 13-byte header; replaced by xz. | full | full | Open | |
.XZ | XZ compressed file | One file compressed with LZMA2, in indexed, checked blocks. | full | full | Open | |
.Z | Unix compress file | The old Unix compress format: LZW codes after a 3-byte header. | full | full | Open | |
.ZST | Zstandard compressed file | Fast modern compression from Facebook, in frames of typed blocks. | partial | partial | Open | |
| Archive | ||||||
.7Z | 7z archive | 7-Zip’s archive: solid LZMA2 compression, file list at the end. | partial | partial | Open | |
.ARJ | ARJ archive | A popular 1990s DOS archiver, with headers starting 60 EA. | partial | Open | ||
.CAB | Microsoft Cabinet | Microsoft’s installer archive: files in compressed folders after an MSCF header. | partial | Open | ||
.CPIO | cpio archive | A simple Unix archive, used inside initramfs, RPM and macOS packages. | partial | Open | ||
.LZH | LHA archive | The DOS-era archiver popular in Japan and on the Amiga. | partial | Open | ||
.RAR | RAR 1.5 to 4.x archive (RAR4) | The older RAR format: blocks with a fixed 7-byte header and 16-bit CRC. | partial | partial | Open | |
.RAR | RAR 5.0 archive (RAR5) | WinRAR’s current archive: CRC-32 block headers with variable-length numbers. | full | partial | Open | |
.SIT | StuffIt archive | The classic Mac archive, keeping resource forks, types and creators. | partial | Open | ||
.TAR | GNU tar archive | GNU tar’s own header: times and sparse maps where ustar has the prefix, and long-name entries. | partial | partial | Open | |
.TAR | Schily tar archive (star) | star’s header: a 131-byte prefix, with access and change times in the bytes after it. | partial | partial | Open | |
.TAR | POSIX ustar and pax archive | The POSIX header with “ustar” magic, owner names and a 155-byte prefix; pax adds records. | partial | partial | Open | |
.XAR | Extensible archive | An archive with an XML table of contents, used inside macOS .pkg files. | partial | partial | Open | |
.ZIP | ZIP archive | Files compressed one by one, listed again in a directory at the end. | partial | full | Open | |
._ | AppleDouble and AppleSingle | The ._ files macOS writes beside files on other file systems, with their resource fork, Finder info and extended attributes. | partial | partial | Open | |
| Saved game | ||||||
.CDR | Elite commander file | An Elite commander: PC Elite's 208 bytes or the 6502 versions' 256 bytes with checksums, with the galaxy drawn from its seeds. | partial | partial | Open | |
.CFG | Tyrian configuration | Tyrian's TYRIAN.CFG: 28 bytes of detail level, game speed, volumes, joystick buttons and keys. | partial | partial | Open | |
.SAV | Tyrian saved games | Tyrian's TYRIAN.SAV: 22 save slots and the high scores in 2,502 scrambled bytes with four checksums, every field and item shown by name. | partial | partial | Open | |
| Web site files | ||||||
.ADS.TXT | ads.txt (Authorized Digital Sellers) | The advertising systems a publisher authorises to sell its space. | partial | partial | Open | |
.AI-PLUGIN.JSON | ai-plugin.json (ChatGPT plugin, legacy) | The manifest of a ChatGPT plugin: names, descriptions, auth and the OpenAPI address. Legacy. | partial | partial | Open | |
.APP-ADS.TXT | app-ads.txt (Authorized Sellers for Apps) | The advertising systems a developer authorises to sell an app's space. | partial | partial | Open | |
.APPLE-APP-SITE-ASSOCIATION | apple-app-site-association (associated domains) | Which apps open a site's links, use its credentials, or are its App Clips. | partial | partial | Open | |
.ASSETLINKS.JSON | assetlinks.json (Digital Asset Links) | Which Android apps and sites a site delegates permissions to, such as opening its links. | partial | partial | Open | |
.ATOM | Atom 1.0 feed | A feed of entries with ids, titles and update times (RFC 4287). | partial | partial | Open | |
.BROWSERCONFIG.XML | browserconfig.xml (pinned site tiles) | Tile images, colour and notifications of a pinned site (Internet Explorer 11). | partial | partial | Open | |
.CLIENTACCESSPOLICY.XML | clientaccesspolicy.xml (Silverlight policy) | Which domains may call a service from Silverlight, and what they are granted. | partial | partial | Open | |
.CROSSDOMAIN.XML | crossdomain.xml (cross-domain policy) | Which other domains Flash Player and Acrobat may load data from. | partial | partial | Open | |
.HOST-META | host-meta (Web Host Metadata) | Links that describe a whole host, as XRD or JSON, with templates for its resources. | partial | partial | Open | |
.HUMANS.TXT | humans.txt (the people behind a site) | Credits for the team behind a site: TEAM, THANKS and SITE headings. | partial | partial | Open | |
.LLMS.TXT | llms.txt (site overview for language models) | A Markdown guide to a site for language models: a title, a summary and lists of links. | partial | partial | Open | |
.MATRIX-CLIENT | Matrix client discovery | Where a Matrix client finds the homeserver of a user ID's domain. | partial | partial | Open | |
.MATRIX-SERVER | Matrix server delegation | Which host and port other Matrix homeservers use to reach this server name. | partial | partial | Open | |
.MTA-STS.TXT | mta-sts.txt (MTA-STS policy) | A mail domain's policy for TLS delivery: mode, allowed MX hosts, cache time. | partial | partial | Open | |
.NODEINFO | NodeInfo discovery | Links from a federated server to its NodeInfo documents, one for each schema version. | partial | partial | Open | |
.OAUTH-AUTHORIZATION-SERVER | oauth-authorization-server (RFC 8414) | An OAuth 2.0 authorization server's issuer, endpoints and supported lists. | partial | partial | Open | |
.OPENID-CONFIGURATION | openid-configuration (OpenID Provider metadata) | An OpenID Provider's issuer, endpoints and supported lists. | partial | partial | Open | |
.OPENSEARCH.XML | OpenSearch description document | How a browser searches a site: names, URL templates and icons. | partial | partial | Open | |
.ROBOTS.TXT | robots.txt (Robots Exclusion Protocol) | Which paths a web crawler may fetch: groups of allow and disallow rules. | partial | partial | Open | |
.RSS | RSS 2.0 feed | A channel of items that a feed reader fetches. | partial | partial | Open | |
.SECURITY.TXT | security.txt (vulnerability disclosure contacts) | Where to report a vulnerability: contacts, policy and expiry (RFC 9116). | partial | partial | Open | |
.SITEMAP.XML | Sitemap (Sitemaps XML protocol) | The pages of a site for search engines: a urlset, or an index of sitemaps. | partial | partial | Open | |
.WEBFINGER | WebFinger response (JRD) | What a server knows about one resource: subject, aliases, properties and links. | partial | partial | Open | |
.WEBMANIFEST | Web app manifest | Describes an installable web app: name, icons, start page, display mode, colours. | partial | partial | Open | |