Turn inline SVG into files.

Move the icons and drawings pasted into a page as inline SVG into their own files, and keep the page short.

Since HTML Designer 26.0 for Mac, August 2026.

Move inline SVG to files

One command for every drawing.

Tools ▸ Extract Inline SVGs to Files (⇧⌥⌘S) saves each <svg> element of the page as an .svg file in the project’s assets folder and puts an <img> in its place.

Illustration with sample data: a page with two inline SVG icons on the left, and on the right the same page with two img tags and the files icon-cabin.svg and icon-trail.svg in the assets folder
Step by step

Clean up a page.

  1. Open the page
    Open the HTML file that carries the inline drawings.
  2. Extract
    Choose Tools ▸ Extract Inline SVGs to Files (⇧⌥⌘S).
  3. Check the result
    The files appear in assets/ in the tree, and the preview shows the same page.

What you get

Shorter pages, cacheable drawings.

Each file takes its name from the drawing’s id, or its first class, when it has one. The drawings become files you can edit on their own and the browser can cache.