SVG Optimization

  1. Make artboard as small as possible.
  2. Make compound paths where possible.
  3. Ungroup everything.
  4. Save As…
    save as
    svg options
  5. Open in editor. Remove all attributes in <svg> except xmlns and viewBox.

    <svg xmlns="..." viewBox="...">
  6. SVG Optimizer
    Decimal places: 1
    ☑ Remove IDs
    ☐ Convert styles to CSS
    ☑ Remove unnecessary whitespace

comments powered by Disqus