JSON'dan YAML'a Online Dönüştürücü

Convert JSON to YAML and YAML to JSON instantly online. Supports nested objects, arrays, and all data types. Free, no signup.

Paste your JSON on the left, select JSON → YAML, and get clean YAML output on the right. Works with any valid JSON including deeply nested structures, arrays, nulls, and booleans. Also converts YAML back to JSON.

How to Use

1

Paste your data

Paste your JSON, YAML, XML, or CSV content into the input area and select the source format.

2

Choose target format

Select the output format from the To dropdown. All bidirectional conversions are supported.

3

Convert and copy

Click Convert. The result appears on the right. Click Copy to use it in your project.

Frequently Asked Questions

What is the difference between JSON, YAML, XML, and CSV? +
JSON is a compact data format widely used in APIs. YAML is a human-readable superset of JSON often used for config files (Kubernetes, GitHub Actions). XML is a verbose tag-based format used in enterprise systems and RSS feeds. CSV is a flat table format for spreadsheet data.
Can I convert complex nested JSON to CSV? +
CSV supports only flat (non-nested) data. When converting nested JSON to CSV, only the top-level keys become columns. Nested objects are serialized as JSON strings within their cell.
Why does my YAML not convert to JSON? +
Common issues: using tabs for indentation (YAML requires spaces), missing colons after keys, or using special characters without quotes. The error message will point to the problematic line.
Is there a data size limit? +
There is no hard limit, but very large files (over 5MB) may be slow since all processing runs in your browser. For production data transformation, a server-side tool is recommended.
Is my data sent to a server? +
No. All conversion runs entirely in your browser using JavaScript. Your data never leaves your device.


Tam Rehber: JSON ↔ YAML Dönüştürücü

JSON ve YAML, yapılandırma dosyaları, API veri alışverişi ve altyapı-kod tanımları için iki baskın formattır. JSON JavaScript'in yerel formatıyken, YAML insan yazımı için tasarlanmıştır; daha az ayrıntılı, satır içi yorumları destekler ve çok satırlı dizileri doğal olarak işler.

YAML'ın JSON Üzerindeki Avantajları

YAML Tuzakları

YAML Çapa ve Takma Adlar

varsayilanlar: &varsayilanlar
  adaptör: postgres
  kodlama: utf8

gelistirme:
  <<: *varsayilanlar
  veritabani: uygulama_gelistirme

Kubernetes ve GitHub Actions

Kubernetes yapılandırma bildirimleri tamamen YAML ile yazılır. GitHub Actions iş akışları .github/workflows/ altındaki YAML dosyalarıdır. Boolean tuzağı burada özellikle önemlidir — string "true"/"false" bekleyen action girdileri tırnak içine alınmalıdır.

Python: safe_load vs load

PyYAML'ın yaml.load() fonksiyonu güvenilmeyen girdilerde ciddi güvenlik riskleri oluşturabilir. Her zaman yaml.safe_load() kullanın.

JSON biçimlendirme ve doğrulama için JSON Biçimlendirici'yi, iki JSON belgesini karşılaştırmak için JSON Diff aracını kullanın.

🧰 50+ Tools