Search for a command to run...
All available keyboard shortcuts
Convert YAML configuration files to JSON format instantly. Struct parses YAML with full spec support — multi-line strings, anchors, aliases, flow sequences, and nested mappings. Ideal for converting Kubernetes configs, Docker Compose files, or CI/CD pipelines to JSON for API consumption or programmatic processing.
Yes. Struct processes everything 100% in your browser. Your data never leaves your device — nothing is sent to any server. Most online tools send your data to their servers for processing. Struct is different: you can verify this by disconnecting your network and confirming the tool still works. Read our privacy policy for full details.
Paste your YAML into Struct's input panel. Struct parses the YAML structure and generates equivalent JSON with proper indentation. All YAML types (mappings, sequences, scalars) are correctly converted.
Yes. Struct resolves YAML anchors (&) and aliases (*) during conversion, expanding them into their full JSON representation. The output JSON contains no references, only concrete values.
Convert YAML to JSON when you need to use configuration data with JSON-only APIs, JavaScript applications, or tools that don't support YAML. JSON is also easier to manipulate programmatically.