Languages

TOML Cheat Sheet

Print-ready cheat sheet for TOML, organized for fast lookup, study, and desk-side use

Source
TOML Specification (toml.io)
License
MIT
Updated
2026-03-27

Sample

What's in this cheat sheet

  • Syntax
  • Strings
  • Numbers & Booleans
  • Dates
  • Tables
  • Arrays
  • Inline Tables
  • Common Patterns

Basic Rules

key = valueKey-value pair (one per line)
#Comment (to end of line)
Case sensitiveKeys and values are case-sensitive
UTF-8Files must be valid UTF-8
No nullTOML has no null type

Minimal Example

title = "My App"
debug = true
port = 8080

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read