SVG 壓縮

透過刪除多餘內容和取整數字來縮小 SVG 檔案。

在您的瀏覽器中執行。您的檔案不會離開裝置。 瞭解如何驗證

…

使用方法

  1. 1
    填寫各項

    輸入數字或選擇所需選項。

  2. 2
    檢視結果

    更改任何值時,答案會立即更新。

  3. 3
    使用結果

    複製結果或記下來。不會向任何地方傳送任何內容。

About this tool

Paste the code of an SVG and the tool removes comments, the XML header, editor metadata from Inkscape and similar apps, and extra spaces. It can also round long decimal numbers to two or three places, which often saves a lot. Compare the result with the original before using it.

When to use it

Make SVG files smaller by removing extras and rounding numbers.

Tips

Check the result visually.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

Tips

Remove editor metadata, round coordinates to one or two decimals and delete unused definitions. Keep a copy of the original in case a shape changes.

獲得最佳結果的提示

在相信結果之前先檢查每一個輸入項,因為一個錯誤的數字就會改變整個答案。請使用工資單、賬單、證書或合同上的準確數字,並記下計算日期。稅率、門檻和規則會不時變化,因此對於稅費和法律事務,請將結果視為估算,並與本頁註明的官方來源核對。您可以嘗試任意多個方案;不會儲存或傳送任何內容,重新整理頁面會清空輸入。

要點

將此計算器嵌入您的網站

複製此程式碼,即可在您的頁面上顯示計算器。包含指向 shobfree.com 的連結。

常見問題

Will my icon look different?

Rounding to two decimals is usually invisible for icons. Choose three decimals for fine detail or turn rounding off.

Can I upload an SVG file?

Open the file in a text editor and paste its code here.

Is the image changed?

Only metadata and precision are reduced.

How much can it save?

Often 20 to 60 percent.

Does minifying change the look?

It should not, but check the result at a large size.

完全免費無費用,無需註冊
檔案保持私密一切都在您的瀏覽器中執行
用您的語言輕鬆使用提供多種語言