YAML Formatter
Re-serialize YAML with a configurable line width and indent via js-yaml. Runs locally — your YAML never leaves the browser.
Processed in your browser · No upload
Loading tool…
Formatting runs entirely in your browser using the js-yaml library (MIT). No YAML is sent to any server.
FAQ
- How does it preserve comments?
- YAML round-trip via parse + dump loses comments. Use a workflow that records comments inline as data if you need preservation.
- Will it validate my YAML?
- Yes — invalid YAML surfaces a friendly error message pointing to the parsing issue.
Related Tools
JSON Formatter
Pretty-print JSON with configurable indentation (2 spaces, 4 spaces, or tab). Runs entirely in your browser with friendly error messages for invalid input.
YAML to JSON Converter
Parse any YAML document and pretty-print it as JSON. Runs locally using js-yaml with friendly error messages for invalid YAML.
JSON to YAML Converter
Convert any JSON document to YAML. Uses js-yaml locally — your JSON never leaves your browser.
UUID Generator
Generate RFC 4122 v4 UUIDs instantly in your browser. Choose how many to generate and copy the result with one click.
Base64 Encoder
Encode any UTF-8 text to Base64 online for free. Processed entirely in your browser — no data leaves your device.
Base64 Decoder
Decode Base64 strings back to readable UTF-8 text in your browser. Friendly error messages for invalid input.