SVG Editor


The file is 340KB and half of it is layer names from a 2019 Illustrator export. Most online SVG editors open it only if you upload it first. This one also takes the code: paste the markup out of Figma or a React component and start moving shapes in the tab.

What follows is the order we work in on a client file: what is worth pasting, what to delete first, and what the export will and will not fix.

untitled.svg local

Start with an SVG

Drop a file anywhere in this panel, or start from scratch. Everything stays in your browser.

Paste SVG code instead
Drop to open
100% 0, 0 No selection Nothing leaves your device

How to use it
  • Open: drop a file, paste SVG code, or start a blank 512 x 512 artboard.
  • Select: click a shape, or pick its row in Layers – show, lock, rename, duplicate, delete.
  • Move: drag, pull a corner to scale, use the rotate handle, or type x, y, width, height and angle.
  • Paint: fill, stroke colour, stroke width. No stroke sets width to 0 and keeps the colour.
  • Export: copy or download the cleaned SVG, or a 2x PNG. Undo covers 60 steps.

Nothing to install, nothing to hand over

Parsing, transforms, layers and export all run in the browser. No upload endpoint and no account, so the client logo you are fixing at 11pm never lands on someone else’s disk. It also runs where you cannot install anything: an agency laptop, a borrowed one in a meeting room.

The trade is memory. A 40MB Illustrator export with a few hundred thousand nodes strains a browser. Icons, logos and most UI artwork open instantly. Close the tab and the work is gone, which is why undo holds 60 steps.

What people paste into it, and why that is rare

Uploading is the obvious path. Pasting markup is the one that saves time, and almost no browser editor offers it.

The frame Figma gives you with Copy as SVG

Figma groups every layer and wraps the frame in a clip path, so a 300px card arrives with six groups and a mask nobody drew. Layers then shows what is really there – usually two groups you can delete and one worth renaming before a developer sees it.

An icon trapped inside a component

A 24px icon in a .tsx file carries className, currentColor and aria-hidden. Select the <svg>...</svg> block alone and paste it. Recolour while a real colour is visible, then put currentColor back before it returns to the codebase.

A logo exported years ago

Old Illustrator exports arrive without a namespace, with id=”Layer_2″ on a group and data-name on eight paths. The editor injects the missing xmlns so shapes draw instead of failing silently, drops metadata and every data-* attribute, removes empty groups, and folds simple class rules into attributes, so the fill you set is the fill you see.

A downloaded hero illustration

Illustration packs often ship a 1600px canvas padded for layout. Paste it, fit the artboard to the art, type the size your slot needs – one SVG for three breakpoints instead of three PNG exports.

Cleaning a real file, in six steps

  1. Paste the code or drop the file. The status line reports what opened: “3 top layer(s), 7 objects” is a healthy icon, 400 layers needs pruning.
  2. Read Layers before the canvas. Underline paths and duplicate groups are where the weight hides.
  3. Delete what cannot render. Hidden leftovers still ship in the code.
  4. Fit the artboard, then type the final size. Padding left in a viewBox makes a 32px icon look like a postage stamp.
  5. Set fill and stroke. If it leans on currentColor, set a real colour so you can judge it.
  6. Watch the byte count. 340KB to 41KB means it worked; barely moving means you cut the wrong things.

Layers, exact numbers, and the stroke that will not go away

Layers is a flat list, depth shown by indentation. Each row selects, renames, hides, locks or deletes one shape. Deliberately less than a tree: under a few hundred objects, scanning a list beats scrolling a tree. Zoom runs 25 to 400 percent, fit and fullscreen a click away.

Transforms behave like position fields: drag, then correct the number. Type x, y, width, height or rotation and the shape obeys – which matters when a logo must sit at 48px with 16px clearance and dragging lands on 47.6. Inside a group that already carries a transform, both still act on the child.

Stroke width 0 is not the same as removing a stroke. No stroke sets the width to 0 and keeps the colour and the attribute, so undo or a retyped width brings the outline back. Deleting it outright is a one-way door once you export and forget. Set zero, look, decide.

What the export actually rewrites

Export does a fixed set of things, and none of them rounds a coordinate or smooths a curve. Editor attributes go. Width, height and viewBox are rewritten to the artboard you set, so a padded canvas stops leaking into the build. Whitespace collapses, comments drop, unreferenced defs and ids are removed, and six-digit hex shrinks to three where the digits allow – rgb(0, 0, 0) becomes #000. All four options ship on by default.

That is where the weight goes. Not in your paths, but in layer names, unused stops and ids nothing reads. A running count sits beside the code, so you watch 340KB become 41KB as you work.

Not on the list: curve simplification, rounding decimals, converting text to outlines. They save a few percent and change the drawing. Run those after export – the passes we check are in the SVG optimization guide.

Where this stops and Illustrator starts

No node editing, no booleans, no tracing, no gradient stops, no path offset. If the shape itself is wrong, this tool wastes your time.

Rule of thumb: colour, size, position, order, visibility and text content stay in the browser. A new curve, a merged shape or a cut-out goes to a vector suite, and comes back here for the cleanup pass. Print belongs to a desktop application either way – CMYK, spot colour, bleed. SVG is a screen format and this editor treats it as one.

Three questions we get about it

Is my file uploaded anywhere?

No. There is no upload endpoint. The browser’s parser reads the markup and the artwork stays in memory until you close the tab. The page carries its usual analytics; nothing sends the file.

Do gradients, masks and clip paths survive?

Intact in and out, and you can move, scale or recolour whatever uses them. What you cannot do is drag a gradient stop or redraw a mask path. Neither is a reason to skip the tool for a recolour.

Can I use the output commercially?

Yes, and the tool claims nothing over your artwork. The original licence still applies: a bought icon set stays under its licence, and a font not licensed for the web still is not, even when the glyphs are paths. Check the font, not the editor.

Worth reading next

The other three browser tools sit in the Design Tools hub: gradient generator, image studio, palette extractor. No account needed.

Flat JPEG instead of a path? The raster side is covered in our web design and Photoshop tutorials.

Advertisement