User Guide
Format or minify JSON and YAML online, choose 2- or 4-space indentation, sort keys and locate syntax errors.
Sort keys · 2
{"b":2,"a":1}{
"a": 1,
"b": 2
}Format or minify JSON and YAML online, choose 2- or 4-space indentation, sort keys and locate syntax errors.
Yes. Format/Minify, 2/4 spaces and Sort keys are independent options. Sorting is recursive and preserves array order. The expanded view offers the same controls.
The result shows a line, column and excerpt. Go to error selects the input location. Invalid JSON-like input is not silently accepted as YAML; choose an input format manually if needed.
Baro Work is a collection of tools with no login. Inputs and results are not stored on the site server or in browser storage. See the translation and DNS guides for external transfers.
Use all tools on the home page →