Diese Seite ist noch nicht auf Deutsch verfügbar, daher zeigen wir die englische Version.

TOML to JSON & YAML Converter

Convert TOML config files — Cargo.toml, pyproject.toml, Hugo or Netlify configs — to JSON or YAML, or turn JSON and YAML into TOML. Invalid TOML is reported with the exact line.

Aktualisiert am
Convert

Deine Daten verlassen nie deinen Computer. Die Verarbeitung erfolgt zu 100 % lokal im Browser.

So nutzt du: TOML Converter

  1. Choose the direction — for example TOML → JSON.
  2. Paste your file; it converts as you type and syntax errors show the line and column.
  3. Copy or download the result.

About TOML

TOML (Tom’s Obvious, Minimal Language) is a config format built to be easy to read: key = "value" pairs, [tables] for sections and [[arrays of tables]] for lists of objects. Rust’s Cargo.toml, Python’s pyproject.toml, Hugo, Netlify and many CLIs use it. This converter follows TOML 1.0.

How types convert

Strings, numbers, booleans, arrays and tables map directly to JSON and YAML. TOML has native dates and times; JSON has none, so they become ISO 8601 strings. Converting JSON or YAML to TOML needs an object at the top level — TOML documents are always tables — and null values are skipped, because TOML has no null.

Common TOML errors

  • Defining the same key or table twice.
  • Strings without quotes — name = devpack must be name = "devpack".
  • Mixing a table and a dotted key for the same name.

Private by design

Conversion runs entirely in your browser — your code is never uploaded, so it’s safe for proprietary projects.

Auch gesucht als: toml to json, json to toml, toml to yaml, yaml to toml, toml validator, toml parser online.

Passende Tools zu: TOML Converter

  • JSON to YAML — Paste JSON and get clean YAML for Kubernetes manifests, Docker Compose, GitHub Actions or any config file.
  • YAML to JSON — Paste YAML — a Compose file, Kubernetes manifest or CI config — and get formatted JSON.
  • YAML Validator — Paste a Docker Compose file, Kubernetes manifest, GitHub Actions workflow or any YAML to pinpoint errors, catch common pitfalls and get a cleanly formatted version.
  • JSON Formatierer — Füge JSON ein, um es zu formatieren, zu minifizieren oder zu prüfen.

Häufige Fragen

How do I convert pyproject.toml or Cargo.toml to JSON?
Paste the file with TOML → JSON selected. Sections like [tool.poetry] or [dependencies] become nested JSON objects.
Why are my dates strings in the JSON?
JSON has no date type, so TOML dates and times are written as ISO 8601 strings, which every JSON library can parse.
Why can’t I convert a JSON array to TOML?
A TOML document is always a table (an object). Wrap the array in an object, for example {"items": [...]}, and it becomes an array of tables.
Kann ich TOML Converter als Web-App installieren und offline nutzen?
Ja. TOML Converter ist eine installierbare Web-App (PWA) – sie wird über Ihren Browser installiert und nicht aus einem App-Store heruntergeladen. Klicken Sie oben auf dieser Seite in Chrome oder Edge (Windows, macOS, Linux, ChromeOS) auf „App installieren“ oder verwenden Sie auf Android-Geräten „Teilen“ → „Zum Startbildschirm hinzufügen“ auf dem iPhone und iPad bzw. „Datei“ → „Zum Dock hinzufügen“ in Safari 17+ auf einem Mac. Die App öffnet sich dann in einem eigenen Fenster mit einem eigenen Symbol, und da sie vollständig in Ihrem Browser ausgeführt wird, funktioniert sie auch offline. Firefox auf dem Desktop kann keine Web-Apps installieren. So funktioniert die Installation.

Ähnliche Tools