Code · Made a little simpler

YAML Merge Tool

Merge base and overlay YAML 1.2 mappings in your browser. Review changed paths, keep or replace conflicting values, append or replace sequences, and download the result.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

YAML Merge Tool: how to use it

  1. Paste or open one base mapping and one overlay mapping, or load the service example.
  2. Choose sequence handling and what to do when scalar values or value types differ.
  3. Check the merge decisions and download the combined YAML after resolving conflicts.

Limits and notes

Reads YAML 1.2 core mappings with scalar keys, up to 2,097,152 UTF-16 code units per source. Output expands noncyclic aliases and normalizes formatting. Duplicate keys, cyclic aliases and unsupported tags or collection keys require edits first. Comments are omitted.

How your privacy works →

YAML Merge Tool: common questions

Which value wins when the same setting appears twice?

Nested mappings combine by key. For different scalar values or types, select Use overlay value, Keep base value, or Report conflicts.

Does appending a sequence remove duplicates?

Append keeps every base item followed by every overlay item. Replace uses the overlay sequence in full.

Can I keep a full-precision number or the string 007?

The output keeps selected numeric source tokens, and quotes a string such as 007 so its type stays distinct from a number.

Guides