Normalize TOML tables, values, and arrays into consistent output.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The document is parsed into TOML values, tables, arrays, and inline tables, then serialized with normalized spacing and indentation. Data types survive parsing but comments and original layout do not.
[package]
name="my-app"
version="0.1.0"
edition="2021"
[dependencies]
serde={version="1.0",features=["derive"]}
tokio={version="1",features=["full"]}
[package] name = "my-app" version = "0.1.0" edition = "2021" [dependencies.serde] version = "1.0" features = [ "derive" ] [dependencies.tokio] version = "1" features = [ "full" ]
Cargo.toml, pyproject.toml, and CLI configuration files use normalized TOML.