github.com/darianmavgo · darian@mavgo.com · About
Data Go Open Source

TableTypeMaster — Tabular Format Reference

TableTypeMaster is a machine-readable registry of every tabular data format: CSV, Excel, Parquet, ORC, Avro, HDF5, SQLite, and more. Each entry includes MIME type, file extension, magic number signature, and parsing notes.

import "github.com/darianmavgo/TableTypeMaster/tabletypes"
ft := tabletypes.DetectByMagic(fileBytes)
fmt.Println(ft.Name, ft.MIME)

Features

The authoritative taxonomy of tabular file types — MIME types, magic numbers, extensions, and parsing metadata for every table format in existence.

📚

Comprehensive Registry

Every major tabular format catalogued: columnar, row-oriented, in-memory, and wire formats.

🔢

Magic Numbers

Binary magic number signatures for reliable format detection without relying on file extensions.

🏷️

MIME Types

Official and de-facto MIME types for every format, suitable for HTTP content negotiation.

🔌

Go API

Embed the registry as a Go package to detect and classify tabular files programmatically.

Documentation & Architecture

namefile_extmimetypemagic_numberlist_tableslist_columnslist_column_types
csv.csvtext/csvnanayesno
xlsx.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet50 4B 03 04yesyesyes
sqlite.sqliteapplication/vnd.sqlite353 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00yesyesyes
html.htmltext/html3C 21 44 4F 43 54 59 50 45yesyesno
json.jsonapplication/jsonnanayesyes
postgresnananayesyesyes
mongodbnananayesyesyes
tsv.tsvtext/tab-separated-valuesnanayesno
xml.xmlapplication/xml3C 3F 78 6D 6Cyesyesno
parquet.parquetapplication/vnd.apache.parquet50 41 52 31nayesyes
avro.avroavro/binary4F 62 6A 01nayesyes
orc.orcapplication/orc4F 52 43nayesyes
ods.odsapplication/vnd.oasis.opendocument.spreadsheet50 4B 03 04yesyesyes
yaml.yamlapplication/yamlnanayesyes
toml.tomlapplication/tomlnayesyesyes
mysqlnananayesyesyes
mariadbnananayesyesyes
sqlservernananayesyesyes
access.accdbapplication/x-msaccess00 01 00 00yesyesyes
hdf5.h5application/x-hdf89 48 44 46 0D 0A 1A 0Ayesyesyes
bigquerynananayesyesyes