b2KIT

SVG Editor

Edit SVG files visually with path manipulation, colors, transforms, and text editing.

Tested tool guide Tested browser tools Checked August 16, 2026

What SVG Editor does, with a checked example

An SVG file is XML that describes shapes, so this editor parses the markup, renders the result in a live drawing area, and writes every edit back into the document's attributes. Select any element - a circle, path, or text node - and change its fill, stroke, opacity, transform, or text content, and reshape path outlines by dragging their points. The deliverable is the updated SVG source, which you can copy or download. The usual surprise is the default fill: an element with no fill attribute is not transparent, it renders solid black until you set fill to none or a color.

Worked example

A concrete input and expected output from the current implementation.

Input

<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="red"/></svg>

Expected output

<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="blue"/></svg>

Changing the circle's fill in the editor rewrites exactly one attribute and serializes the rest of the document unchanged, so the center, radius, and viewBox are preserved and only the fill color differs in the exported markup.

How the result is produced

1

Parsing and re-rendering

The editor reads the SVG as a structured document, keeping the element tree and every attribute, and draws it in the page so you work against the actual vector rendering rather than against raw code. When you change a property, only that attribute is rewritten and the drawing refreshes; anything you did not touch keeps its original value in the exported markup.

2

Paths and text

A path's outline lives in its d attribute as a command sequence - M for moveto, L for lineto, C and Q for curves, A for arcs. The editor decodes those commands into points you can select and drag, and moving a point rewrites the command data and re-renders the curve. Text elements carry content plus font, size, and alignment attributes, and layout follows the SVG text model rather than HTML flow.

Good uses

  • Retinting an icon set: load the SVG, change fills and strokes on selected elements, and export updated markup instead of hand-editing dozens of attributes.
  • Fixing a logo or illustration path: drag anchor points to correct a distorted outline, then adjust the viewBox or the width and height to control how the drawing scales.
  • Adding labels or captions to a diagram SVG - text elements that need content, font, or alignment edits - without rebuilding the whole graphic.

Limits and checks

  • Font-dependent text: SVG text uses whatever fonts the viewing system has. If the file names a font your machine lacks, the editor substitutes another, so widths, wrapping, and glyph shapes may differ from the final destination.
  • Silent defaults: no fill attribute means black and no stroke means none. The exported file keeps the source's minimal markup, so it depends on the same defaults elsewhere; if the look matters, make the values explicit.
  • Canvas size is not output size: an SVG maps its viewBox onto its width and height attributes, so the drawing can render much larger or smaller in another viewer than it appeared in the editor, especially when width and height are absent.

Common questions

Why does my text look different in the editor than on the page where I use the SVG?

SVG text is drawn by whatever system displays it, using that system's fonts. The editor renders with the fonts installed on your machine; when the SVG names a font you do not have, a substitute is used and measurements change. Check the final appearance in the environment that actually has the intended fonts.

Why are my shapes solid black when I never set a color?

That is the SVG default, not a bug: the fill property's initial value is black and stroke defaults to none. An element with no fill attribute and no inherited style is drawn solid black. Set fill to none, or to the color you want, on the element or on a group that contains it.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools