Skip to content

포매터 및 코드

TOML ⇄ JSON 변환기

Convert between TOML and JSON — both directions.

Runs in your browser

편집자 노트

Understanding · The config language that wanted to be obvious.

이 심층 챕터는 현재 영어로만 제공됩니다. 위의 변환 도구는 귀하의 언어로 작동하지만, 긴 설명 글은 아직 번역되지 않았습니다.

자주 묻는 질문

Quick answers.

Does TOML support all JSON data types?

Yes. TOML supports strings, integers, floats, booleans, and arrays, which map directly to JSON types. Note that TOML also has a native Datetime type that JSON does not, which usually converts to an ISO 8601 string.

Is my configuration data secure?

Yes. The conversion logic runs entirely within your browser's memory using JavaScript. No data is sent to a server or stored externally.

Why use TOML instead of JSON for config files?

TOML is designed to be easier for humans to read and write. It allows comments, supports multi-line strings, and relies on a less syntax-heavy structure than JSON's braces and quotes.

Does the converter handle nested tables?

Yes. Nested TOML tables and arrays of tables are correctly converted into nested JSON objects and arrays.

사람들이 다음도 검색합니다.

관련 도구

More in this room.

모두 보기 포매터 및 코드