TOML / INI 对比工具

在线对比 TOML 和 INI 配置文件,即刻找出差异。

原始文本1
修改文本1

What Is TOML Diff?

TOML Diff is a free online tool that compares two TOML or INI configuration files line by line and highlights every addition, deletion, and modification. It is ideal for reviewing changes to pyproject.toml, Cargo.toml, setup.cfg, .ini files, and any other key-value configuration format used across Python, Rust, and other ecosystems.

How to Use TOML Diff

  1. Paste your original TOML or INI file into the left panel.
  2. Paste the modified file into the right panel.
  3. Click Compare to see the highlighted differences.
  4. Use Split or Unified view to review changes.

Features

  • Line-by-line TOML and INI comparison
  • Works with pyproject.toml, Cargo.toml, setup.cfg, .ini and more
  • Split and unified diff views
  • Added / removed line counters
  • Copy diff result to clipboard

FAQ

Can TOML Diff compare pyproject.toml files?

Yes. TOML Diff works great with pyproject.toml, Cargo.toml, and any other TOML configuration file used in Python, Rust, or other ecosystems.

Does TOML Diff work with INI files?

Yes. The tool compares any text file line by line, so it handles INI files, .cfg files, and any other key-value configuration format.

Is my configuration data private?

Yes. All comparison logic runs entirely in your browser. Your config files are never uploaded to any server.