Paste up to five TOML files or config snippets and merge them into a single TOML output. The merger parses each input with the @iarna/toml parser, combines the resulting objects, and serializes the merged result back to TOML. Inputs are merged left-to-right, which works well for base config plus local, staging, or production overrides.
When the same TOML key exists in multiple files, choose whether the later input or earlier input wins. Nested tables are merged recursively, and arrays can either be concatenated or replaced under the selected strategy.
Because the merged TOML is regenerated from parsed data, original comments and hand-tuned whitespace are not preserved. Review the output before copying it back into package metadata, build tool config, or deployment settings.
Common questions and answers about this topic.
Merges two or more TOML files online into one output, combining tables and fields from all sources with configurable conflict and array strategies.
Yes. Up to five TOML inputs or files can be merged in one run, and they are combined from left to right.
By default, the later input takes precedence and arrays are concatenated. You can switch the key conflict strategy to keep earlier values, or set arrays to Replace when the later array should win.
Yes, nested tables are merged recursively.
No, TOML file merging runs entirely in your browser. Your TOML inputs are combined locally with JavaScript and never leave your device.