file in abyss
Back to formats

Data

TOML Tom's Obvious Minimal Language

Tom's Obvious Minimal Language is a data format commonly identified by .toml. Use the listed signatures, MIME types, and structure notes to validate files beyond the extension.

Extensions .toml
MIME application/toml, text/toml

Magic numbers

Analyze your file
offset 0 Tom's Obvious Minimal Language leading signature
74 69 74 6C 65 20 3D
title =

Structure

  1. Key-value pairs
  2. Tables
  3. Arrays
  4. Dotted keys

Caveats

  • Do not trust the extension alone. Check the MIME type, the first bytes such as 74 69 74 6C 65 20 3D, and format-specific structure when possible.
  • Container formats and damaged files can share the same opening bytes, so deeper validation may be required for production upload, preview, or conversion flows.

Detection example

SIGNATURE = bytes.fromhex("7469746c65203d")
OFFSET = 0

def is_toml(path: str) -> bool:
    with open(path, "rb") as f:
        f.seek(OFFSET)
        head = f.read(len(SIGNATURE))
    return head == SIGNATURE

Practical usage

Use cases

Tom's Obvious Minimal Language is used for data exchange, imports, exports, parser testing, and validation workflows. Encoding, delimiters, versions, and container structure often change implementation behavior.

Common detection mistakes

  • The .toml extension alone does not prove the file contents. Upload and conversion flows should combine extension, MIME type, leading bytes, and format-specific structure checks.
  • Tom's Obvious Minimal Language can start with signatures such as 74 69 74 6C 65 20 3D, but related containers and damaged files may require additional validation.

Security notes

Untrusted input is not safe just because the format was detected. Account for parser exceptions, large files, unexpected encodings, and external references.

Using samples

11 samples help test leading-byte detection, parser errors, upload limits, and download behavior.

Sample files

11 / 11 files
Sample Traits Size Source / license / SHA-256
Data

Blue Sky TOML

Blue Sky TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

01-blue-sky.toml
Type Sample
Small file
187 B
SHA-256 312faa01897345103b27d4e8f188a299d8d1d4a6d546af0c3e99e2bd3b0695d8
Download
Data

Flower Garden TOML

Flower Garden TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

02-flower-garden.toml
Type Sample
Small file
264 B
SHA-256 e713a99d0720e76e1d9abcea925f141dcb06c3dfdb6930425af3b5753cef8c80
Download
Data

Navy Blue Sky TOML

Navy Blue Sky TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

03-navy-blue-sky.toml
Type Sample
Small file
303 B
SHA-256 d5df9b2f3c96aaf5fbea0fcbdbc91f096aff024f85af0a61777c842fb32d9de4
Download
Data

Nature of the Sky TOML

Nature of the Sky TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

04-nature-sky.toml
Type Sample
Small file
358 B
SHA-256 8b62e6c775987162a09aa4b6fd145a2c7c7e19c08f491330330ff912a3b88932
Download
Data

Sky Landscape TOML

Sky Landscape TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

05-sky-landscape.toml
Type Sample
Small file
406 B
SHA-256 21be5330f1d8956a5a574c988ca73d06fe23be869bba4b4cd3416b859d3ffe17
Download
Data

Starry Sky TOML

Starry Sky TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

06-starry-sky.toml
Type Sample
Small file
418 B
SHA-256 25139bc5bf0390aa4af11c958a2fb86a53cbe02c6ef0d28d5ee6de894a7ab7b1
Download
Data

Blue Night Sky TOML

Blue Night Sky TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

07-blue-night-sky.toml
Type Sample
Small file
484 B
SHA-256 2aa8f24c2528c2144fb361a85235752e7ddda9a657ff6e5378ada7ad34a22d8b
Download
Data

Hibiscus Flower TOML

Hibiscus Flower TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

08-hibiscus-flower.toml
Type Sample
Small file
567 B
SHA-256 b2549b4d5dea22350ac75c6c4df3974c08b87484d171af0c5fa052e97c5ad695
Download
Data

Arctic Sky TOML

Arctic Sky TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

09-arctic-sky.toml
Type Sample
Small file
552 B
SHA-256 d10fd4cb67ee9441d95e8aafb2a5e7743b37a28b4a60842d4f2903c2f3c537b1
Download
Data

Sunset Rays TOML

Sunset Rays TOML is a Tom's Obvious Minimal Language sample based on Wikimedia Commons. It can be used to test downloads, parsers, previews, and file type detection.

10-sunset-rays.toml
Type Sample
Small file
610 B
SHA-256 6289708add4c657e258c07408df71a649da10bcd2ed560bbc18186cc3f5ae14b
Download
Data

NASA Blue Marble TOML

NASA Blue Marble TOML is a Tom's Obvious Minimal Language sample based on NASA Image and Video Library. It can be used to test downloads, parsers, previews, and file type detection.

nasa-blue-marble-2012-east.toml
Type Sample
Small file
873 B
SHA-256 6374658e0a4ae88f04f79463833a659b68c1ee8f5f1faa39da7c1da63f16f18b
Download

Frequently asked questions

What is the magic number (file signature) of Tom's Obvious Minimal Language?

Tom's Obvious Minimal Language files begin with the byte signature 74 69 74 6C 65 20 3D ("title ="). Detect the format by reading these leading bytes rather than trusting the file extension alone.

What is the MIME type of Tom's Obvious Minimal Language?

The MIME type for Tom's Obvious Minimal Language is application/toml, text/toml.

What file extension does Tom's Obvious Minimal Language use?

Tom's Obvious Minimal Language files use the .toml extension. The extension is a convention only and does not guarantee the file contents, so combine it with signature and structure checks.

Related formats