OfflineSafeTools

JSON · YAML · TOML — Tutorial

Overview

This tool lets you format and convert between JSON, YAML, and TOML — fully in your browser. You can also validate the data against a JSON Schema (subset of draft‑07), making it handy for quick config checks and transformations.

Common uses

How to use

  1. Choose formats — Pick the input and output formats (JSON, YAML, TOML).
  2. Paste content — Paste your data into the Input box, or use Paste button.
  3. Convert — Click Format / Convert to pretty‑print and convert to the target format.
  4. Swap — Use Swap formats to quickly reverse conversion direction.
  5. Copy/Download — Copy the output or download it as a file.
  6. History — Last 5 conversions are saved locally; click View to inspect full input/output.

Open the tool: JSON · YAML · TOML — Formatter & Converter

JSON Schema validation

Paste a JSON Schema into the Schema box and click Validate. The tool converts YAML/TOML inputs to JSON internally and validates them against a small subset of draft‑07:

It’s great for quick checks. For production‑grade validation (formats, refs, oneOf/allOf, etc.), use a full validator like AJV in your app.

Privacy & limits

Troubleshooting