Format YAML with safe local parsing. Free, private, runs in your browser.
100% private — your files and text never leave your browser. All processing happens locally on your device.
YAML Formatter uses safe local parsing to normalize indentation, wrapping, key order, and flow style. Pasted YAML stays in the browser and can be copied or downloaded after formatting.
Common YAML anchors and aliases are parsed locally, and shared references can be emitted by the YAML library. Sorting or flow-style output can change readability, so review config files before replacing them.
Custom executable YAML tags are not run. Invalid YAML reports parser details so you can correct spacing, quotes, arrays, or indentation and retry locally.
No. It uses js-yaml's safe default behavior and does not execute custom tags or code.
Common anchors and aliases are parsed locally and emitted by the formatter where the YAML library can preserve references.
Choose indent width, line width, key sorting, and block or flow-style output.
The tool reports the parse error and location when available, then lets you edit and retry.
No. YAML stays in your browser and can be copied or downloaded after formatting.