Convertisseur YAML
Convert between YAML and JSON online. Gratuit, privé et 100% côté client.
Essayer un exemple:
Local only
Historique récent
Aucun historique
Utilisation
- Paste YAML or JSON into the input box.
- Choose YAML to JSON or JSON to YAML mode.
- Copiez ou téléchargez le résultat.
Tâches utilisant cet outil
Convertir CSV to YAML
Convertir tabular CSV data to YAML for structured configuration or documentation. Each row becomes a YAML list item with column headers as keys. TÂCHE
Convertir JSON to YAML and back without losing data
Translate entre JSON et YAML pour config fichiers, preserving nested structures, tableaux, et scalar types across le round-trip. TÂCHE
Convertir TOML configuration to JSON
Analyser a TOML config file (used by Rust, Python projects) into JSON for tooling that expects JSON input. TÂCHE
Convertir XML to YAML
Convertir XML documents to YAML for more readable configuration files. YAML's indentation-based syntax is cleaner than XML's tags for human-authored data. TÂCHE
Migrate configuration entre JSON et YAML
Convertir a JSON config to YAML (or back) with a formatted intermediate step, and know the type-coercion pitfalls before you commit the file. TÂCHE
Utiliser YAML frontmatter pour document metadata
Frontmatter est YAML metadata at le haut de un Markdown fichier, delimited par ---. Commun en static site generators (Astro, Hugo, Jekyll) pour page metadata. TÂCHE
Pipelines utilisant cet outil
Questions fréquentes
- What YAML features are supported?
- Basic YAML with nested mappings, sequences, scalars (string, number, boolean, null), and quoted strings. Multi-line literals (|, >), anchors (&), and references (*) are not supported.
- Mes données sont-elles téléversées quelque part ?
- Non. Toute la conversion s'effectue localement dans votre navigateur, sans aller-retour serveur.
- How are YAML types inferred?
- Unquoted scalars are inferred: 'true'/'false' → boolean, 'null'/'~' → null, digits → number, everything else → string. Use quotes to force string type for values like '3.14' or 'true'.
- What indentation does JSON-to-YAML use?
- 2-space indentation, with sequences rendered in block style (- item). Flow style ([a, b]) is not used; this maximizes readability and diff-friendliness.
- Can I convert Kubernetes manifests?
- Yes, as long as they use only supported features. Multi-document YAML (--- separators) is not supported; convert each document separately.
- Why does my YAML fail to parse?
- Common causes: tabs for indentation (YAML requires spaces), missing space after colon, unsupported anchors/multi-line literals. Check the error message for the line number.
Outils associés
Formateur JSON
Format, minify, or sort JSON online. Gratuit, privé et 100% côté client. OUTIL
Formateur XML
Beautify or minify XML online with 2-space indentation. Gratuit, privé et 100% côté client. OUTIL
Formateur JS
Beautify or minify JavaScript source code online. Text-only formatting, no execution. Gratuit, privé et 100% côté client. OUTIL
Convertisseur CSV
Convert between CSV and JSON online. Supports comma, semicolon, and tab delimiters. Gratuit, privé et 100% côté client. OUTIL
Convertisseur TOML
Convert between TOML and JSON formats online. Gratuit, privé et 100% côté client. OUTIL