TOML-Konverter
Zwischen TOML-, JSON- und YAML-Formaten konvertieren
Empfohlene naechste Schritte
Verwandte Tools
JSON ↔ YAML
Zwischen JSON- und YAML-Formaten konvertieren
JSON-zu-CSV-Konverter
JSON-Arrays in das CSV-Format konvertieren und herunterladen
JSON-Formatter
JSON-Daten formatieren, komprimieren und validieren
SQL-Formatierer
SQL-Abfragen formatieren und verschönern
CSS/JS-Minifizierer
CSS- und JavaScript-Code minifizieren und verschönern
XML-Formatierer
XML-Daten formatieren, verschönern und minifizieren
Anleitung
Text eingeben oder einfügen
Geben Sie Ihren Text, Code oder Ihre Daten in das Eingabefeld ein.
Optionen auswählen
Wählen Sie die gewünschte Umwandlung oder das Format aus.
Ergebnis kopieren
Kopieren Sie die Ausgabe mit einem Klick in Ihre Zwischenablage.
Warum dieses Werkzeug nutzen
100 % Kostenlos
Keine versteckten Kosten, keine Premium-Stufen — jede Funktion ist kostenlos.
Keine Installation
Läuft vollständig in Ihrem Browser. Keine Software zum Herunterladen oder Installieren.
Privat & Sicher
Ihre Daten verlassen niemals Ihr Gerät. Nichts wird auf einen Server hochgeladen.
Funktioniert auf Mobilgeräten
Vollständig responsiv — nutzbar auf Smartphone, Tablet oder Desktop.
TOML: Tom's Obvious Minimal Language for Configuration
Key Takeaways
- TOML is designed to be unambiguous and easy to read, with explicit typing for strings, integers, floats, booleans, dates, arrays, and tables.
- TOML is the standard configuration format for Rust (Cargo.toml), Python (pyproject.toml), and many modern tools.
- All conversion between TOML and JSON happens in your browser — your configuration data stays private.
TOML (Tom's Obvious Minimal Language) was created to be a minimal, unambiguous configuration file format that maps clearly to a hash table. Unlike YAML, which has complex features and implicit type coercion pitfalls, TOML aims for simplicity and explicit semantics. It has been adopted as the standard config format by Rust's Cargo, Python's pyproject.toml, and many other modern tools.
TOML is the official configuration format for over 150,000 Rust crates on crates.io.
Ecosystem Adoption
Key Concepts
Tables and Nested Tables
TOML uses [table] headers to define sections and [table.subtable] for nesting. This maps directly to JSON objects and makes configuration hierarchy immediately visible.
Explicit Type System
Unlike YAML where 'yes' becomes a boolean, TOML has unambiguous types: strings always use quotes, integers never have quotes, and dates follow RFC 3339 format.
Array of Tables
The [[array]] syntax creates arrays of tables (equivalent to JSON arrays of objects), enabling lists of structured configuration entries like multiple server definitions.
TOML vs. YAML vs. JSON
TOML trades YAML's flexibility for unambiguity and simplicity. It lacks YAML's anchors and aliases but avoids its pitfalls. JSON lacks comments and has more verbose syntax. TOML occupies the sweet spot.
Pro Tips
Use inline tables { key = 'value' } sparingly — they are best for small, single-line groupings.
TOML supports multi-line strings with triple quotes and literal strings with single quotes (no escape processing).
When converting JSON to TOML, deeply nested objects become long dotted table names — consider restructuring for readability.
TOML native date/time types (RFC 3339) are converted to strings in JSON — ensure your application handles the conversion correctly.
All TOML/JSON conversion is performed entirely in your browser. Your configuration data is never transmitted to any external server.