ComparLab
YAML Compare

Processed locally in your browser

Compare YAML Online

Compare YAML configuration with validation and consistent formatting. Safe core-schema parsing avoids executing custom YAML tags.

Live

Original

Paste or drop a file

Changed

Paste or drop a file

Your differences will appear here

Paste or upload two versions, then compare.

How it works

  1. Paste, type, or open both versions from your device.
  2. Choose the precision and cleanup options that fit your content.
  3. Review additions and removals side-by-side or as a unified diff.

Useful features

  • YAML validation with readable errors
  • Safe core-schema parsing without custom tag execution
  • Consistent formatting before comparison
  • Local .yaml and .yml file handling

Common uses

  • Reviewing deployment and CI configuration
  • Comparing Kubernetes-style configuration versions
  • Spotting environment-setting changes

Tips for a cleaner comparison

  • Indent with spaces consistently.
  • Review list order because YAML sequences preserve order.
  • Use JSON Compare when the data is naturally JSON.

Related comparison tools

Frequently asked questions

Can YAML tags execute code?

No. ComparLab uses safe core-schema parsing and does not execute custom tags.

Will invalid YAML crash the page?

No. A validation message is shown and the comparison waits for valid input.

Does key order get ignored?

YAML is normalized for consistent formatting, but mapping order is preserved in this version.

More comparison tools are coming

PDF, Word, Excel, and image comparison are planned for a future release. They are not part of this version, and there are no inactive buttons pretending otherwise.