SVG Editor
Shapes And Code, Side By Side
Paste SVG markup or start from a shape. This SVG editor lets you move and restyle it on a live canvas, then copy or download the clean markup. No sign-up, no uploads and nothing kept on any server.
- FreePrice
- FiveShapes
- Clean SVGOutput
- NoneUploads
SVG Editor
Paste or draw shapes, move and resize them, then save clean code
Nothing selected. Click a shape on the canvas, or choose it in the layers list.
Ready. A sample drawing is loaded. Paste your own SVG code below and press Load the code.
Run it on a test page before the live one
Keep a copy of your original code and try the result on a test page before you replace the live file. No automatic tool can see every way your site uses its code.
What An SVG Editor Does
This SVG editor allows you to edit vector graphics directly inside of your web browser. You can either paste SVG markup into the editor or begin by using a simple shape. Once you have added some elements to your canvas, you can adjust their positions, sizes and styles. As long as everything is running on your computer, the markup will remain on the page, and there will be no copies stored outside of your computer.
Editing the drawing takes a few steps. First, paste your SVG code or add a shape such as a rectangle, circle, line or text label. Next, click a part to select it and drag it into place, or pull its corner dot to change its size. In addition, you can set the fill and border colors, type exact numbers, and reorder the layers so the right part sits on top.
You need no account and there is no upload step, so a drawing is ready in a moment. Everything updates as you edit, which means you see the final result before you save it. When it looks right, copy the markup or download it as an SVG file. Then drop it into a page, an icon set or a design file.
This SVG editor suits anyone who works with vector graphics. For example, developers clean up an icon, designers tweak a logo color, and writers adjust a small diagram without a heavy design app. Because the output is plain SVG text, it stays sharp at any size. It also stays readable as code when you paste it into a project.
One Drawing, Shapes And Code
The illustration at the bottom of this page illustrates the drawing canvas (left), and the clean SVG markup that is created by the editor for the canvas (right).
Select a shape from the canvas, and a dotted line will mark the selected area. Then, either move or restyle the selected shape and the corresponding markup will update automatically. This allows you to maintain synchronization between the code and the canvas.
Select, Drag, Then Fine-Tune
Click a shape on the canvas, or choose it in the layers list. A dashed box marks it, and the dot in its corner resizes a rectangle, circle, ellipse, line, text or image. Paths and groups move by drag, and you size them in their code.

The side panel sets the fill, the border and the opacity. Below it, every attribute of the shape sits in its own field, so you can type an exact number. In addition, the arrow keys nudge the selected shape, and Undo steps back through your recent changes.
How the SVG Editor Works, Step by Step
This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.
Editing an SVG, step by step
Six steps, and the code never leaves the tab.
Paste your markup or add a shape
When creating a graphic using SVG, you can either paste the existing SVG code into the editor and hit "Load the Code," or you can begin from scratch by adding a rectangle, circle, ellipse, line or text label to the canvas.
Click any part of the drawing on the canvas
Click a shape to pick it out. A dashed box and a corner dot appear, so you always know which part is active.
Move and resize it
Drag the shape to a new spot, or pull the corner dot to change its size. Hold Shift to keep the proportions of a rectangle, an ellipse or an image.
Restyle the fill and stroke
Set a fill color, add a border, change its width, and adjust the opacity. The canvas redraws as you change a value.
Reorder the layers
Bring Forward and Send Back allow you to rearrange shapes within your Layer Stack so that the order of the shapes in the stack matches how you want the viewer to perceive them.
Copy the SVG code or save the file
The user can either copy the cleaned markup to their clipboard or save the markup as an SVG file. Because nothing will be uploaded to a remote server, the user’s code remains completely confidential.
Reasons to edit SVG inside the browser
Three reasons a browser editor beats a heavy design app for this job.
See the shape and the code at once
SVG is a type of vector graphic that’s created with text. This means it’s simple to change using a text editor; but, it can be difficult to visualize. The reason for this difficulty is that the numbers used to define each shape cause the entire shape to move if you make a slight adjustment to any single number. In practical terms, this editor allows you to see the image and the numbers at the same time. So, when you alter a number, the changes appear right away.
Your code stays private
Many SVG editors will need you to upload your files to their servers before they give you with a URL to download your edited file. In contrast, this editor allows you to make your drawing directly onto your device. So, any private icon or unreleased logo you are editing with this tool will remain confidential, and you may edit a draft for a client without fear of losing it.
The output is clean, sharp SVG
Output from editing is as important as the edit. The output is pure SVG text, so, can be added to a website or into a design program without a plugin. So, the resulting file will maintain its sharpness regardless of size, load quickly, and read easily once opened by a developer.
How the editor works
Three factors work out the final result. You should know each factor before saving.
- Every click maps to a shape The editor will display your SVG markup as a visual representation and allow you to interact with each shape by clicking on it. As the shapes are defined using coordinate systems, changing a portion of a shape will only change that portion’s coordinates; all other portions of the shape will remain unchanged. Also, if you need to adjust a property of a shape but cannot do so precisely through dragging, the panel will list the available properties of the selected shape for manual entry.
- Layer order decides what shows The layer order decides what sits on top. SVG paints shapes in the order they appear, so a shape later in the list covers the ones before it. Therefore, moving a part up or down the stack changes what a reader sees first. A small reorder can fix a hidden edge or a buried label.
- The export stays clean and portable The exported code will have clean markup. While you are working on your design, the editor produces clean code and when it is finished, the code will be written in a readable way (as an SVG document), not as one single line. In addition, the file contains only the shapes you’ve created, and can so be viewed with any web browser and needs no other software to be displayed.
Common SVG editing mistakes to avoid
All of them make the drawing look like it should be, but they don’t work correctly. It can take a while to notice, right here.
Losing the viewBox
The use of a viewBox is essential to avoid problems with scaling or cropping of the image on the web page. So, it is recommended to maintain the viewBox, and only adjust the width/height if you need a fixed size.
Scaling one axis only
The shape being elongated on one end appears to be damaged. Since the vector will stretch as much as desired, hold down the "Shift" key as you adjust the size of the shape, to make sure that the shape maintains its proper dimensions.
Leaving a fill on a line path
A shape that is intended to act as a boundary will flood the entire area it encompasses if it has a fill. So, check No Fill if the shape is to be used as a boundary.
Editing a copy and losing the original
The editor works on the code you paste, so the source file stays safe. Still, keep a backup of the original, so you can compare the two versions.
Forgetting the stroke width
The line of the border disappears when viewed on a very high resolution monitor. When vector images are scaled to larger sizes, be sure to verify how thick the border is at those larger sizes before submitting your file.
Dropping the accessibility label
A non-decorative image can be left without a title; but, a meaningful image needs one. So, you should include a brief title in the HTML markup for the image. This will allow screen readers to find the graphic.
SVG editor frequently asked questions
Does the SVG editor upload my file?
No. The whole drawing is held in your browser. So your markup never reaches a server, because the editor does not need one to edit the art.
What is SVG?
SVG stands for Scalable Vector Graphics, a text format that describes parts with numbers instead of pixels. Since the artwork is vector, it stays crisp at every size. It also reads as code, which makes it easy to edit and small to download.
Do I need to upload an SVG file?
No. The editor accepts pasted markup, so you can simply open the file where your SVG resides, select the SVG text, copy it, and then paste it into the editor. At that point, you will be editing on the canvas, but the original SVG file located on your hard drive will remain unchanged.
Which shapes can I add to the drawing?
You will have the ability to create simple graphics using a rectangle, circle, ellipse, line and text labels. Most icons and diagrams are created with these shapes, thus giving you the capability to create simple graphics without having to use a full design suite.
Can I edit the path of a complex shape?
Yes. The panel displays the actual attribute data, so you can change a path name using your hands. Usually, use the canvas to move items quickly and the attribute box if you need to input an exact value.
Can I change the fill and stroke colors?
Yes. The editor writes the color values for each part into the markup. You define a fill, a border color and a border width for each part. You can also select No fill, which would create an outline icon.
Does the editor keep my code clean?
Yes. It saves clean attributes during the time that you make edits. So, when you copy your markup from the program, it will remain easy to read instead of being a continuous string of text. But, since the program cannot retrieve external files or scripts, the exported version of your drawing will only include what you have created.
Does the SVG editor cost anything?
Yes, exactly. There are no sign-ups or trials required, and we do not watermark any of the images you create. Since our software is running directly within your web browser, there are no hosting costs that need to be passed on to you. All features remain for free.
Does it work offline?
That’s correct. Once the page is loaded, each time you make an edit, those edits occur locally on your computer. As long as you don’t disconnect from the internet, you can take advantage of the ability to edit offline, since the editor does not contact a remote server.
Is it possible to download the output as a file?
Yes. The output is pure SVG text, which means that you can either copy it to your clipboard or save it as a file. If you save the file, then when you open it with a web browser, it will drop directly into a web project.
Is it possible to turn the SVG into a PNG?
You shouldn’t be here. This editor modifies vector code, and raster outputs are produced by converters. To create a fixed size image for a document or post, use the "SVG to PNG" page.
Can I edit a logo path?
Yes, if you have the SVG source file. The logo is comprised of multiple components (or parts), which allow for the repositioning and recoloring of each component and/or changing the number of components. This program cannot change a logo that was imported as a single image file, because there is no shape info included with that type of file.
Can I set the artboard size?
Yes. The fields under the canvas hold the width, height and viewBox, so you can change them. In practice, keep the viewBox and adjust the size only when you need a fixed one.
Does the editor store my drawing?
No. There are no servers, nor is there any form of local storage that will retain your work, so your work does not survive the session. If you close the browser tab, your work will be deleted. So, before exiting the webpage, either copy or save your work.
Will the SVG editor work on my phone?
Yes. The page adapts to a small screen, so you can edit on a phone or tablet. However, fine drag work is easier on a desktop, so a phone suits a quick color or size change.
Can I undo an edit I made by mistake?
Yes. The editor has a small log of your changes, so Undo reverses the steps taken by the user if they made an error in moving around. This log only contains the steps made during the present session.
Is the SVG safe to paste into a page?
That depends on the SVG file itself. Some SVG files carry scripts, event handlers or outside links, so the editor removes those parts and keeps the drawing. Then it tells you how many parts it took out.
Can I reorder the shapes?
Yes. SVG paints parts in their order, so moving a part up or down the layer list changes what covers what. Put the background part first and the labels last, so every part stays visible.
Is a watermark added by the editor?
No. Your export is a clean version of your drawing as a plain SVG file. The editor will not add anything, or even brand your drawing since all the editor does is write the elements (parts), colors, and text that you have created.
Can I group a few shapes together?
The items in your file are a single group. This group is represented by a single layer; so, you can choose the entire group, move the group, and change the color of the group at once. Since the editor does not create new groups, if you would like to group certain parts together, you must use a tag around those parts in your code.
Does the editor track me or read my markup?
No, your code will never be transferred to another location, nor does an analytics program access it. So, the drawing is created on your computer/device; there is nothing from your file that leaves the website.
Can I use the result in a website?
Yes. The export is plain SVG, so it drops into a page as an image or as inline markup. Inline SVG lets you style and animate the parts with CSS, while an image tag keeps the page markup shorter.
More tools for images and vector files
A few pages the same job usually leads to.
- SVG to PNG Converter
Export the finished vector as a fixed-size bitmap.
- Image Converter
Switch images between PNG, JPG, WebP and more.
- Image to Base64 Converter
Embed a small image straight into your markup.
- Color Scheme Generator
Build a palette for the fills and the strokes.
- ASCII Art Generator
Turn a picture into text art built from characters.
Edit your first SVG now
Open the SVG Editor, paste your markup (or insert a shape) into the editor, position and style the object on the canvas. Once you are satisfied with the result, either copy the clean markup or download the SVG file. Your data never leaves your device, right here.