Working with SVG in Inkscape
SVG in one paragraph
SVG (Scalable Vector Graphics) is an open W3C standard for vector artwork written as XML text. Browsers render it natively, search engines can read text inside it, machines and scripts can parse it, and you can open it in a text editor to see exactly what is there. Inkscape uses SVG as its working format, which is why files round-trip between the editor and the web without conversion.
Inkscape SVG versus plain SVG
When you save, Inkscape offers several flavors. Inkscape SVG is valid SVG plus extra namespaced attributes that remember editing state — layer names, Live Path Effect definitions, grid settings. Plain SVG drops those extras. Optimized SVG additionally reduces coordinate precision and strips metadata.
Practical rule: keep your master as Inkscape SVG so nothing you set up is lost, and export plain or optimized SVG for websites, cut-file customers and any tool that trips over unknown attributes.
Keeping files small
Delete unused defs (File → Clean Up Document), lower coordinate precision in the Optimized SVG dialog, avoid embedding bitmaps you do not need, and simplify over-noded paths with Ctrl+L. Text either needs the font installed everywhere the file goes, or should be converted with Path → Object to Path before delivery.
Fixing SVG files from elsewhere
Files bought from craft marketplaces or exported by other editors frequently need work before a machine accepts them: open paths that should be closed, strokes that must become outlines (Ctrl+Alt+C), nested groups five levels deep, or a clip path hiding half the artwork. Open the XML editor with Ctrl+Shift+X to see the real structure — it is faster than guessing. If a "SVG" download will not open at all, check whether it is actually a ZIP or PDF, as troubleshooting describes.
Because SVG is plain XML, some repairs are quicker outside a drawing program — spotting a stray display:none, deleting a broken <defs> block or search-and-replacing a colour value across dozens of shapes. On Windows, Notepad++ is a common choice for that kind of work, since it highlights XML syntax, folds long trees and edits large files without reformatting them. Save, reopen the file in Inkscape, and continue drawing.
SVG on the web
Inline SVG in HTML when you want CSS or script to reach inside it; reference it with an <img> tag when it is just a picture. Give the root element a viewBox so it scales, remove editor metadata, and consider serving it compressed — SVG is text and gzips extremely well.
SVG for cutting and engraving
Machines care about geometry, not appearance: closed paths, real-world dimensions, no strokes standing in for cut lines, no hidden duplicates. The specifics differ per machine, so see Cricut and Glowforge, and set your document units first in File → Document Properties.