How to export a selection to SVG using Inkscape

  1. Select the object(s) you want to export.
  2. Copy it to the clipboard (Ctrl+C).
  3. Open a new drawing window (Ctrl+N).
  4. Paste the clipboard on the new page (Ctrl+V).
  5. Hit Shift+Ctrl+D to open the document properties panel.
  6. Open the Resize page to content… tab and hit the resize page to drawing or selection button
  7. Save the document (Shift+Ctrl+S) as an SVG file. Select a suitable format:
    1. Inkscape SVG for further editing, or
    2. Optimized SVG for use on a web page.