IsekaiKit › Tools

YAML ↔ JSON converter

Type on either side and the other side updates. If something is off, you see the line, the column and the code around it.

Indent

How to use it

Paste YAML on the left to get JSON on the right, or paste JSON on the right to get YAML. Pick 2 or 4 spaces of indentation and tick Sort keys to order keys alphabetically on both sides. A YAML file with several documents separated by --- becomes a JSON array.

Common YAML errors

Is my data safe?

Yes. Everything runs in your browser. Nothing you paste here is sent to any server.

More to try

JSON Formatter Format, validate and minify JSON with clear error messages. Base64 Encode / Decode Encode or decode Base64 with full UTF-8 support. Files to data URLs too. URL Encode / Decode Percent-encode or decode URLs and see every query parameter. UUID Generator Generate UUID v4 or time-ordered v7 in bulk. Unix Timestamp Converter Convert epoch seconds or milliseconds to dates and back. Hash Generator MD5, SHA-1, SHA-256, SHA-512 hashes of text or files. JWT Decoder Decode a JSON Web Token's header and payload, check expiry. Regex Tester Test JavaScript regular expressions with live highlighting and groups. Color Converter Convert HEX, RGB and HSL, and check contrast on white or black. Password Generator Strong random passwords with the options you need. CSS Gradient Generator Build linear, radial and conic gradients visually and copy the CSS. CSS Box Shadow Generator Stack shadow layers, try presets, and copy the box-shadow CSS. CSV to JSON Converter Convert CSV to JSON and back. Quotes, line breaks, tabs and semicolons handled. XML Viewer Paste XML and read it as a table, JSON or neat indented XML. Cron Expression Generator Read any cron schedule in plain words and see the next run times. Subnet Calculator IPv4 and IPv6 subnet math: network, broadcast, host range and splits. Text Diff Checker Compare two texts and see added and removed lines.