YAML ↔ JSON ↔ TOML Converter

Live 3-way converter between YAML, JSON, and TOML. Smart schema detection for Kubernetes, Docker Compose, GitHub Actions, plus YAML pitfall warnings (Norway problem, octal, sexagesimal). 100% browser-based.

😄 Free thanks to ads

More iTool Features!

Character Counter

Free online character counter — count characters, words, sentences, and bytes in real time. No install, no signup.

JSON & JSONL Parser / Formatter

Free online JSON & JSONL parser. Validate, pretty-print, and minify JSON with syntax highlighting. Auto-detects JSON Lines (.jsonl). 100% client-side.

XML Parser / Formatter

Free online XML parser with real-time validation, collapsible tree view (+/-), pretty print, and syntax highlighting for elements, attributes, text, and CDATA. 100% browser-based.

JSON ↔ XML Converter

Live 2-way converter between JSON and XML. Configurable attribute prefix and text node key. 100% browser-based, no upload.

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 strings online — free, instant, no install. Full Unicode support. See both results side by side.

EPUB to TXT Converter

Extract text from EPUB eBooks instantly. Free browser-based EPUB to TXT conversion — no install, no server upload, chapter by chapter.

Text to Speech

Free online text-to-speech tool — type any text and your browser reads it aloud. Adjust voice, speed, and playback position. No install required.

Markdown Viewer - MD File Reader Online

Open and preview MD files instantly in your browser — no install needed. Free online markdown viewer. Upload .md files or paste markdown to see live rendering with code highlighting and auto TOC.

Text Diff

Free online text diff tool — compare two texts side by side and spot every difference instantly. No install, no signup.

Frequently Asked Questions

What is YAML?

YAML is a human-readable data serialization format. It is widely used for configuration files in Kubernetes, Docker Compose, GitHub Actions, and similar tools. Structure is expressed through indentation rather than curly braces.

What is the biggest difference between YAML and JSON?

YAML represents hierarchical structure using only indentation — no quotes or curly braces — making it easier for humans to read. JSON requires all keys to be quoted and is more optimized for machine processing.

Is TOML conversion also supported?

Yes, 3-way conversion between YAML, JSON, and TOML is fully supported. TOML files such as Cargo.toml in Rust projects or Hugo configuration files can also be processed.

What happens if YAML indentation is wrong?

YAML is very sensitive to indentation. Use spaces instead of tabs, and all items at the same level must have the same number of indentation spaces. The tool detects indentation errors in real time and warns you.

Are YAML pitfalls like the Norway problem or octal numbers also detected?

Yes, the tool detects the Norway problem — where values like 'no', 'yes', 'on', 'off' are parsed as booleans in YAML 1.1 — as well as cases where numbers are incorrectly interpreted as octal, and displays appropriate warnings.

YAML · JSON · TOML Converter

YAML, JSON, and TOML are the three most common config formats. This tool keeps all three in live sync: type in any editor and the other two update instantly. No convert button, no refresh.

Features

5 YAML gotchas this tool catches

1. yes / no become boolean

Unquoted yes, no, on, off (any case) are parsed as true/false. The "Norway bug":

country: NO       # → false
country: "NO"     # → "NO"

2. Leading zero = octal

01234 becomes 668 in decimal. Quote zip codes, IDs, product codes.

3. Colons trigger base-60 parsing

1:30 becomes 90. Quote time values and Git SHAs.

4. No tabs for indentation

YAML forbids tab indentation. Use 2 or 4 spaces consistently.

5. Quote version & date strings

Values like 1.0 or 2026-04-18 are coerced to number/date. Always quote API keys and version strings.

Related tools

Help us improve this tool

Share what you like, what needs work, or features you'd like to see