FileGizmo — Data & CSV tools

Convert JSON and YAML

Convert JSON documents to readable YAML or YAML documents to formatted JSON entirely in your browser.

Never uploadedYour file stays on this device
Drop your JSON or YAML here or click to choose a file JSON or YAML file · processed on this device

Simple by design

JSON and YAML converter in three steps

FileGizmo converts JSON to readable YAML and YAML back to formatted JSON without uploading configuration, application data, or secrets. Choose a .json, .yaml, or .yml file, select the direction, and set the output indentation. A dedicated browser worker validates the source, creates a preview, and returns a correctly named UTF-8 download.

JSON and YAML overlap but are not identical. YAML comments, anchors, tags, and presentation choices cannot all survive a round trip through JSON. This tool accepts one document, applies an alias-count safety limit, and uses the standard JSON-compatible value model. YAML timestamps and special scalar types may be normalized when represented in JSON. JSON output is strict and formatted; YAML output favors readable block style and avoids unnecessary aliases for repeated objects. Parse errors are reported before a download is created, including useful line context when the parser supplies it. Files stay on the device, and the YAML dependency is isolated to the data worker. Review configuration diffs before deployment, especially when an application depends on custom YAML tags or comment-based documentation.

  1. 1

    Choose a JSON or YAML file and output direction

  2. 2

    Select indentation and document options

  3. 3

    Convert preview and download

Good to know

Frequently asked questions

Are YAML aliases supported?

Standard YAML aliases are parsed with safety limits to reduce alias-expansion abuse.

Will comments survive conversion?

No. JSON has no comment model, so comments are not preserved across both directions.

Can it convert multiple YAML documents?

This focused tool accepts one YAML document and reports a clear error for multiple documents.

Is configuration data uploaded?

No. Parsing and serialization occur in a dedicated browser worker.