Image
Compress SVG
Reduce SVG size without rasterizing it: editor metadata, comments and extra decimals go away and the file stays vector, editable and sharp at any size.
Input
File and output
Result
Compress SVG
The result will appear here.
API
Also available by API
Use multipart or base64 with a Syrel API key. API billing uses separate USD balance.
The web and API share the same processing function and limits pattern.
POST /api/v1/tools/svg-compress
Authorization: Bearer TU_API_KEY
Content-Type: multipart/form-data
file=@logo.svg
level=equilibrado
output_format=svg
filename=logo-ligero
FAQ
Frequently asked questions
Does the SVG still look the same after compressing it?
Yes. It is not rasterized or redrawn: what goes away is what the browser never uses, namely editor metadata, comments, indentation and IDs nothing points to, plus extra decimals in the coordinates. The file stays vector, scales without pixelation and still opens in Illustrator, Figma or Inkscape.
What is the difference between the levels?
The level decides how many decimals stay in the coordinates and how much gets cleaned. Light keeps 3 decimals plus IDs and descriptions; balanced keeps 2 and drops unused IDs; maximum keeps 1 and also drops titles and descriptions. On logos and icons the three look identical; if your SVG is a map or a floor plan with a huge viewBox, stay on light or balanced.
What is the SVGZ format and when should I use it?
SVGZ is the same SVG compressed with gzip: it is noticeably lighter and browsers open it, but only when the server sends the right header. Use it to store or send the file; if it goes to a website, a CMS or a cutting plotter, stick with SVG.
Are scripts inside the SVG removed?
By default, yes. An SVG can carry JavaScript and event handlers like onclick, which have no place in a logo or an icon; removing them stops a third-party file from running anything when opened. If your SVG is an animation or an interactive chart that needs that code, switch the scripts option to keep them.