JSON Formatter & Validator
Paste JSON to format it with configurable indentation, minify it to a single line, or validate its syntax and see error line numbers.
Parsing tools answer "is this valid" and "what does this mean" for the structured formats developers work with daily — JSON, YAML, XML, regex, cron expressions, JSONPath queries. The tools here cover validation (does this parse), transformation (convert between formats), querying (find values inside a structure), and human description (translate a cron expression or HTTP status code).
The JSON, YAML, and XML formatters and validators handle the structured-data trio: paste source, see syntax errors with line/column, get pretty- printed or minified output. The JSON ↔ CSV converter and YAML ↔ JSON converter handle bidirectional conversion for data interchange (RFC 4180 quoting on the CSV side, JSON_SCHEMA mode on the YAML side to avoid the Norway problem where "country: NO" parses as boolean false).
For querying, the regex tester shows match positions, capture groups, and replacement preview live as you type. The JSONPath tester applies JSONPath expressions to a JSON document and shows matched values with their paths. For reference: the HTTP status code lookup covers 60 status codes with RFC references and when-to-use descriptions; the cron expression builder validates 5-field cron syntax, describes it in plain English, and shows the next 5 run times so you can verify intent before pasting into a scheduler.
Paste JSON to format it with configurable indentation, minify it to a single line, or validate its syntax and see error line numbers.
Live JS regex matching, capture groups, substitution preview — common patterns one click away.
Indent or minify XML, or validate well-formedness with line/column error reporting.
Indent or validate YAML, or convert to JSON — js-yaml lazy-loaded so the page stays light.
Run JSONPath against JSON with filter expressions, recursive descent, and per-match path.
Format or minify HTML, CSS, and JS — pure browser, no upload, with honest scope notes for JS.
Look up HTTP status codes with RFC reference and when-to-use guidance — searchable by code or name.
Convert JSON arrays to CSV and back — RFC 4180 quoting, configurable delimiter, both directions.
Convert YAML to JSON and back — handles multi-doc YAML, avoids the Norway problem, both directions.
Build and validate cron expressions — see plain-English meaning and next 5 run times.