TOML zu JSON Konverter

Benötigst du die umgekehrte Konvertierung?
JSON to TOML Converter

TOML Eingabe

1

JSON Ausgabe

Geben Sie TOML-Daten ein, um sie in JSON umzuwandeln

Ihre konvertierten Daten erscheinen hier

So konvertieren Sie TOML in JSON

  1. Schritt 1 – TOML-Konfiguration einfügen

    • Fügen Sie TOML key-value-Paare, [Sektionen] oder [[array_tables]] in den Editor ein.
    • Werte können Strings, Integer, Floats, Booleans, Arrays oder Dates sein.
    • Sie können auch .toml-Dateien von Ihrem Computer importieren.
  2. Schritt 2 – JSON prüfen

    • Das Tool wandelt TOML-Semantik in gültige JSON-Objekte um.
    • Datumswerte (RFC 3339) bleiben als Strings erhalten; Typen werden soweit möglich beibehalten.
    • Prüfen Sie, ob Tabellenstrukturen als verschachtelte JSON-Properties abgebildet sind.
  3. Schritt 3 – Ausgabe exportieren

    • Kopieren Sie das JSON für JavaScript/TypeScript-Apps.
    • Als .json-Datei für Migration oder API-Nutzung herunterladen.
Example: TOML to JSON
# Input TOML
title = "TOML Example"

[owner]
name = "Tom Preston-Werner"

// Output JSON
{
  "title": "TOML Example",
  "owner": {
    "name": "Tom Preston-Werner"
  }
}

Related tools

Häufig gestellte Fragen

What is TOML format?

TOML (Tom's Obvious Minimal Language) is a configuration file format that's easy to read due to obvious semantics. It's designed to map unambiguously to a hash table.

How are TOML sections converted?

TOML sections [section] become nested JSON objects. Dotted keys like 'database.host' create nested structures automatically.

What TOML features are supported?

The converter supports strings, numbers, booleans, arrays, inline tables, nested sections, and basic date/time parsing. Complex multiline strings and advanced TOML features may have limited support.

Are array tables supported?

Yes. Array tables [[products]] are converted to JSON arrays containing objects, which is useful for representing repeated configuration blocks.

Is my data secure?

Yes, all data processing happens entirely in your browser. Your data is never sent to any server, ensuring complete privacy and security.

TOML zu JSON Konverter | JSONSwiss