Skip to content

SVG Compare

About the SVG Compare

Compare two SVG files side by side, overlaid or as a pixel difference, and see what changed in their structure, colors, ids and code. Runs in your browser; nothing is uploaded.

How to use it

Examples

Questions

Are my files uploaded?
No. Both files are drawn and compared in your browser. The pictures are drawn from sanitized copies, so scripts and outside references in either file are ignored.
How are differing pixels decided?
Both SVGs are drawn on a white square of the same size. A pixel counts as different when any color channel differs by more than about 10%. Small anti-aliasing differences at edges stay below that, but a very thin line that moves slightly will show.
What if the two SVGs have different shapes?
Each is centered in the same square, and the tool tells you. The empty margin of the narrower one then counts as a difference.
Why does the code diff ignore spacing?
Both files are re-indented the same way first, so only real changes show. A file that cannot be parsed is compared as written.
Can it compare files that are not SVG?
No. For raster images, use an image comparison tool.

Free and runs in your browser. Sign in only if you want to save your work.