Converter ng TOML sa JSON

Kailangan mo ba ng reverse conversion?
JSON to TOML Converter

Input ng TOML

1

Output ng JSON

Ilagay ang TOML data para ma-convert sa JSON

Dito lalabas ang na-convert na data

Paano i-convert ang TOML sa JSON

  1. Hakbang 1 – I-paste ang TOML config

    • I-paste ang TOML key-value pairs, [sections], o [[array_tables]] sa editor.
    • Ang values ay pwedeng strings, numbers, booleans, arrays, o dates.
    • Pwede ka ring mag-import ng .toml files mula sa computer mo.
  2. Hakbang 2 – I-inspect ang JSON

    • Kino-convert ng tool ang TOML semantics sa valid JSON objects.
    • Ang dates (RFC 3339) ay nape-preserve bilang strings, at napapanatili ang typing kapag posible.
    • I-verify na ang table structures ay naipapakita bilang nested JSON properties.
  3. Hakbang 3 – I-export ang output

    • Kopyahin ang JSON para gamitin sa JavaScript/TypeScript apps.
    • I-download bilang .json file para sa data migration o API usage.
Example: TOML to JSON
# Input TOML
title = "TOML Example"

[owner]
name = "Tom Preston-Werner"

// Output JSON
{
  "title": "TOML Example",
  "owner": {
    "name": "Tom Preston-Werner"
  }
}

Related tools

Mga Madalas Itanong

What is TOML format?

TOML (Tom's Obvious Minimal Language) is a configuration file format that's easy to read due to obvious semantics. It's designed to map unambiguously to a hash table.

How are TOML sections converted?

TOML sections [section] become nested JSON objects. Dotted keys like 'database.host' create nested structures automatically.

What TOML features are supported?

The converter supports strings, numbers, booleans, arrays, inline tables, nested sections, and basic date/time parsing. Complex multiline strings and advanced TOML features may have limited support.

Are array tables supported?

Yes. Array tables [[products]] are converted to JSON arrays containing objects, which is useful for representing repeated configuration blocks.

Is my data secure?

Yes, all data processing happens entirely in your browser. Your data is never sent to any server, ensuring complete privacy and security.

Converter ng TOML sa JSON | JSONSwiss