TOML Tree Viewer
A read-only tree of the parsed document. Array tables show up as arrays of tables. Hover or focus a value to read its type.
Parsing and conversion on this page run in your browser.
The tree appears after a successful parse.
How to use
Example
# 语法示例:数组表、日期、内联表与字符串
title = "syntax tour"
"说明" = "你好"
offset = 1979-05-27T07:32:00Z
local_date = 1979-05-27
local_time = 07:32:00
local_datetime = 1979-05-27T07:32:00
huge = 9223372036854775807
special = inf
missing = nan
inline = { name = "widget", enabled = true }
bio = """
Line one
Line two
"""
path = 'C:\no\escape'
[[products]]
name = "Hammer"
sku = 1
[[products]]
name = "Nail"
sku = 2
[[products.variants]]
color = "red"
FAQ
Can the tree tell a header table from an inline table?
No. Both become tables after parsing. An array table is still shown as an array whose items are tables.
What happens on a syntax error?
The tree is not drawn. The same line-level message as the formatter is shown instead.
Are the first levels open?
The first two levels start open. Deeper nodes start collapsed, and your toggles stay for the rest of this visit.