Structured text file formats
Formats that write data as readable text. Each has its own rules for nesting values, quoting text and marking where one value ends and the next begins, so a person can read the file and a program can parse it.
Formats
.CSV
Comma-separated valuesA plain text table, one record per line, fields split by commas.
.INI
INI configuration fileConfiguration text: sections in brackets, then key=value lines.
.JSON
JavaScript Object NotationText format for objects, arrays, strings, numbers and booleans.
.JSON
JSON SchemaA JSON document that describes and validates other JSON documents.
.JSON5
JSON5JSON with comments, trailing commas and unquoted keys, for hand editing.
.JSONL
JSON LinesOne JSON value per line, so records can be streamed and appended.
.MO
gettext MO binary catalogueCompiled catalogue: sorted string tables and a hash table, in either byte order.
.PO
gettext PO message catalogueText catalogue of messages and their translations: entries, plurals, contexts and comments.
.POT
gettext POT templateTranslation template: every message of a program, with empty translations.
.TOML
Tom’s Obvious Minimal LanguageConfiguration text: tables in brackets, then key = value lines.
.TSV
Tab-separated valuesA plain text table, one record per line, fields split by tabs.
.XML
Extensible Markup LanguageNested elements with tags and attributes, written as text.
.YAML
YAML Ain’t Markup LanguageIndented text for configuration: maps, lists and values.