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 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
Download from the command line
curl -L -o sample-config.toml https://files.samplefiles.com/data/toml/sample-config.tomlwget https://files.samplefiles.com/data/toml/sample-config.tomlhttps://files.samplefiles.com/data/toml/sample-config.tomlprintf '%s %s\n' fd86b5f475c03f7b131038eeae86fed859a0ee51151b4ec360c9ebd7b5c17d4e sample-config.toml | shasum -a 256 -cOr check the download in your browser with the checksum calculator.