Doar în browser

YAML↔JSON↔TOML Converter (Bidirectional, Browser-Only)

Convert between YAML / JSON / TOML. Paste, format, and convert instantly.

No server upload (browser-only) Auto convert (switch to manual) Copy & download

Convert (Input / Output)

Intrare
Wrap
1

              
              
# Paste YAML / JSON / TOML
Ieșire
Rezultatul poate fi copiat sau descărcat.
Converted output appears here...

Configurare

Configurare
Indent (JSON/TOML)
Watch YAML implicit types
Depending on spec/implementation, strings can become booleans or numbers.
Output notes
  • Comments are not preserved (JSON has no comments).
  • YAML anchors/aliases may be lost during conversion.

How to: YAML JSON TOML Convert

1. Paste your text

Paste YAML/JSON/TOML into the input panel.

2. Choose formats

Select input (auto-detect is OK) and output formats.

3. Copy / Download

Copy the output or save it as a file.

yaml to json (YAML→JSON)

Paste YAML and set output format to JSON.

json to yaml (JSON→YAML)

Paste JSON and set output format to YAML.

json to toml (JSON→TOML)

Paste JSON and set output format to TOML.

Notes & tips

Browser-only processing

All conversion happens in this browser. No server upload.

Watch type coercion

YAML can coerce types implicitly. Quote values when in doubt.

UTF-8

UTF-8 is assumed. Non-ASCII text is supported.

Sfat

Enable key sorting to make JSON diffs easier to read.

Action-safe margin (%)

Can I keep YAML anchors / aliases?

They may be expanded because JSON/TOML have no equivalent. Verify the result if you rely on shared references.

Can types change (number vs string)?

Yes. YAML can implicitly interpret types. For example, "01" may become a number and yes/no/on/off can become booleans. Quote explicitly if needed.

What encoding is used?

UTF-8. Japanese and other non-ASCII text are supported.

Are comments preserved?

No. JSON has no comments, so comments are dropped in conversion.

Is my input sent to a server?

No. All processing happens in your browser.