Skip to content
건강 앤 골프 · Tools
KO EN

SVG Optimizer — Shrink SVG Files, Free

Use SVGO to simplify SVG code and numeric representations while keeping a vector output. This can reduce the structure of a web icon or drawing, but visual equivalence still needs checking.

    Decimal places kept in path data. Two or three is safe for icons; go higher for detailed illustrations.

    Turn this off if CSS or JavaScript on your page targets elements inside the SVG by ID.

    Makes the SVG scale to its container. The viewBox is always kept, so it never stops scaling.

    How to use this tool

    Choose numeric precision, multipass optimization and ID cleanup settings. If external CSS or scripts refer to SVG IDs, cleanup can affect those connections, so test the actual embedding context as well as the file alone.

    Results and examples

    Compare file size, curves and line positions in the output. Lower precision can visibly affect small shapes, and removing explicit dimensions can change how the surrounding page determines display size.

    Worked example

    Optimise a simple icon at coordinate precision three and compare curves and file size. If page CSS targets #logo, disable ID shortening and retest the SVG on its real page.

    Limitations

    • Low coordinate precision can alter small curves and detailed geometry.
    • ID changes and dimension removal can affect surrounding CSS, scripts and layout.

    Fields

    FieldGuidance and constraints
    Coordinate precisionDecimal places kept in path data. Two or three is safe for icons; go higher for detailed illustrations. · Accepted range: 0–6 · Input step: 1
    Run repeatedly until the size stops fallingCheck the unit and format displayed beside this field.
    Shorten and remove unused IDsTurn this off if CSS or JavaScript on your page targets elements inside the SVG by ID.
    Drop width and height attributesMakes the SVG scale to its container. The viewBox is always kept, so it never stops scaling.

    Data handling

    Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.

    Sources

    Frequently asked questions

    Is viewBox removed too?

    The configuration disables viewBox removal.

    Does it produce a transparent PNG?

    No. Output remains optimised SVG text.

    Related tools

    You do not need to start over. Continue with the tool that fits your next step.

    error: 우클릭 할 수 없습니다.