PrivTab

Tối ưu SVG

Tối ưu tệp SVG

Chạy trong trình duyệt · Không tải lên

Hiện tại công cụ này và hướng dẫn trên trang vẫn bằng tiếng Anh. Nó hoạt động y như vậy: mọi thứ chạy trong trình duyệt của bạn.

Drag & drop SVG files here

or

One or many .svg files from Illustrator, Figma, Inkscape, Sketch and others

Your files stay on your device. Nothing is uploaded.

Or paste SVG code

What to clean

  • Không có gì rời khỏi thiết bị của bạn
  • Máy chủ không giới hạn kích thước
  • Không đăng ký, không hình mờ
  • Miễn phí

How to optimize an SVG

  1. Choose your SVG files, or paste SVG code.
  2. Pick what to clean and how many decimals to keep. Results update immediately.
  3. Compare the before and after previews, then download or copy the code.

What it removes

  • Comments, the XML declaration and the DOCTYPE.
  • Metadata and editor data from Illustrator, Inkscape, Sketch and others.
  • Scripts and on… event handlers, which makes files safer to share.
  • Empty groups, unused namespaces and extra spaces.
  • Extra decimals in coordinates (2 decimals is invisible in practice).

Good to know

  • Comments starting with "!" (usually licenses) are kept.
  • The title and description are kept by default, because screen readers use them.
  • This tool makes safe clean-ups. It does not merge shapes or rewrite paths the way advanced optimizers like SVGO can, so very complex files may shrink less.
  • Always check the "After" preview, especially with 1 decimal.

Your images stay on your device

Everything happens in your browser. Your images are never uploaded, so private photos and client work stay with you.

Câu hỏi thường gặp

Will my SVG look different?

With the default settings, no. Removing more decimals (1 decimal) can slightly move small details; the preview shows the result.

Can I optimize many files at once?

Yes. Add as many SVG files as you like and download them all as a ZIP.

Are my files uploaded?

No. The SVGs are read and cleaned in your browser.