YAML ↔ JSON converter
Convert configuration files between YAML and JSON.
yamlFormat, minify and validate JSON online. Inspect a tree view and locate syntax errors by line and column. Preserve large integers locally, with no sign-up.
Paste JSON and choose Format or Minify. Expand objects and arrays in Tree view. Numbers and key order are preserved as written.
{"orderId":9007199254740993,"status":"ready","items":[{"sku":"A-01","count":2}]}After formatting or minifying, orderId should still read 9007199254740993. This tool preserves the number text instead of converting it to a JavaScript Number before output.
This tool validates standard JSON, rather than JSON5 or JSONC. Use double quotes for keys and strings, remove comments and omit the comma after the final member. NaN, Infinity and undefined are not JSON values.
No. The tool preserves the text you paste. It cannot restore digits already rounded by another program. Obtain the original response; consider strings when passing large integer identifiers between systems.
Validation checks JSON syntax, not JSON Schema, required fields, business rules or duplicate keys. Check the API contract separately. Formatting preserves the original key order and does not merge duplicate keys.
JSON runs in your browser; editor contents are not sent to servers or analytics. The processing limit is 1,000,000 UTF-16 code units, measured as JavaScript string length. Deep nesting can still affect responsiveness.
Reproduce lost digits with 9007199254740993, compare raw JSON with parsed values, and learn when to use string IDs or BigInt.
Read guide TIMESTAMPCompare seconds, milliseconds and ISO dates for one instant. Diagnose unit errors, UTC versus local display, and verify a date round trip.
Read guide