a apiary.
← All tools

JSON & XML / BROWSER UTILITY

JSON ↔ YAML Converter

Convert JSON and conservative YAML 1.2 locally, with explicit conversion limits.

Processed locally in your browser. Your data is not uploaded.

Uses yaml 2.9.1, YAML 1.2 core schema, string keys and no custom tags. Unknown tags and duplicate keys are rejected. Alias expansion is limited to 50. Comments, alias identity and formatting do not round-trip. Cycles and non-finite numbers cannot become JSON.

Processed in your browser. Input limit: 100,000 characters (XPath: 50,000); output limit: 1,000,000 characters; query and regex limit: 2,000 matches. Larger inputs should be split into smaller files.

Read locally as UTF-8. Maximum 100,000 characters (XPath: 50,000). Files are not sent anywhere.

Good to know

Uses yaml 2.9.1, YAML 1.2 core schema, string keys and no custom tags. Unknown tags and duplicate keys are rejected. Alias expansion is limited to 50. Comments, alias identity and formatting do not round-trip. Cycles and non-finite numbers cannot become JSON.

Example: Use Try an example for fictional Record and Code values.