Data · 1 file

Sample TOML File

A TOML config file using tables, inline tables, arrays of tables, datetimes and every scalar type — the format behind Cargo.toml and pyproject.toml.

TOML · 546 B

TOML config file

Configuration with tables, inline tables, arrays of tables, a datetime and every scalar type.

CC0 · free for any use · Verified by an independent tool · Report a problem

sample-config.toml — first linesTOML
# Sample TOML config — generated by samplefiles.com
title = "sample-app"
version = "1.4.2"
debug = false
released = 2026-03-01T09:00:00Z

[server]
host = "0.0.0.0"
port = 8080
timeout_seconds = 30.5
allowed_origins = ["https://example.com", "https://app.example.com"]

[database]
driver = "postgres"
host = "db.example.internal"
port = 5432
pool = { min = 2, max = 20 }

[features]
signup = true
beta_dashboard = false
rate_limit_per_minute = 120

[[users]]
name = "Ada"

File details

Size
546 B (546 bytes)
MIME type
application/toml
SHA-256
fd86b5f475c03f7b131038eeae86fed859a0ee51151b4ec360c9ebd7b5c17d4e
MD5
225d6a0fba06f3873973fb0dde997e13

Download from the command line

curl -L -o sample-config.toml https://files.samplefiles.com/data/toml/sample-config.toml

Or check the download in your browser with the checksum calculator.