The config files and schemas
toolbox.
Convert TOML to JSON and back and validate a document against a JSON Schema.
Keep this toolbox for offline use
9 useful places to start.
The TOML reader follows TOML 1.0.0 and the schema validator checks a stated subset of draft 2020-12, listing every keyword it did not check. Files stay in your browser.
TOML and JSON converter
Convert TOML 1.0.0 to JSON or JSON to TOML, with a typed form that keeps integers, floats and dates exact.
JSON Schema validator
Check a JSON document against a JSON Schema (draft 2020-12 subset) and get a table of every error with its location, plus a list of any keyword that was not checked.
YAML and JSON converter
Convert YAML to JSON or JSON to YAML, with clear errors and safe handling of anchors.
JSON to TypeScript and JSON Schema
Turn sample JSON into TypeScript interfaces and a draft 2020-12 JSON Schema, with optional keys and unions inferred from the samples.
JSON formatter
Format or minify JSON and catch syntax errors.
JSON viewer
Explore a collapsible JSON tree, search values, format and minify.
JSON repair and validator for AI output
Fix the JSON a language model gives you: trailing commas, single quotes, comments, code fences, cut-off text and more.
XML formatter and validator
Check that XML is well-formed, then pretty-print or minify it without touching text content.
Unified diff generator
Compare two texts line by line and produce a diff in the format of diff -u and git diff.
A few things you
can tick off.
- Convert a pyproject or Cargo file to JSON
- Validate an API response against a JSON Schema
- See exactly which schema keywords were not checked
- Convert JSON config back to TOML