- Esecutori
-
Impara
Centro di apprendimento Python Esempi eseguibili, NumPy, pandas e altro Centro di apprendimento C e C++ Puntatori, memoria, STL e C++ moderno Centro di apprendimento C#Fondamenti, OOP, LINQ, async ed esercizi .NET Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++
- Sfide
Formatters
YAML Formatter
Clean up messy YAML with consistent indentation and spacing.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the YAML Formatter
- Paste your YAML.
- Choose the indentation and mode.
- Copy or download the formatted YAML.
Frequently asked questions
Are comments kept?
Yes in Format mode. Normalize mode re-creates the YAML from data, which drops comments.
What does normalize do?
It parses and re-writes the YAML with sorted keys and uniform quoting, useful for comparing files.
Is my YAML validated first?
Yes. Invalid YAML shows the line and column of the error instead of output.
Esercitati in Python con le sfide di codice
Risolvi problemi pratici direttamente in questo editor: esegui i test di esempio, invia la soluzione e ricevi una revisione AI del codice.