{ }jsonkit
Format
Validate
Convert
Query
Generate
yaml⊕

YAML Deep Merge

Combine base and override documents with an explicit conflict report.
Value conflicts
Arrays
69 B · paste or drop a file
1 2 3 4 5
61 B · paste or drop a file
1 2 3 4 5
✓ complete69 B → 84 B0.0 ms

About YAML Merge

YAML Merge combines a base configuration and an override recursively, then presents the merged YAML alongside a conflict report for every value that required a decision.

How it works

Recursive map merge

Mapping keys are merged at every nesting level. Keys present on only one side are retained, while values present on both sides are compared and merged or resolved according to the selected policy.

Explicit conflict choices

Choose whether base or override values win and whether arrays are replaced, retained, concatenated or concatenated with semantic duplicates removed.

Visible change report

The preview lists conflicts as escaped JSON Pointer paths with compact before and after values. Copy and download still return clean merged YAML without report comments.

Frequently asked questions

What counts as a conflict?

A conflict occurs when both documents define the same path with different scalar, array or incompatible structured values.

Does deep merge preserve comments?

No. This tool merges resolved configuration values and emits a new YAML document. Use the formatter for comment-preserving presentation changes.

How are duplicate array objects detected in Unique mode?

Objects are compared semantically with sorted mapping keys; array order inside each object remains significant.

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.