TOML Diff & Compare
About TOML Diff
TOML Diff compares parsed configuration values instead of source text, keeping formatting-only changes out of the review while retaining TOML-specific types.
How it works
Semantic TOML parsing
Both inputs are parsed with the shared TOML parser. Comments, spaces, table declaration order and key order are excluded from comparison.
Type-preserving canonical form
Tables are sorted recursively for a stable view, while large integers, non-finite floats and TOML date/time values receive explicit type markers before diffing.
Array-order policy
Arrays remain ordered by default. Enable Ignore array order only for values that semantically behave as sets.
Frequently asked questions
Are comments included in the diff?
No. This is a data-model comparison; use a text diff to review comment changes.
Does table order matter?
No. TOML tables are mappings, so their declaration and key order are ignored.
Are large integers rounded?
No. Integers outside JavaScript's safe numeric range are retained as BigInt and compared by exact decimal text.
Sources & last verified
The behaviour of this tool and the claims on this page were checked against the specifications below on . Everything runs in your browser, so the output you see is exactly what the engine produced.
Found a wrong result or an outdated claim? Report an error and it will be re-verified.