What the optimiser does
Each row of dark modules is merged into horizontal runs, and all runs are written as one path with M, h, v and z commands. The result is exactly the same shape.
Do this
One path, one background rect, viewBox set to the module grid so it scales cleanly to any size.
Not this
A 600-object group with pixel coordinates that produces seams at 37% zoom and cannot be recoloured in one click.
Try it in QR Studio
QR Studio Pro exports this kind of SVG, with your dot style and eye shapes as paths too, plus a print-ready PDF with bleed and crop marks.
Try it yourself
Not sure which format a print shop or a web developer wants? The export guide explains each one in a paragraph.