Skip to content
AlwaysReach

Compare files

Text Compare & JSON Diff

Find every added, removed or changed line

Your files stay on this device. The diff runs in your browser.

+3 added · −2 removed · 4 unchanged

Differences

11 {
2− "holes": 4,
2+ "finish": "zinc",
3+ "holes": 6,
34 "material": "steel",
45 "part": "bracket",
5− "rev": "A"
6+ "rev": "B"
67 }

Something off, or a tool you wish existed? Send feedback.

Why a line diff for CAD and JSON

Put Ø20 H7 on the left and Ø20 H8 on the right, with drill 6.8 on the next line of both. The first line is removed and added. The second line matches. A one-character change still replaces the whole line.

A CAD revision, a STEP text export, a JSON payload, or a quote can hide one changed line. Green is added and red is removed. STEP (ISO 10303-21) is text, so two exports show which entities were added or removed. JSON mode pretty-prints both sides and can sort keys, so a reshuffled object is not treated as a rewrite.

The comparison is line by line. Added and removed lines can be copied as a unified diff. It is not a geometric check of a solid: two STEP files can differ in entity numbering while the part is the same shape.

STEP (ISO 10303-21) is text. Two exports of the same part often differ in entity IDs even when the solid is unchanged — that is expected. For geometric size and weight use the STEP model weight calculator. Pretty-print JSON first with the JSON formatter if you only need one document tidied.

Frequently asked questions

Can I compare STEP or CAD text dumps?+

Yes. STEP/STP files are text (ISO-10303-21). Open two revisions as files or paste them. The diff is line-based, so you will see added or removed entities. It does not do a geometric 3D compare.

Can I compare two STEP files?+

Yes, as text. A STEP file (ISO 10303-21) is lines of text, so added and removed lines are marked. Entity numbers often change when the solid did not, and matching lines do not prove the geometry is the same. This is not a 3D compare. For size and weight, open the STEP file weight calculator.

How does JSON compare work?+

JSON mode parses both sides, optionally sorts keys, pretty-prints, then diffs the lines. That way a reordered object does not look like a huge change. Invalid JSON falls back to a plain text diff.

Are the files uploaded?+

No. Comparison runs in your browser. Large files stay on the device; only the first few thousand lines of the visual diff are drawn, but you can copy the full unified diff.

Related tools

Other calculators and viewers on AlwaysReach.