YAML Tools

YAML Converter

YAML Converter — convert YAML to JSON and JSON back to YAML. It runs entirely in your browser, so nothing is uploaded and it works fully offline.

Client-sideRuns entirely in your browser — your data never leaves your device.

YAML Converter is a browser-based web developer tool on WebDevToolsBase. YAML Converter — convert YAML to JSON and JSON back to YAML. It runs entirely in your browser, so nothing is uploaded and it works fully offline. To use it, paste your input and view the result directly in your browser — no signup and nothing to install.

YAML Converter is a free YAML Tools utility that runs entirely in your browser — nothing you enter is uploaded.

Input
Output

Converts one document using JSON-compatible values and string mapping keys. Numbers that would change during conversion, negative zero, nonfinite values, timestamps, binary data, sets, ordered maps, pairs, merge keys, cycles and unknown tags are rejected. Quote values only when text is intended; this changes their type. Ordinary aliases are expanded for JSON. Comments, quote style and numeric spelling are not retained. Limits: 2 MiB of text, 50,000 expanded values and 100 nesting levels.

How to use YAML Converter

  1. Select the conversion direction, then paste one document in that source format.
  2. Read the completed output. Unsupported values produce an error instead of a changed result.
  3. For dates or large numeric identifiers, use quoted strings only when the receiving application expects text.
  4. Copy the current completed output. Changing to invalid input clears the previous result.

About this tool

This browser tool works with the supported JSON-compatible subset of YAML described above. A completed result means that this conversion succeeded; it does not validate an application schema, a deployment configuration or another programming language’s parser.

Keep the original source before formatting or conversion. Formatting normalizes presentation and removes comments. The operation runs locally in this browser and does not upload the entered document to a conversion service.

Frequently asked questions

What is YAML Converter for?

Use YAML Converter to convert your input without installing anything using the Direction control; everything happens client-side.

Do I need an account for YAML Converter?

No — YAML Converter needs no account, sign-up or installation.

Where is my data processed by YAML Converter?

Entirely in your browser — YAML Converter keeps your data on your own machine and sends nothing anywhere.

How does YAML Converter handle YAML indentation errors?

YAML Converter reports the problem inline so you can fix the indentation, all within your browser.

Does YAML Converter work on mobile?

Yes — YAML Converter is just a web page and runs on any modern browser, including phones and tablets.

Related yaml tools