consolelog.tools
Workflow

JSON formatting, validation and conversion tools

Format, validate, query, convert, and generate types — one JSON workflow.

JSON is the format you touch most and think about least — until a payload won’t parse or needs to become something else. This workflow covers the full lifecycle: beautify it so it’s readable, validate it against the spec with precise error positions, query nested values with JSONPath, convert it to TypeScript, CSV, or YAML, generate a Zod or JSON Schema from it, and minify it for transport. Everything runs locally in your browser.

  1. 1

    Format and beautify

    Turn a minified or messy blob into indented, readable JSON — the first step to understanding any payload.

  2. 2

    Validate against the spec

    Confirm the JSON is well-formed and get the exact line and column of the first error, so you can fix a stray comma or unquoted key fast.

  3. 3

    Query nested values

    Use JSONPath to extract just the fields or array elements you need from a deeply nested document.

  4. 4

    Convert to another format

    Re-emit the same data as TypeScript types, CSV for a spreadsheet, YAML for config, or convert from CSV or XML back into JSON.

  5. 5

    Generate types and schemas

    Produce a TypeScript interface, a Zod schema for runtime validation, or a JSON Schema contract directly from a sample document.

  6. 6

    Minify for transport

    Strip whitespace to shrink the payload for an API response or an embed once you’re done editing.

Frequently asked questions

Other developer workflows